* [PATCH] arm64: dts: rockchip: nanopc-t6 sdmmc regulator
@ 2024-01-02 2:40 John Clark
2024-01-25 21:12 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: John Clark @ 2024-01-02 2:40 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
linux-rockchip
Cc: Thomas McKahan, devicetree, linux-arm-kernel, linux-kernel,
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
Signed-off-by: John Clark <inindev@gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
index 54445f929a37..fc8add8df3db 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
@@ -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";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: nanopc-t6 sdmmc regulator
2024-01-02 2:40 [PATCH] arm64: dts: rockchip: nanopc-t6 sdmmc regulator John Clark
@ 2024-01-25 21:12 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2024-01-25 21:12 UTC (permalink / raw)
To: John Clark, Krzysztof Kozlowski, linux-rockchip, Conor Dooley,
Rob Herring
Cc: Heiko Stuebner, devicetree, linux-arm-kernel, Thomas McKahan,
linux-kernel
On Tue, 2 Jan 2024 02:40:53 +0000, John Clark wrote:
> 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,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-25 21:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02 2:40 [PATCH] arm64: dts: rockchip: nanopc-t6 sdmmc regulator John Clark
2024-01-25 21:12 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).