Skip to contentSkip to conversation

arm64: dts: hi3798cv200: Fix clocks order of sd0

PATCH Applied David Yang 2 participants 2 messages May 14, 2023 – Aug 4, 2023

Subsystems (2)
lore
Share & tools
lore

David Yang

author
#0 lore raw

PATCH 1/1 arm64: dts: hi3798cv200: Fix clocks order of sd0

"ciu" and "biu" were incorrectly swapped. Fix their order.

---
 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +2 -2
index a83b9d4f172e..ed1b5a7a6067 100644
@@ -302,8 +302,8 @@ sd0: mmc@9820000 {
 			compatible = "snps,dw-mshc";
 			reg = <0x9820000 0x10000>;
 			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&crg HISTB_SDIO0_CIU_CLK>,
-				 <&crg HISTB_SDIO0_BIU_CLK>;
+			clocks = <&crg HISTB_SDIO0_BIU_CLK>,
+				 <&crg HISTB_SDIO0_CIU_CLK>;
 			clock-names = "biu", "ciu";
 			resets = <&crg 0x9c 4>;
 			reset-names = "reset";
Signature · 1 line
2.39.2
maintainer Applied
#1 lore raw

Hi David,

Quoted 13 lines · David Yang

"ciu" and "biu" were incorrectly swapped. Fix their order.

---
 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +0 -0
index a83b9d4f172e..ed1b5a7a6067 100644

arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi sd0: mmc@9820000 { · line 309

Quoted 10 lines
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +2 -2
@@ -302,8 +302,8 @@ sd0: mmc@9820000 {
 			compatible = "snps,dw-mshc";
 			reg = <0x9820000 0x10000>;
 			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&crg HISTB_SDIO0_CIU_CLK>,
-				 <&crg HISTB_SDIO0_BIU_CLK>;
+			clocks = <&crg HISTB_SDIO0_BIU_CLK>,
+				 <&crg HISTB_SDIO0_CIU_CLK>;
 			clock-names = "biu", "ciu";
 			resets = <&crg 0x9c 4>;
 			reset-names = "reset";

Applied to the HiSilicon arm64 dt tree.
Thanks!

Best Regards,
Wei