]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Fix vcc_sdio regulator max voltage on Pinebook Pro
authorHugo Osvaldo Barrera <hugo@whynothugo.nl>
Tue, 19 May 2026 09:44:39 +0000 (11:44 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 2 Jun 2026 20:47:18 +0000 (22:47 +0200)
The vcc_sdio regulator supports 1.8V to 3.4V output range according to
its datasheet.

The current DT incorrectly limits the max voltage to 3.0V. This limit
causes issues issues downstream with u-boot, which refuses to apply the
out-of range value, and falls back to the minimum in that range: 1.8V.
This is insufficient to power the SD card, so driver initialisation
fails and booting from it does not work.

Set regulator-max-microvolt to 3400000 µV to match hardware capability.
This matches the rk3399-orangepi for the same regulator.

Signed-off-by: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
Reviewed-by: Dang Huynh <dang.huynh@mainlining.org>
Link: https://patch.msgid.link/20260519094439.7918-1-hugo@whynothugo.nl
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts

index b5c05928142c0bc6299d1c510e7b0e63961ca0a8..f21fcdc1b49a502da670ec0d18e1943be8eb12ab 100644 (file)
                                regulator-always-on;
                                regulator-boot-on;
                                regulator-min-microvolt = <1800000>;
-                               regulator-max-microvolt = <3000000>;
+                               regulator-max-microvolt = <3400000>;
 
                                regulator-state-mem {
                                        regulator-on-in-suspend;