[PATCH] arm: dts: imx8mp: Delete default clocks for clock controller node
Peng Fan (OSS)
peng.fan at oss.nxp.com
Wed Sep 15 05:01:28 CEST 2021
On 2021/8/17 14:32, Ye Li wrote:
> Since SPL has initialized clocks for bus and core. We don't need to
> set the default clocks for clock controller node.
>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> ---
> arch/arm/dts/imx8mp-u-boot.dtsi | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.dtsi
> index d61346d..a6ede2e 100644
> --- a/arch/arm/dts/imx8mp-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mp-u-boot.dtsi
> @@ -18,6 +18,9 @@
> &clk {
> u-boot,dm-spl;
> u-boot,dm-pre-reloc;
> + /delete-property/ assigned-clocks;
> + /delete-property/ assigned-clock-parents;
> + /delete-property/ assigned-clock-rates;
> };
>
> &osc_32k {
>
For a release fix, this is ok.
Acked-by: Peng Fan <peng.fan at nxp.com>
But for distro boot, we need think Linux Kernel will
use the device tree exported by U-Boot. Removing
this property may cause issue.
I think other vendors may has similar issue
that U-Boot modify dtb and corrupt distribution
kernel booting.
Thanks,
Peng.
More information about the U-Boot
mailing list