summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/axp81x.dtsi
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@bootlin.com>2018-02-19 15:47:27 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-21 12:50:34 +0300
commitca6ca2cd212dcdf6ea8c36c4464b94e3b492a685 (patch)
tree725844e95d9bf4e8c2f7d62723207c44dcb4a51a /arch/arm/boot/dts/axp81x.dtsi
parent81be3e4c510604cfe03e36db95b5c122109ce67b (diff)
downloadlinux-ca6ca2cd212dcdf6ea8c36c4464b94e3b492a685.tar.xz
ARM: dtsi: axp81x: 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/axp81x.dtsi')
-rw-r--r--arch/arm/boot/dts/axp81x.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi
index fd55b896afa1..6b5e7bcbc69a 100644
--- a/arch/arm/boot/dts/axp81x.dtsi
+++ b/arch/arm/boot/dts/axp81x.dtsi
@@ -48,6 +48,11 @@
interrupt-controller;
#interrupt-cells = <1>;
+ axp_adc: adc {
+ compatible = "x-powers,axp813-adc";
+ #io-channel-cells = <1>;
+ };
+
axp_gpio: axp-gpio {
compatible = "x-powers,axp813-gpio";
gpio-controller;