[PATCH] arm64: dts: rockchip: Fix sdmmc pwren pinctrl for rk3576-evb2

Chaoyi Chen posted 1 patch 1 month, 1 week ago
arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts | 2 ++
1 file changed, 2 insertions(+)
[PATCH] arm64: dts: rockchip: Fix sdmmc pwren pinctrl for rk3576-evb2
Posted by Chaoyi Chen 1 month, 1 week ago
From: Chaoyi Chen <chaoyi.chen@rock-chips.com>

In rk3576.dtsi, sdmmc0_pwren is configured as part of the sdmmc pinctrl.
However, on the rk3576 evb2 board, sdmmc0_pwren is used as the regulator
for vmmc-supply. Therefore, we need to reassign the sdmmc pinctrl and
remove sdmmc0_pwren to avoid conflicts.

Cc: Shawn Lin <shawn.lin@rock-chips.com>
Fixes: 86a82f7a7eed ("arm64: dts: rockchip: Add rk3576 evb2 board")
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
---
 arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts b/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts
index 6bdc232ab267..98d5d00d63b5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts
@@ -951,6 +951,8 @@ &sdmmc {
 	disable-wp;
 	no-sdio;
 	no-mmc;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
 	sd-uhs-sdr104;
 	vmmc-supply = <&vcc3v3_sd>;
 	vqmmc-supply = <&vccio_sd_s0>;
-- 
2.51.1
Re: [PATCH] arm64: dts: rockchip: Fix sdmmc pwren pinctrl for rk3576-evb2
Posted by Heiko Stuebner 1 month ago
On Thu, 26 Feb 2026 18:20:52 +0800, Chaoyi Chen wrote:
> In rk3576.dtsi, sdmmc0_pwren is configured as part of the sdmmc pinctrl.
> However, on the rk3576 evb2 board, sdmmc0_pwren is used as the regulator
> for vmmc-supply. Therefore, we need to reassign the sdmmc pinctrl and
> remove sdmmc0_pwren to avoid conflicts.
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: Fix sdmmc pwren pinctrl for rk3576-evb2
      commit: 7d939032bd7e203e1c907a8c35e3672eeee08246

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>
Re:[PATCH] arm64: dts: rockchip: Fix sdmmc pwren pinctrl for rk3576-evb2
Posted by Andy Yan 1 month, 1 week ago
Hello,

At 2026-02-26 18:20:52, "Chaoyi Chen" <kernel@airkyi.com> wrote:
>From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
>
>In rk3576.dtsi, sdmmc0_pwren is configured as part of the sdmmc pinctrl.
>However, on the rk3576 evb2 board, sdmmc0_pwren is used as the regulator
>for vmmc-supply. Therefore, we need to reassign the sdmmc pinctrl and
>remove sdmmc0_pwren to avoid conflicts.
>
>Cc: Shawn Lin <shawn.lin@rock-chips.com>
>Fixes: 86a82f7a7eed ("arm64: dts: rockchip: Add rk3576 evb2 board")
>Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
   Tested-by: Andy Yan <andy.yan@163.com>


>---
> arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts b/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts
>index 6bdc232ab267..98d5d00d63b5 100644
>--- a/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts
>+++ b/arch/arm64/boot/dts/rockchip/rk3576-evb2-v10.dts
>@@ -951,6 +951,8 @@ &sdmmc {
> 	disable-wp;
> 	no-sdio;
> 	no-mmc;
>+	pinctrl-names = "default";
>+	pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
> 	sd-uhs-sdr104;
> 	vmmc-supply = <&vcc3v3_sd>;
> 	vqmmc-supply = <&vccio_sd_s0>;
>-- 
>2.51.1
>
>
>_______________________________________________
>Linux-rockchip mailing list
>Linux-rockchip@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/linux-rockchip