| From: |
| Kamel Bouhara <kamel.bouhara-AT-bootlin.com> |
| To: |
| William Breathitt Gray <vilhelm.gray-AT-gmail.com>, Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>, Nicolas Ferre <nicolas.ferre-AT-microchip.com>, Alexandre Belloni <alexandre.belloni-AT-bootlin.com>, Ludovic Desroches <ludovic.desroches-AT-microchip.com>, linux-arm-kernel-AT-lists.infradead.org |
| Subject: |
| [PATCH 0/3] Atmel TCB capture driver |
| Date: |
| Mon, 6 Apr 2020 17:53:17 +0200 |
| Message-ID: |
| <20200406155320.1291701-1-kamel.bouhara@bootlin.com> |
| Cc: |
| Thomas Petazzoni <thomas.petazzoni-AT-bootlin.com>, linux-input-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-iio-AT-vger.kernel.org, Kamel Bouhara <kamel.bouhara-AT-bootlin.com> |
| Archive-link: |
| Article |
Hello,
Here is a new counter driver to support Atmel TCB capture devices.
Each SoC has two TCB blocks, each one including three independent
channels.The following series adds support for two counter modes:
increase and quadrature decoder.
As for the atmel clocksource and pwm, the counter driver needs to fill
some tcb capabilities in order to operate with the right configuration.
This is achieved in first patch of this series.
Please feel free to comment.
Cheers,
Kamel Bouhara (3):
ARM: at91: add atmel tcb capabilities
dt-bindings: counter: atmel-tcb-capture counter
counter: Add atmel TCB capture counter
.../bindings/counter/atmel-tcb-capture.yaml | 35 ++
drivers/counter/Kconfig | 11 +
drivers/counter/Makefile | 1 +
drivers/counter/atmel-tcb-capture.c | 388 ++++++++++++++++++
include/soc/at91/atmel_tcb.h | 3 +-
5 files changed, 437 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/counter/atmel-tcb-capture.yaml
create mode 100644 drivers/counter/atmel-tcb-capture.c
--
2.25.0