Counter updates for 6.10

Three key updates of note herein:
   - Introduction of the COUNTER_COMP_FREQUENCY() macro to simplify
     creation of "frequency" Counter extensions
   - Three additional Signals (Clock, Channel 3, and Channel 4) are
     supported for the stm32-timer-cnt
   - Counter events support added for the stm32-timer-cnt
 
 There are also some miscellaneous cleanups and improvements, such as
 constifying Counter structures, resolving a kernel-doc description
 warning, and converting platform_driver remove callbacks to remove_new.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZho6sQAKCRC1SFbKvhIj
 K13xAQDyn1p8SorzK92ZE7c/n3woDW+AdrphnrRFarbqi1AuQAD+OOO1PZsMvjRW
 wS8J0eAPP4Zk1mOj6WQ6ou71KF5xhAA=
 =mQ4V
 -----END PGP SIGNATURE-----

Merge tag 'counter-updates-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter into char-misc-next

William writes:

Counter updates for 6.10

Three key updates of note herein:
  - Introduction of the COUNTER_COMP_FREQUENCY() macro to simplify
    creation of "frequency" Counter extensions
  - Three additional Signals (Clock, Channel 3, and Channel 4) are
    supported for the stm32-timer-cnt
  - Counter events support added for the stm32-timer-cnt

There are also some miscellaneous cleanups and improvements, such as
constifying Counter structures, resolving a kernel-doc description
warning, and converting platform_driver remove callbacks to remove_new.

* tag 'counter-updates-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter:
  counter: ti-ecap-capture: Utilize COUNTER_COMP_FREQUENCY macro
  counter: ti-eqep: Convert to platform remove callback returning void
  counter: ti-ecap-capture: Convert to platform remove callback returning void
  MAINTAINERS: Update email addresses for William Breathitt Gray
  counter: stm32-timer-cnt: add support for capture events
  counter: stm32-timer-cnt: add support for overflow events
  counter: stm32-timer-cnt: probe number of channels from registers
  counter: stm32-timer-cnt: introduce channels
  counter: stm32-timer-cnt: add checks on quadrature encoder capability
  counter: stm32-timer-cnt: add counter prescaler extension
  counter: stm32-timer-cnt: introduce clock signal
  counter: stm32-timer-cnt: adopt signal definitions
  counter: stm32-timer-cnt: rename counter
  counter: stm32-timer-cnt: rename quadrature signal
  counter: Introduce the COUNTER_COMP_FREQUENCY() macro
  counter: constify the struct device_type usage
  counter: make counter_bus_type const
  counter: linux/counter.h: fix Excess kernel-doc description warning
This commit is contained in:
Greg Kroah-Hartman 2024-04-13 12:39:47 +02:00
commit 3f58b0eb6c
7 changed files with 485 additions and 41 deletions