Re: [RFC 00/19] clk: imx: Switch the imx6 and imx7 to clk_hw based API
From: Stephen Boyd
Date: Wed Apr 10 2019 - 18:00:11 EST
Quoting Fabio Estevam (2019-03-22 09:24:54)
> Hi Abel,
> On Fri, Mar 22, 2019 at 12:37 PM Abel Vesa <abel.vesa@xxxxxxx> wrote:
> > This work is part of the effort of switching the entire imx clock drivers
> > towards clk_hw based API. In order to do that, we have to keep the old
> Maybe I missed some earlier discussions on this topic, but let me ask
> a fundamental question first: what is the motivation for this API
> I could not find the reasoning inside the series.
The reasoning should be added to the series, but I would like to see clk
providers only deal with clk_hw structures and not with clk structures.
This clearly divides the line between clk consumers and clk providers so
that we know if clk providers are using the clk API themselves. That's
why I introduced clk_hw_register() in the first place.