linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] iio: adc: at91-sama5d2: add support for sama7g5
@ 2021-03-01 14:32 Eugen Hristev
  2021-03-01 14:32 ` [PATCH 1/4] dt-bindings: iio: adc: at91-sama5d2: add compatible for sama7g5-adc Eugen Hristev
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Eugen Hristev @ 2021-03-01 14:32 UTC (permalink / raw)
  To: jic23, robh+dt
  Cc: devicetree, linux-iio, linux-kernel, ludovic.desroches,
	Eugen Hristev, linux-arm-kernel

Hi Jonathan, all,

This series adds support for sama7g5.
The last patch (4/4) adds the support.

The sama7g5 is slightly different from sama5d2, but has the same basic
operations. The register map is a bit different, so, I added some primitives
to differentiate between the two classes of hardware blocks (sama5d2-sam9x60
and sama7g5).

Sama7g5 has 16 channels ADC, no resistive touch, and extra features
(FIFOs, better oversampling , not implemented yet).

I had to chop through the driver to add support for sama7g5, so, let me
know what you think, if something would need changing.

Thanks,
Eugen

Eugen Hristev (4):
  dt-bindings: iio: adc: at91-sama5d2: add compatible for sama7g5-adc
  iio: adc: at91-sama5d2: initialize hardware after clock is started
  iio: adc: at91-sama5d2: remove unused definition
  iio: adc: at91-sama5d2: add support for sama7g5 device

 .../bindings/iio/adc/atmel,sama5d2-adc.yaml   |   1 +
 drivers/iio/adc/at91-sama5d2_adc.c            | 293 ++++++++++++++----
 2 files changed, 237 insertions(+), 57 deletions(-)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-03-08 19:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01 14:32 [PATCH 0/4] iio: adc: at91-sama5d2: add support for sama7g5 Eugen Hristev
2021-03-01 14:32 ` [PATCH 1/4] dt-bindings: iio: adc: at91-sama5d2: add compatible for sama7g5-adc Eugen Hristev
2021-03-08 17:36   ` Rob Herring
2021-03-01 14:32 ` [PATCH 2/4] iio: adc: at91-sama5d2: initialize hardware after clock is started Eugen Hristev
2021-03-06 17:20   ` Jonathan Cameron
2021-03-08 13:33     ` Eugen.Hristev
2021-03-01 14:32 ` [PATCH 3/4] iio: adc: at91-sama5d2: remove unused definition Eugen Hristev
2021-03-01 14:32 ` [PATCH 4/4] iio: adc: at91-sama5d2: add support for sama7g5 device Eugen Hristev
2021-03-06 17:30   ` Jonathan Cameron
2021-03-08 13:27     ` Eugen.Hristev
2021-03-08 19:54       ` Jonathan Cameron

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).