]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - arch/arm64/boot/dts/amlogic/meson-gx.dtsi
ARM64: dts: meson: meson-gx: add the SAR ADC
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 22 Jan 2017 18:17:14 +0000 (19:17 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 30 Jan 2017 18:44:04 +0000 (10:44 -0800)
commitbd80ef5ed46233d90f216805ff40aba326ff1bdd
tree980f6e5d81bd0a66bfc3c7434aa631cbba6a34f2
parent249a2243e97edcd2cb0bef01a934d4ba21fb167f
ARM64: dts: meson: meson-gx: add the SAR ADC

Add the SAR ADC to meson-gxbb.dtsi and meson-gxl.dtsi. GXBB provides a
10-bit ADC while GXL and GXM provide a 12-bit ADC.
Some boards use resistor ladder buttons connected through one of the ADC
channels. On newer devices (GXL and GXM) some boards use pull-ups/downs
to change the resistance (and thus the ADC value) on one of the ADC
channels to indicate the board revision.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gx.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi