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

ARM: dts: s5pv210: Enable ADC on Aries boards

On Aries boards, the ADC is used for things such as jack detection
and battery temperature monitoring. It is supplied by LDO4 of max8998,
so only enable that regulator when we are actually using the ADC.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Jonathan Bakker and committed by
Krzysztof Kozlowski
07297ea7 e39d3a4b

+6 -1
+6 -1
arch/arm/boot/dts/s5pv210-aries.dtsi
··· 195 195 regulator-name = "VADC_3.3V"; 196 196 regulator-min-microvolt = <3300000>; 197 197 regulator-max-microvolt = <3300000>; 198 - regulator-always-on; 199 198 200 199 regulator-state-mem { 201 200 regulator-off-in-suspend; ··· 536 537 }; 537 538 }; 538 539 }; 540 + }; 541 + 542 + &adc { 543 + vdd-supply = <&ldo4_reg>; 544 + 545 + status = "okay"; 539 546 }; 540 547 541 548 &fimd {