[PATCH v7 5/7] clk: imx: Add initial support for i.MXRT1050 clock driver

Stephen Boyd sboyd at kernel.org
Mon Jan 10 12:12:00 PST 2022


Quoting Jesse Taube (2022-01-09 11:07:42)
> >> +
> >> +       clk_hw_data->num = IMXRT1050_CLK_END;
> >> +       hws = clk_hw_data->hws;
> >> +
> >> +       hws[IMXRT1050_CLK_OSC] = __clk_get_hw(of_clk_get_by_name(np, "osc"));
> > 
> > Use clk_parent_data instead and reference the binding name with .fw_name
> 
> Hi Stephen, sorry to bother you again.
> I'm wondering if adding `clk_parent_data` is necessary as it seems like 
> it wold be a big change and the other IMX boards haven't implemented 
> this yet would it be okay if I don't do this, or if it is necessary 
> could you link to a patch set to change it.
> 

Is it a big change because the imx_clk_hw*() APIs aren't prepared for
non-string parents? Can you make some clk_parent_data based APIs and
migrate things over gradually? This is really a question for i.MX folks
to see if anyone is working on moving away from the string names.



More information about the linux-arm-kernel mailing list