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>
This commit is contained in:
Jonathan Bakker 2020-05-01 16:50:15 -07:00 committed by Krzysztof Kozlowski
parent e39d3a4b23
commit 07297ea732

View File

@ -195,7 +195,6 @@ ldo4_reg: LDO4 {
regulator-name = "VADC_3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
@ -539,6 +538,12 @@ lcd_ep: endpoint {
};
};
&adc {
vdd-supply = <&ldo4_reg>;
status = "okay";
};
&fimd {
pinctrl-names = "default";
pinctrl-0 = <&lcd_clk &lcd_data24>;