diff options
author | Quentin Schulz <quentin.schulz@bootlin.com> | 2018-02-19 13:47:25 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-02-21 10:50:23 +0100 |
commit | 81be3e4c510604cfe03e36db95b5c122109ce67b (patch) | |
tree | 9745947aea7ac969a0b86e03f35fae75545f619f /arch/arm/boot/dts/axp22x.dtsi | |
parent | a86f6f67ee05905b16e7253b430a4393f209b7f8 (diff) | |
download | linux-81be3e4c510604cfe03e36db95b5c122109ce67b.tar.bz2 |
ARM: dtsi: axp22x: 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/axp22x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/axp22x.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/axp22x.dtsi b/arch/arm/boot/dts/axp22x.dtsi index 87fb08e812ec..65a07a67aca9 100644 --- a/arch/arm/boot/dts/axp22x.dtsi +++ b/arch/arm/boot/dts/axp22x.dtsi @@ -57,6 +57,11 @@ status = "disabled"; }; + axp_adc: adc { + compatible = "x-powers,axp221-adc"; + #io-channel-cells = <1>; + }; + battery_power_supply: battery-power-supply { compatible = "x-powers,axp221-battery-power-supply"; status = "disabled"; |