linux/drivers/counter
Kamel Bouhara 106b104137 counter: Add microchip TCB capture counter
This drivers allows to use the capture mode of the Timer Counter Block
hardware block available in Microchip SoCs through the counter subsystem.

Two functions of the counter are supported for the moment: period
capture and quadrature decoder. The latter is only supported by the
SAMA5 series of SoCs.

For the period capture mode a basic setup has been chosen that will
reset the counter each time the period is actually reached. Of course
the device offers much more possibilities.

For quadrature mode, both channel 0 and 1 must be configured even if we
only capture the position (no revolution/rotation).

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-07-20 13:04:40 +01:00
..
104-quad-8.c counter: 104-quad-8: Add lock guards - generic interface 2020-04-19 17:50:00 +01:00
counter.c counter: Simplify the count_read and count_write callbacks 2019-10-18 19:47:27 +01:00
ftm-quaddec.c counter: Simplify the count_read and count_write callbacks 2019-10-18 19:47:27 +01:00
Kconfig counter: Add microchip TCB capture counter 2020-07-20 13:04:40 +01:00
Makefile counter: Add microchip TCB capture counter 2020-07-20 13:04:40 +01:00
microchip-tcb-capture.c counter: Add microchip TCB capture counter 2020-07-20 13:04:40 +01:00
stm32-lptimer-cnt.c counter: Simplify the count_read and count_write callbacks 2019-10-18 19:47:27 +01:00
stm32-timer-cnt.c counter: stm32-timer-cnt: remove iio headers 2020-02-21 10:02:15 +00:00
ti-eqep.c counter: Simplify the count_read and count_write callbacks 2019-10-18 19:47:27 +01:00