linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Atmel TCB capture driver
@ 2020-04-06 15:53 Kamel Bouhara
  2020-04-06 15:53 ` [PATCH 1/3] ARM: at91: add atmel tcb capabilities Kamel Bouhara
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Kamel Bouhara @ 2020-04-06 15:53 UTC (permalink / raw)
  To: William Breathitt Gray, Rob Herring, Mark Rutland, Nicolas Ferre,
	Alexandre Belloni, Ludovic Desroches, linux-arm-kernel
  Cc: Thomas Petazzoni, linux-input, devicetree, linux-iio, Kamel Bouhara

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-09 13:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 15:53 [PATCH 0/3] Atmel TCB capture driver Kamel Bouhara
2020-04-06 15:53 ` [PATCH 1/3] ARM: at91: add atmel tcb capabilities Kamel Bouhara
2020-04-07 16:53   ` William Breathitt Gray
2020-04-07 20:21     ` Kamel Bouhara
2020-04-06 15:53 ` [PATCH 2/3] dt-bindings: counter: atmel-tcb-capture counter Kamel Bouhara
2020-04-06 15:53 ` [PATCH 3/3] counter: Add atmel TCB capture counter Kamel Bouhara
2020-04-08 21:31   ` William Breathitt Gray
2020-04-08 21:56     ` Alexandre Belloni
2020-04-09  8:25     ` Kamel Bouhara
2020-04-09 13:16       ` William Breathitt Gray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).