diff options
author | Quentin Schulz <quentin.schulz@bootlin.com> | 2018-02-19 13:47:27 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-02-21 10:50:34 +0100 |
commit | ca6ca2cd212dcdf6ea8c36c4464b94e3b492a685 (patch) | |
tree | 725844e95d9bf4e8c2f7d62723207c44dcb4a51a /arch/arm/boot/dts/axp81x.dtsi | |
parent | 81be3e4c510604cfe03e36db95b5c122109ce67b (diff) | |
download | linux-ca6ca2cd212dcdf6ea8c36c4464b94e3b492a685.tar.bz2 |
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.dtsi | 5 |
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; |