Skip to contentSkip to conversation

ARM: dts: mxs: Fix duart clock-names

PATCH Applied Fabio Estevam 2 participants 2 messages Sep 21, 2023 – Sep 25, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: mxs: Fix duart clock-names

From: Fabio Estevam <[email protected]>

Per pl011.yaml, the first entry of clock-names should be "uartclk".

Change it accordingly to fix the following schema warning:

imx23-xfi3.dtb: serial@80070000: clock-names:0: 'uartclk' was expected

The pl011 driver does not search for the clock name, so this change is safe and was tested on a imx28-evk board.

---
 arch/arm/boot/dts/nxp/mxs/imx23.dtsi | 2 +-
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/nxp/mxs/imx23.dtsi +1 -1
index 5eca942a52fd..7411061bf814 100644
@@ -598,7 +598,7 @@ duart: serial@80070000 {
 				reg = <0x80070000 0x2000>;
 				interrupts = <0>;
 				clocks = <&clks 32>, <&clks 16>;
-				clock-names = "uart", "apb_pclk";
+				clock-names = "uartclk", "apb_pclk";
 				status = "disabled";
 			};
 
arch/arm/boot/dts/nxp/mxs/imx28.dtsi +1 -1
index 763adeb995ee..32815d2403de 100644
@@ -1252,7 +1252,7 @@ duart: serial@80074000 {
 				reg = <0x80074000 0x1000>;
 				interrupts = <47>;
 				clocks = <&clks 45>, <&clks 26>;
-				clock-names = "uart", "apb_pclk";
+				clock-names = "uartclk", "apb_pclk";
 				status = "disabled";
 			};
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#1 lore raw
Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per pl011.yaml, the first entry of clock-names should be "uartclk".

Quoted 8 lines

Change it accordingly to fix the following schema warning:

imx23-xfi3.dtb: serial@80070000: clock-names:0: 'uartclk' was expected

The pl011 driver does not search for the clock name, so this change is safe and was tested on a imx28-evk board.

Applied, thanks!

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