summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/axp209.dtsi
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@bootlin.com>2018-02-19 13:47:24 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-21 10:50:19 +0100
commita86f6f67ee05905b16e7253b430a4393f209b7f8 (patch)
tree49de4ec88ba5dc9351d26ec8b9fd4e4da499b6a7 /arch/arm/boot/dts/axp209.dtsi
parentARM: dts: sun7i: Enable HDMI support on the Orange Pi mini (diff)
downloadlinux-a86f6f67ee05905b16e7253b430a4393f209b7f8.tar.xz
linux-a86f6f67ee05905b16e7253b430a4393f209b7f8.zip
ARM: dtsi: axp209: add node for ADC
This adds a DT node for the ADC of the PMIC so that there can be consumers of its IIO channels declaring their consumptions via DT. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/axp209.dtsi')
-rw-r--r--arch/arm/boot/dts/axp209.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi
index 897103e0a79b..0d9ff12bdf28 100644
--- a/arch/arm/boot/dts/axp209.dtsi
+++ b/arch/arm/boot/dts/axp209.dtsi
@@ -58,6 +58,11 @@
status = "disabled";
};
+ axp_adc: adc {
+ compatible = "x-powers,axp209-adc";
+ #io-channel-cells = <1>;
+ };
+
axp_gpio: gpio {
compatible = "x-powers,axp209-gpio";
gpio-controller;