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

Shawn Guo shawnguo at kernel.org
Mon Nov 16 02:33:40 EST 2020


On Mon, Nov 09, 2020 at 04:46:40PM -0300, Fabio Estevam wrote:
> 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.

> 
> Pass the 'clock-frequency' property to avoid the following warning
> message during boot:
> 
> [    0.013005] /cpus/cpu at 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

> 
> Fixes: 20434dc92c05 ("ARM: dts: imx: add common imx7ulp dtsi support")
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---
>  arch/arm/boot/dts/imx7ulp.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
> index b7ea37ad4e55..a7fdc2f41afa 100644
> --- a/arch/arm/boot/dts/imx7ulp.dtsi
> +++ b/arch/arm/boot/dts/imx7ulp.dtsi
> @@ -41,6 +41,7 @@
>  			compatible = "arm,cortex-a7";
>  			device_type = "cpu";
>  			reg = <0xf00>;
> +			clock-frequency = <500210526>;
>  		};
>  	};
>  
> -- 
> 2.17.1
> 



More information about the linux-arm-kernel mailing list