mbox series

[0/3] Enable RTP (GPADC) controller on Allwinner R40

Message ID 20211119191456.510435-1-boger@wirenboard.com (mailing list archive)
Headers show
Series Enable RTP (GPADC) controller on Allwinner R40 | expand

Message

Evgeny Boger Nov. 19, 2021, 7:14 p.m. UTC
R40 SoC has touchscreen controller also serving as general-purpose ADC.
The hardware is very similar to A31, except that R40 has separate
calibrated thermal sensor IP, so temperature sensing channel in RTP is
not documented and is not to be used.


Evgeny Boger (3):
  iio: adc: sun4i-gpadc-iio: no temp sensor on R40
  dt-bindings: iio: adc: new compatible for Allwinner R40 RTP controller
  ARM: dts: sun8i: r40: add rtp node

 .../bindings/mfd/allwinner,sun4i-a10-ts.yaml  |  1 +
 arch/arm/boot/dts/sun8i-r40.dtsi              |  8 +++++
 drivers/iio/adc/sun4i-gpadc-iio.c             | 32 ++++++++++++++-----
 drivers/mfd/sun4i-gpadc.c                     | 17 ++++++++++
 4 files changed, 50 insertions(+), 8 deletions(-)