Commit 122294a0 authored by Rahul Tanwar's avatar Rahul Tanwar Committed by zhaoxiaoqiang11
Browse files

clk: mxl: Switch from direct readl/writel based IO to regmap based IO

stable inclusion
from stable-v5.10.170
commit 072eb5fbd69c1e566e1c9c4b08c199dbbf1dc181
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7V9QX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=072eb5fbd69c1e566e1c9c4b08c199dbbf1dc181



----------------------------------------------------

[ 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: default avatarYi xin Zhu <yzhu@maxlinear.com>
Signed-off-by: default avatarRahul Tanwar <rtanwar@maxlinear.com>
Link: https://lore.kernel.org/r/2610331918206e0e3bd18babb39393a558fb34f9.1665642720.git.rtanwar@maxlinear.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Stable-dep-of: 106ef3bd ("clk: mxl: Fix a clk entry by adding relevant flags")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent 13e3d60f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment