Skip to contentSkip to conversation

Update eMMC alias for Radxa ROCK 5 Model A and Model B DTS

PATCH Applied Christopher Obbard 2 participants 5 messages Jan 10, 2023 – Jan 11, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover Update eMMC alias for Radxa ROCK 5 Model A and Model B DTS

The MMC aliases for the Radxa ROCK 5 Model A and Model B do not match the other Rockchip devices: mmc0 is usually the eMMC. In the initial devicetree series, I incorrectly set the alias for the eMMC to mmc1 to match the vendor kernel.

Update the alias for the eMMC to mmc0 to better match other Rockchip devices.

While we are here, remove an empty line to keep good style across the tree.

Changes in v2:
- Use correctly line length for commit messages

v1: https://lore.kernel.org/linux-rockchip/[email protected]/

Christopher Obbard (3):
arm64: dts: rockchip: Update sdhci alias for rock-5a
arm64: dts: rockchip: Remove empty line from rock-5a
arm64: dts: rockchip: Update sdhci alias for rock-5b

 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts  | 2 +-
 arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

--
2.39.0

#1 lore raw

PATCH v2 1/3 arm64: dts: rockchip: Update sdhci alias for rock-5a

In the previous version, the sdhci alias was set to mmc1: an artifact leftover from the port from vendor kernel. Update the alias to mmc0 to match the device's boot order.

Fixes a4a8f1afb360 ("arm64: dts: rockchip: Add rock-5a board")
---
 arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +1 -1
index 409a43d059d8..c85af1334c05 100644
@@ -11,7 +11,7 @@ / {
 	compatible = "radxa,rock-5a", "rockchip,rk3588s";
 
 	aliases {
-		mmc1 = &sdhci;
+		mmc0 = &sdhci;
 		serial2 = &uart2;
 	};
 
Signature · 1 line
2.39.0
#2 lore raw

PATCH v2 2/3 arm64: dts: rockchip: Remove empty line from rock-5a

In reply to Christopher Obbard

There is a line which is empty. Remove it.

Fixes a4a8f1afb360 ("arm64: dts: rockchip: Add rock-5a board")
---
 arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +0 -1
index c85af1334c05..6432b586bf5a 100644
@@ -52,7 +52,6 @@ rtl8211f {
 		rtl8211f_rst: rtl8211f-rst {
 			rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
-
 	};
 };
 
Signature · 1 line
2.39.0
#3 lore raw

PATCH v2 3/3 arm64: dts: rockchip: Update sdhci alias for rock-5b

In reply to Christopher Obbard

In the previous version, the sdhci alias was set to mmc1: an artifact leftover from the port from vendor kernel. Update the alias to mmc0 to match the device's boot order.

Fixes 6fb2d1549786 ("arm64: dts: rockchip: Add rock-5b board")
---
 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +1 -1
index d2f1e963ce06..95805cb0adfa 100644
@@ -9,7 +9,7 @@ / {
 	compatible = "radxa,rock-5b", "rockchip,rk3588";
 
 	aliases {
-		mmc1 = &sdhci;
+		mmc0 = &sdhci;
 		serial2 = &uart2;
 	};
 
Signature · 1 line
2.39.0
maintainer Applied
#4 lore raw
In reply to Christopher Obbard
Quoted 9 lines · Christopher Obbard

The MMC aliases for the Radxa ROCK 5 Model A and Model B do not match the other Rockchip devices: mmc0 is usually the eMMC. In the initial devicetree series, I incorrectly set the alias for the eMMC to mmc1 to match the vendor kernel.

Update the alias for the eMMC to mmc0 to better match other Rockchip devices.

While we are here, remove an empty line to keep good style across the tree.

[...]

Applied, thanks!

[1/3] arm64: dts: rockchip: Update sdhci alias for rock-5a

      commit: 991f136c9f8de181b25cef056ab5fe7f49413919
[2/3] arm64: dts: rockchip: Remove empty line from rock-5a
      commit: 304c8a759953fb4a6cd399cf78f87501d7fd8bbc
[3/3] arm64: dts: rockchip: Update sdhci alias for rock-5b
      commit: 6fb13f888f2a6155fe4c19d14721e8909eda9b52

Best regards,

Signature · 6 lines
Heiko Stuebner <[email protected]>

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip