[PATCH v2 0/7] FlexTimer Module Quadrature decoder counter

From: Patrick Havelange
Date: Wed Mar 06 2019 - 06:12:29 EST


This patch serie is to be applied on top of
https://patchwork.kernel.org/project/linux-iio/list/?series=147
(a more recent version of the serie is available here :
https://gitlab.com/vilhelmgray/iio/tree/generic_counter_v10 )

Main changes in v2:
The code is a bit simpler, thanks to more use of devm_* functions.
The polling/32bit signed version has been dropped, as not needed and
no other driver is doing that.


Patrick Havelange (7):
include/fsl: add common FlexTimer #defines in a separate header.
drivers/pwm: pwm-fsl-ftm: use common header for FlexTimer #defines
drivers/clocksource: timer-fsl-ftm: use common header for FlexTimer
#defines
dt-bindings: counter: ftm-quaddec
counter: add FlexTimer Module Quadrature decoder counter driver
counter: ftm-quaddec: Documentation: Add specific counter sysfs
documentation
LS1021A: dtsi: add ftm quad decoder entries

.../ABI/testing/sysfs-bus-counter-ftm-quaddec | 16 +
.../bindings/counter/ftm-quaddec.txt | 18 +
arch/arm/boot/dts/ls1021a.dtsi | 28 ++
drivers/clocksource/timer-fsl-ftm.c | 15 +-
drivers/counter/Kconfig | 9 +
drivers/counter/Makefile | 1 +
drivers/counter/ftm-quaddec.c | 356 ++++++++++++++++++
drivers/pwm/pwm-fsl-ftm.c | 44 +--
include/linux/fsl/ftm.h | 88 +++++
9 files changed, 519 insertions(+), 56 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-bus-counter-ftm-quaddec
create mode 100644 Documentation/devicetree/bindings/counter/ftm-quaddec.txt
create mode 100644 drivers/counter/ftm-quaddec.c
create mode 100644 include/linux/fsl/ftm.h

--
2.19.1