[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190306111208.7454-1-patrick.havelange@essensium.com>
Date: Wed, 6 Mar 2019 12:12:01 +0100
From: Patrick Havelange <patrick.havelange@...ensium.com>
To: William Breathitt Gray <vilhelm.gray@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Shawn Guo <shawnguo@...nel.org>, Li Yang <leoyang.li@....com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Thierry Reding <thierry.reding@...il.com>,
Esben Haabendal <esben@...bendal.dk>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-pwm@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
Jonathan Cameron <jic23@...nel.org>
Cc: Patrick Havelange <patrick.havelange@...ensium.com>
Subject: [PATCH v2 0/7] FlexTimer Module Quadrature decoder counter
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
Powered by blists - more mailing lists