Skip to contentSkip to conversation

arm64: dts: rockchip: nanopc-t6 sdmmc regulator

PATCH Applied John Clark 2 participants 2 messages Jan 2, 2024 – Jan 25, 2024

Subsystems (2)
lore
Share & tools
lore

John Clark

author
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: nanopc-t6 sdmmc regulator

sdmmc on the nanopc-t6 is powered by vcc3v3_sd_s0, not vcc_3v3_s3 add the vcc3v3_sd_s0 regulator, and control it with gpio4_a5

---
 arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts +12 -1
index 54445f929a37..fc8add8df3db 100644
@@ -159,6 +159,17 @@ vcc3v3_pcie30: vcc3v3-pcie30-regulator {
 		regulator-max-microvolt = <3300000>;
 		vin-supply = <&vcc5v0_sys>;
 	};
+
+	vcc3v3_sd_s0: vcc3v3-sd-s0-regulator {
+		compatible = "regulator-fixed";
+		enable-active-low;
+		gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>;
+		regulator-boot-on;
+		regulator-max-microvolt = <3300000>;
+		regulator-min-microvolt = <3300000>;
+		regulator-name = "vcc3v3_sd_s0";
+		vin-supply = <&vcc_3v3_s3>;
+	};
 };
 
 &combphy0_ps {
@@ -544,7 +555,7 @@ &sdmmc {
 	no-mmc;
 	no-sdio;
 	sd-uhs-sdr104;
-	vmmc-supply = <&vcc_3v3_s3>;
+	vmmc-supply = <&vcc3v3_sd_s0>;
 	vqmmc-supply = <&vccio_sd_s0>;
 	status = "okay";
 };
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 4 lines · John Clark

sdmmc on the nanopc-t6 is powered by vcc3v3_sd_s0, not vcc_3v3_s3 add the vcc3v3_sd_s0 regulator, and control it with gpio4_a5

Applied, thanks!

[1/1] arm64: dts: rockchip: nanopc-t6 sdmmc regulator

      commit: 6cb02674a061e4ef4f437ab60c91038d4c0d85ef

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>