Skip to content

Commit 13e677d

Browse files
lumagandersson
authored andcommitted
clk: qcom: add support for GCC on SAR2130P
Add driver for the Global Clock Controller as present on the Qualcomm SAR2130P platform. This is based on the msm-5.10 tree, tag KERNEL.PLATFORM.1.0.r4-00400-NEO.0. Co-developed-by: Kalpak Kawadkar <[email protected]> Signed-off-by: Kalpak Kawadkar <[email protected]> Acked-by: Konrad Dybcio <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 2cc88de commit 13e677d

File tree

3 files changed

+2376
-0
lines changed

3 files changed

+2376
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,15 @@ config SA_GPUCC_8775P
565565
Say Y if you want to support graphics controller devices and
566566
functionality such as 3D graphics.
567567

568+
config SAR_GCC_2130P
569+
tristate "SAR2130P Global Clock Controller"
570+
select QCOM_GDSC
571+
depends on COMMON_CLK_QCOM
572+
help
573+
Support for the global clock controller on SAR2130P devices.
574+
Say Y if you want to use peripheral devices such as UART, SPI,
575+
I2C, USB, SDCC, etc.
576+
568577
config SC_GCC_7180
569578
tristate "SC7180 Global Clock Controller"
570579
select QCOM_GDSC

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ obj-$(CONFIG_SA_DISPCC_8775P) += dispcc0-sa8775p.o dispcc1-sa8775p.o
8585
obj-$(CONFIG_SA_GCC_8775P) += gcc-sa8775p.o
8686
obj-$(CONFIG_SA_GPUCC_8775P) += gpucc-sa8775p.o
8787
obj-$(CONFIG_SA_VIDEOCC_8775P) += videocc-sa8775p.o
88+
obj-$(CONFIG_SAR_GCC_2130P) += gcc-sar2130p.o
8889
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
8990
obj-$(CONFIG_SC_GCC_7280) += gcc-sc7280.o
9091
obj-$(CONFIG_SC_GCC_8180X) += gcc-sc8180x.o

0 commit comments

Comments
 (0)