[PATCH 3/3] clk: imx: imx6sx: Remove hardcoded LCDIF1 parent

Stephen Boyd sboyd at kernel.org
Thu Jun 8 17:24:48 PDT 2023


Quoting Fabio Estevam (2023-06-02 15:16:04)
> From: Fabio Estevam <festevam at denx.de>
> 
> It is not a good idea to hardcode the LCDIF1 parent inside the
> clock driver because some users may want to use a different clock
> parent for LCDIF1. One of the reasons could be related to EMI tests.
> 
> Remove the harcoded LCDIF1 parent as this is better described via
> devicetree.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---

Do you need to check for the DT property and skip these clk_set_parent()
calls if they're present? How does this work if the DT isn't updated at
the same time?



More information about the linux-arm-kernel mailing list