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

Evgeny Boger boger at wirenboard.com
Fri Nov 19 11:14:53 PST 2021


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

-- 
2.25.1




More information about the linux-arm-kernel mailing list