Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Quentin Schulz and committed by
Maxime Ripard
81be3e4c a86f6f67

+5
+5
arch/arm/boot/dts/axp22x.dtsi
··· 57 57 status = "disabled"; 58 58 }; 59 59 60 + axp_adc: adc { 61 + compatible = "x-powers,axp221-adc"; 62 + #io-channel-cells = <1>; 63 + }; 64 + 60 65 battery_power_supply: battery-power-supply { 61 66 compatible = "x-powers,axp221-battery-power-supply"; 62 67 status = "disabled";