Skip to contentSkip to conversation

ARM: dts: imx7ulp: Pass the CPU 'clock-frequency' property

PATCH In review Fabio Estevam 2 participants 2 messages Nov 9, 2020 – Nov 16, 2020

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx7ulp: Pass the CPU 'clock-frequency' property

The default i.MX7ULP CPU frequency is 500.21 MHz.

Pass the 'clock-frequency' property to avoid the following warning message during boot:

[    0.013005] /cpus/cpu@f00 missing clock-frequency property
Fixes 20434dc92c05 ("ARM: dts: imx: add common imx7ulp dtsi support")
---
 arch/arm/boot/dts/imx7ulp.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx7ulp.dtsi +1 -0
index b7ea37ad4e55..a7fdc2f41afa 100644
@@ -41,6 +41,7 @@
 			compatible = "arm,cortex-a7";
 			device_type = "cpu";
 			reg = <0xf00>;
+			clock-frequency = <500210526>;
 		};
 	};
 
Signature · 7 lines
2.17.1


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

The default i.MX7ULP CPU frequency is 500.21 MHz.

As bootloader may configure the frequency as it like, I'm not sure what the "default" means here.

Quoted 5 lines

Pass the 'clock-frequency' property to avoid the following warning message during boot:

[    0.013005] /cpus/cpu@f00 missing clock-frequency property

To me, this looks like as an useful warning message to bootloaders which do not fill this property based on the actual running frequency.

Shawn

Quoted 22 lines
Fixes 20434dc92c05 ("ARM: dts: imx: add common imx7ulp dtsi support")
---
 arch/arm/boot/dts/imx7ulp.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx7ulp.dtsi +1 -0
index b7ea37ad4e55..a7fdc2f41afa 100644
@@ -41,6 +41,7 @@
 			compatible = "arm,cortex-a7";
 			device_type = "cpu";
 			reg = <0xf00>;
+			clock-frequency = <500210526>;
 		};
 	};
 
Signature · 1 line
2.17.1

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