arm64: dts: allwinner: pinephone: Set ALDO3 to exactly 3v0
authorSamuel Holland <samuel@sholland.org>
Thu, 5 Nov 2020 05:41:31 +0000 (23:41 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 5 Nov 2020 11:21:37 +0000 (12:21 +0100)
ALDO3 is used as the power supply for the LRADC keys voltage divider,
in addition to supplying AVCC and VCC-PLL. While AVCC and VCC-PLL will
accept any voltage between 2v7 and 3v3, LRADC needs a precise 3v0 input
to maintain the expected 2:3 ratio between the internal 2v0 reference
voltage and the external supply.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201105054135.24860-3-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi

index 3776f16..5558377 100644 (file)
 
 &reg_aldo3 {
        regulator-always-on;
-       regulator-min-microvolt = <2700000>;
-       regulator-max-microvolt = <3300000>;
+       regulator-min-microvolt = <3000000>;
+       regulator-max-microvolt = <3000000>;
        regulator-name = "vcc-pll-avcc";
 };