Commit 02474496 authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Fix SD card controller probe on Pinephone Pro



Voltage constraints on vccio_sd are invalid. They don't match the voltages
that LDO9 can generate, and this causes rk808-regulator driver to fail
to probe with -EINVAL when it tries to apply the constraints during boot.

Fix the constraints to something that LDO9 can be actually configured for.

Fixes: 78a21c7d ("arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro")
Signed-off-by: default avatarOndrej Jirman <megi@xff.cz>
Reviewed-by: default avatarCaleb Connolly <kc@postmarketos.org>
Reviewed-by: default avatarTom Fitzhenry <tom@tom-fitzhenry.me.uk>
Tested-by: default avatarTom Fitzhenry <tom@tom-fitzhenry.me.uk>
Link: https://lore.kernel.org/r/20220904233652.3197885-1-megi@xff.cz


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 24645034
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -253,8 +253,8 @@ regulator-state-mem {

			vccio_sd: LDO_REG9 {
				regulator-name = "vccio_sd";
				regulator-min-microvolt = <1710000>;
				regulator-max-microvolt = <3150000>;
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <3300000>;
			};

			vcc3v3_s0: SWITCH_REG {