Skip to contentSkip to conversation

ARM: dts: imx6qdl-tx6: Fix 'fixed-clock' description

PATCH Applied Fabio Estevam 3 participants 3 messages Oct 5, 2024 – Oct 21, 2024

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-tx6: Fix 'fixed-clock' description

From: Fabio Estevam <[email protected]>

Per fixed-clock.yaml, it is not correct to pass unit address and reg to represent 'fixed-clock'.

Remove it to fix the following dt-schema warning:

clock@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'

---
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi +1 -2
index 5a194f4c0cb9..2fa37d1b16cc 100644
@@ -70,9 +70,8 @@ clocks {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		mclk: clock@0 {
+		mclk: clock {
 			compatible = "fixed-clock";
-			reg = <0>;
 			#clock-cells = <0>;
 			clock-frequency = <26000000>;
 		};
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 5 lines

From: Fabio Estevam <[email protected]>

Per fixed-clock.yaml, it is not correct to pass unit address and reg to represent 'fixed-clock'.

Quoted 7 lines

Remove it to fix the following dt-schema warning:

clock@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'

Quoted 9 lines
---
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi +0 -0
index 5a194f4c0cb9..2fa37d1b16cc 100644

arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi clocks { · line 77

Quoted 10 lines
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6.dtsi +1 -2
@@ -70,9 +70,8 @@ clocks {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		mclk: clock@0 {
+		mclk: clock {
 			compatible = "fixed-clock";
-			reg = <0>;
 			#clock-cells = <0>;
 			clock-frequency = <26000000>;
 		};

Lothar Waßmann

Signature · 9 lines
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | [email protected]
___________________________________________________________
Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per fixed-clock.yaml, it is not correct to pass unit address and reg to represent 'fixed-clock'.

Quoted 7 lines

Remove it to fix the following dt-schema warning:

clock@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'

Applied, thanks!