[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230524082744.3215427-1-bigunclemax@gmail.com>
Date: Wed, 24 May 2023 11:27:29 +0300
From: Maxim Kiselev <bigunclemax@...il.com>
To: linux-iio@...r.kernel.org
Cc: Maxim Kiselev <bigunclemax@...il.com>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>,
Conor Dooley <conor@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Philipp Zabel <p.zabel@...gutronix.de>,
Heiko Stuebner <heiko.stuebner@...ll.eu>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Cosmin Tanislav <demonsingur@...il.com>,
Mike Looijmans <mike.looijmans@...ic.nl>,
Haibo Chen <haibo.chen@....com>,
ChiYuan Huang <cy_huang@...htek.com>,
Ramona Bolboaca <ramona.bolboaca@...log.com>,
Ibrahim Tilki <Ibrahim.Tilki@...log.com>,
Caleb Connolly <caleb.connolly@...aro.org>,
William Breathitt Gray <william.gray@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Leonard Göhrs <l.goehrs@...gutronix.de>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Hugo Villeneuve <hvilleneuve@...onoff.com>,
ChiaEn Wu <chiaen_wu@...htek.com>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Subject: [RFC PATCH v1 0/4] Add support for Allwinner GPADC on D1/T113s/R329 SoCs
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
Powered by blists - more mailing lists