[PATCH] arm64: dts: hi3798cv200: Correct 'clock-names' in sd0

David Yang posted 1 patch 2 years, 11 months ago
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: hi3798cv200: Correct 'clock-names' in sd0
Posted by David Yang 2 years, 11 months ago
"ciu" and "biu" were incorrectly swapped. Fix them to match 'clocks'.

Signed-off-by: David Yang <mmyangfl@gmail.com>
---
 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
index a83b9d4f1..7112f9933 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
@@ -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";
-- 
2.39.2
Re: [PATCH] arm64: dts: hi3798cv200: Correct 'clock-names' in sd0
Posted by Krzysztof Kozlowski 2 years, 9 months ago
On 15/03/2023 12:28, David Yang wrote:
> "ciu" and "biu" were incorrectly swapped. Fix them to match 'clocks'.
> 
> Signed-off-by: David Yang <mmyangfl@gmail.com>

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