ARM: dtsi: axp22x: add node for ADC
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 19 Feb 2018 12:47:25 +0000 (13:47 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Feb 2018 09:50:23 +0000 (10:50 +0100)
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>
arch/arm/boot/dts/axp22x.dtsi

index 87fb08e..65a07a6 100644 (file)
                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";