Re: [PATCH 0/3] clk: support regmap

From: Stephen Boyd
Date: Wed Jun 02 2021 - 04:18:55 EST


Quoting Peng Fan (OSS) (2021-05-28 04:34:00)
> From: Peng Fan <peng.fan@xxxxxxx>
>
> To i.MX8ULP, a PCC register provides clk(mux, gate, divider) and peripheral
> reset functionality, so we need make sure the access to the PCC register
> be protected to avoid concurrent access from clk and reset subsystem.
>
> So let's use regmap here.
>
> The i.MX specific code will be posted if this patchset is ok for you.

We have a couple regmap clk drivers in the tree. Either combine the
different regmap clk drivers or duplicate it into the imx directory. I'd
prefer we combine them but last time I couldn't agree on the approach
when Jerome wanted to do it. Maybe now is the time to combine them all
into one common piece of code.

>
> Peng Fan (3):
> clk: mux: support regmap
> clk: fractional-divider: support regmap
> clk: gate: support regmap