From: Olliver Schinagl Date: Mon, 26 Nov 2018 15:27:51 +0000 (+0200) Subject: ARM: dts: sun7i: set proper lradc vref on OLinuXino Lime2 X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~5611^2~2^2~81 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=01f965ce9e5d1c865ed1a5e0a484a3246f51502d;p=linux.git ARM: dts: sun7i: set proper lradc vref on OLinuXino Lime2 The lradc's analog reference voltage is set to 3.0 volt in the hardware. This is more or less set in copper for at least lradc0. Set the property in the dts to ensure the lradc is referenced properly. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index b828677f331d..fbdb6faffcd4 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -154,6 +154,10 @@ }; }; +&lradc { + vref-supply = <®_vcc3v0>; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>;