summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
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
parente3dd25ae0a910b77d049a8cda586a17d8661689d (diff)
downloadlinux-a86f6f67ee05905b16e7253b430a4393f209b7f8.tar.gz
linux-a86f6f67ee05905b16e7253b430a4393f209b7f8.tar.bz2
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')
-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;