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>
This commit is contained in:
Quentin Schulz 2018-02-19 13:47:25 +01:00 committed by Maxime Ripard
parent a86f6f67ee
commit 81be3e4c51
No known key found for this signature in database
GPG Key ID: D2B4C094214DAF74
1 changed files with 5 additions and 0 deletions

View File

@ -57,6 +57,11 @@ ac_power_supply: ac-power-supply {
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";