linux-sunxi.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/4] Add support for Allwinner GPADC on D1/T113s/R329 SoCs
@ 2023-05-24  8:27 Maxim Kiselev
  2023-05-24  8:27 ` [RFC PATCH v1 1/4] iio: adc: Add Allwinner D1/T113s/R329 SoCs GPADC Maxim Kiselev
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Maxim Kiselev @ 2023-05-24  8:27 UTC (permalink / raw)
  To: linux-iio
  Cc: Maxim Kiselev, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Conor Dooley, Paul Walmsley, Palmer Dabbelt,
	Albert Ou, Philipp Zabel, Heiko Stuebner, Andy Shevchenko,
	Cosmin Tanislav, Mike Looijmans, Haibo Chen, ChiYuan Huang,
	Ramona Bolboaca, Ibrahim Tilki, Caleb Connolly,
	William Breathitt Gray, Arnd Bergmann, Leonard Göhrs,
	AngeloGioacchino Del Regno, Hugo Villeneuve, ChiaEn Wu,
	devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
	linux-riscv

Hi,

This series adds support for general purpose ADC (GPADC) on new
Allwinner's SoCs, such as D1, T113s and R329. The implemented driver
provides basic functionality for getting ADC channels data.

All of the listed SoCs have the same IP. The only difference is the number
of available channels:
     T113 - 1 channel
     D1   - 2 channels
     R329 - 4 channels

This series is just an RFC and I would be glad to see any comments
about it.


Maxim Kiselev (4):
  iio: adc: Add Allwinner D1/T113s/R329 SoCs GPADC
  dt-bindings: iio: adc: Add Allwinner D1/T113s/R329 SoCs GPADC
  ARM: dts: sun8i: t113s: Add GPADC node
  riscv: dts: allwinner: d1: Add GPADC node

 .../iio/adc/allwinner,sun20i-d1-gpadc.yaml    |  52 ++++
 arch/arm/boot/dts/sun8i-t113s.dtsi            |  12 +
 arch/riscv/boot/dts/allwinner/sun20i-d1.dtsi  |  10 +
 drivers/iio/adc/Kconfig                       |  10 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/sun20i-gpadc-iio.c            | 275 ++++++++++++++++++
 6 files changed, 360 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml
 create mode 100644 drivers/iio/adc/sun20i-gpadc-iio.c

-- 
2.39.2


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

end of thread, other threads:[~2023-05-28 16:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24  8:27 [RFC PATCH v1 0/4] Add support for Allwinner GPADC on D1/T113s/R329 SoCs Maxim Kiselev
2023-05-24  8:27 ` [RFC PATCH v1 1/4] iio: adc: Add Allwinner D1/T113s/R329 SoCs GPADC Maxim Kiselev
2023-05-24 10:01   ` Andre Przywara
2023-05-24 11:06     ` Andy Shevchenko
2023-05-24 12:14       ` Maxim Kiselev
2023-05-28 16:38   ` Jonathan Cameron
2023-05-24  8:27 ` [RFC PATCH v1 2/4] dt-bindings: " Maxim Kiselev
2023-05-24  9:21   ` Rob Herring
2023-05-28 15:28   ` Jonathan Cameron
2023-05-24  8:27 ` [RFC PATCH v1 3/4] ARM: dts: sun8i: t113s: Add GPADC node Maxim Kiselev
2023-05-24  8:27 ` [RFC PATCH v1 4/4] riscv: dts: allwinner: d1: " Maxim Kiselev
2023-05-24  9:34 ` [RFC PATCH v1 0/4] Add support for Allwinner GPADC on D1/T113s/R329 SoCs Andre Przywara
2023-05-24 11:36   ` Maxim Kiselev
2023-05-28 15:22     ` Jonathan Cameron
2023-05-28 15:25       ` Jonathan Cameron
2023-05-28 16:39 ` 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).