clk: mxl: Switch from direct readl/writel based IO to regmap based IO
[ Upstream commit 03617731 ] Earlier version of driver used direct io remapped register read writes using readl/writel. But we need secure boot access which is only possible when registers are read & written using regmap. This is because the security bus/hook is written & coupled only with regmap layer. Switch the driver from direct readl/writel based register accesses to regmap based register accesses. Additionally, update the license headers to latest status. Reviewed-by: NYi xin Zhu <yzhu@maxlinear.com> Signed-off-by: NRahul Tanwar <rtanwar@maxlinear.com> Link: https://lore.kernel.org/r/2610331918206e0e3bd18babb39393a558fb34f9.1665642720.git.rtanwar@maxlinear.comSigned-off-by: NStephen Boyd <sboyd@kernel.org> Stable-dep-of: 106ef3bd ("clk: mxl: Fix a clk entry by adding relevant flags") Signed-off-by: NSasha Levin <sashal@kernel.org>
Showing
想要评论请 注册 或 登录