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

index 897103e0a79bf3b4be99d8b8f2a8a48bb0b22672..0d9ff12bdf28c2df0083a0e7099521ad84313602 100644 (file)
                status = "disabled";
        };
 
+       axp_adc: adc {
+               compatible = "x-powers,axp209-adc";
+               #io-channel-cells = <1>;
+       };
+
        axp_gpio: gpio {
                compatible = "x-powers,axp209-gpio";
                gpio-controller;