arm64: dts: rockchip: Fix SD card controller probe on Pinephone Pro
authorOndrej Jirman <megi@xff.cz>
Sun, 4 Sep 2022 23:36:47 +0000 (01:36 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 5 Sep 2022 22:19:29 +0000 (00:19 +0200)
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: 78a21c7d5952 ("arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro")
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Reviewed-by: Caleb Connolly <kc@postmarketos.org>
Reviewed-by: Tom Fitzhenry <tom@tom-fitzhenry.me.uk>
Tested-by: Tom Fitzhenry <tom@tom-fitzhenry.me.uk>
Link: https://lore.kernel.org/r/20220904233652.3197885-1-megi@xff.cz
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts

index f00c80361377a3d89ce848eab2d0c7919d502a4d..2e058c3150256fb43bc3c83a6eba2cc5e1f122a2 100644 (file)
 
                        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 {