Skip to contentSkip to conversation

arm64: dts: hi3798cv200: Correct 'clock-names' in sd0

PATCH In review David Yang 2 participants 2 messages Mar 15, 2023 – May 13, 2023

Subsystems (2)
lore
Share & tools
lore

David Yang

author
#0 lore raw

PATCH 1/1 arm64: dts: hi3798cv200: Correct 'clock-names' in sd0

"ciu" and "biu" were incorrectly swapped. Fix them to match 'clocks'.

---
 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +1 -1
index a83b9d4f1..7112f9933 100644
@@ -304,7 +304,7 @@ sd0: mmc@9820000 {
 			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&crg HISTB_SDIO0_CIU_CLK>,
 				 <&crg HISTB_SDIO0_BIU_CLK>;
-			clock-names = "biu", "ciu";
+			clock-names = "ciu", "biu";
 			resets = <&crg 0x9c 4>;
 			reset-names = "reset";
 			status = "disabled";
Signature · 1 line
2.39.2
#1 lore raw
Quoted 3 lines · David Yang

"ciu" and "biu" were incorrectly swapped. Fix them to match 'clocks'.

This breaks the bindings. You wanted probably different order.

Does not look like you tested the DTS against bindings. Please run make dtbs_check (see Documentation/devicetree/bindings/writing-schema.rst for instructions).

Best regards,
Krzysztof