[PATCH 0/3] clk: support regmap
Peng Fan (OSS)
peng.fan at oss.nxp.com
Fri May 28 04:34:00 PDT 2021
From: Peng Fan <peng.fan at nxp.com>
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.
Peng Fan (3):
clk: mux: support regmap
clk: fractional-divider: support regmap
clk: gate: support regmap
drivers/clk/clk-fractional-divider.c | 26 +++++++++++++++++++++++---
drivers/clk/clk-gate.c | 26 +++++++++++++++++++++++---
drivers/clk/clk-mux.c | 26 +++++++++++++++++++++++---
include/linux/clk-provider.h | 14 ++++++++++++++
4 files changed, 83 insertions(+), 9 deletions(-)
--
2.30.0
More information about the linux-arm-kernel
mailing list