* [PATCH] ARM: dts: imx7ulp: Pass the CPU 'clock-frequency' property
@ 2020-11-09 19:46 Fabio Estevam
2020-11-16 7:33 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2020-11-09 19:46 UTC (permalink / raw)
To: shawnguo; +Cc: Fabio Estevam, linux-imx, linux-arm-kernel
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")
Signed-off-by: Fabio Estevam <festevam@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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: imx7ulp: Pass the CPU 'clock-frequency' property
2020-11-09 19:46 [PATCH] ARM: dts: imx7ulp: Pass the CPU 'clock-frequency' property Fabio Estevam
@ 2020-11-16 7:33 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2020-11-16 7:33 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-imx, linux-arm-kernel
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@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@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
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-16 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-09 19:46 [PATCH] ARM: dts: imx7ulp: Pass the CPU 'clock-frequency' property Fabio Estevam
2020-11-16 7:33 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).