clk: qcom: Add Global Clock Controller driver for QCM2290
authorShawn Guo <shawn.guo@linaro.org>
Sun, 19 Sep 2021 02:33:08 +0000 (10:33 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 Oct 2021 19:43:02 +0000 (12:43 -0700)
commit496d1a13d405c96d82f3ac6610eafa99f7df6fa4
treeda48bcc8d90ba574a1ef11737a13440a9063c5dd
parent05d61401a452c6a6b8f66095c520f97ea02be3ef
clk: qcom: Add Global Clock Controller driver for QCM2290

Add Global Clock Controller (GCC) driver for QCM2290.  This is a porting
of gcc-scuba driver from CAF msm-4.19, with GDSC support added on top.

Because the alpha_pll on the platform has a different register
layout (offsets), its own clk_alpha_pll_regs_offset[] is used in the
driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210919023308.24498-3-shawn.guo@linaro.org
Acked-by: Rob Herring <robh@kernel.org>
[sboyd@kernel.org: Drop duplicate includes, clk.h include, module alias]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/Kconfig
drivers/clk/qcom/Makefile
drivers/clk/qcom/gcc-qcm2290.c [new file with mode: 0644]
include/dt-bindings/clock/qcom,gcc-qcm2290.h [new file with mode: 0644]