Re: [PATCH v3 1/2] clk: ti: add of_ti_clk_register() helper

From: Tony Lindgren
Date: Wed Nov 09 2022 - 03:17:38 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [221109 08:06]:
> * Dario Binacchi <dario.binacchi@xxxxxxxxxxxxxxxxxxxx> [221106 17:36]:
> > The ti_clk_register() function is always called with the parameter of
> > type struct device set to NULL, since the functions from which it is
> > called always have a parameter of type struct device_node. Adding this
> > helper will allow you to register a TI clock to the common clock
> > framework by taking advantage of the facilities provided by the
> > struct device_node type.
>
> Makes sense to me.
>
> Do you have a patch to make use of this I can test with?

I mean a patch to convert the ti_clk_register() callers to use this or
what's your plan?

Regards,

Tony