linux-stable/drivers/counter
William Breathitt Gray ea434ff826 counter: stm32-timer-cnt: Provide defines for slave mode selection
The STM32 timer permits configuration of the counter encoder mode via
the slave mode control register (SMCR) slave mode selection (SMS) bits.
This patch provides preprocessor defines for the supported encoder
modes.

Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/ad3d9cd7af580d586316d368f74964cbc394f981.1630031207.git.vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-10-17 10:52:46 +01:00
..
104-quad-8.c counter: 104-quad-8: Describe member 'lock' in 'quad8' 2021-08-09 20:24:38 +01:00
counter.c counter: Rename counter_count_function to counter_function 2021-08-09 20:17:36 +01:00
ftm-quaddec.c counter: Rename counter_count_function to counter_function 2021-08-09 20:17:36 +01:00
intel-qep.c counter: Rename counter_count_function to counter_function 2021-08-09 20:17:36 +01:00
interrupt-cnt.c counter: Rename counter_count_function to counter_function 2021-08-09 20:17:36 +01:00
Kconfig counter: Add support for Intel Quadrature Encoder Peripheral 2021-06-03 18:24:14 +01:00
Makefile counter: Add support for Intel Quadrature Encoder Peripheral 2021-06-03 18:24:14 +01:00
microchip-tcb-capture.c counter: Rename counter_count_function to counter_function 2021-08-09 20:17:36 +01:00
stm32-lptimer-cnt.c counter: stm32-lptimer-cnt: Provide defines for clock polarities 2021-10-17 10:52:29 +01:00
stm32-timer-cnt.c counter: stm32-timer-cnt: Provide defines for slave mode selection 2021-10-17 10:52:46 +01:00
ti-eqep.c counter: Rename counter_count_function to counter_function 2021-08-09 20:17:36 +01:00