clk: mxl: Switch from direct readl/writel based IO to regmap based IO
authorRahul Tanwar <rtanwar@maxlinear.com>
Thu, 13 Oct 2022 06:48:30 +0000 (14:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Feb 2023 11:06:42 +0000 (12:06 +0100)
commite5580a80547244189589604c28f3c1471b0b6d03
treec2b0ab6fc8bb96685f9e33454b70c74ad2da4bd2
parent20ea32ad9c999f5a43d3f8211546bf8ece36d587
clk: mxl: Switch from direct readl/writel based IO to regmap based IO

[ Upstream commit 036177310bac5534de44ff6a7b60a4d2c0b6567c ]

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: Yi xin Zhu <yzhu@maxlinear.com>
Signed-off-by: Rahul Tanwar <rtanwar@maxlinear.com>
Link: https://lore.kernel.org/r/2610331918206e0e3bd18babb39393a558fb34f9.1665642720.git.rtanwar@maxlinear.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Stable-dep-of: 106ef3bda210 ("clk: mxl: Fix a clk entry by adding relevant flags")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/x86/Kconfig
drivers/clk/x86/clk-cgu-pll.c
drivers/clk/x86/clk-cgu.c
drivers/clk/x86/clk-cgu.h
drivers/clk/x86/clk-lgm.c