diff mbox series

ARM: dts: mxs: Fix duart clock-names

Message ID 20230921141742.236249-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: mxs: Fix duart clock-names | expand

Commit Message

Fabio Estevam Sept. 21, 2023, 2:17 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

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.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 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(-)

Comments

Shawn Guo Sept. 25, 2023, 3:37 a.m. UTC | #1
On Thu, Sep 21, 2023 at 11:17:42AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/mxs/imx23.dtsi b/arch/arm/boot/dts/nxp/mxs/imx23.dtsi
index 5eca942a52fd..7411061bf814 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx23.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx23.dtsi
@@ -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";
 			};
 
diff --git a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
index 763adeb995ee..32815d2403de 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
@@ -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";
 			};