Skip to content

Commit cbe63bf

Browse files
ichernevbebarino
authored andcommitted
clk: qcom: Add Global Clock controller (GCC) driver for SM6115
Add support for the global clock controller found on SM6115 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. GDSCs ported from downstream DT. Signed-off-by: Iskren Chernev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent dce25b3 commit cbe63bf

File tree

3 files changed

+3552
-0
lines changed

3 files changed

+3552
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,13 @@ config SM_DISPCC_8250
548548
Say Y if you want to support display devices and functionality such as
549549
splash screen.
550550

551+
config SM_GCC_6115
552+
tristate "SM6115 and SM4250 Global Clock Controller"
553+
help
554+
Support for the global clock controller on SM6115 and SM4250 devices.
555+
Say Y if you want to use peripheral devices such as UART, SPI,
556+
i2C, USB, UFS, SDDC, PCIe, etc.
557+
551558
config SM_GCC_6125
552559
tristate "SM6125 Global Clock Controller"
553560
help

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ obj-$(CONFIG_SDM_VIDEOCC_845) += videocc-sdm845.o
8181
obj-$(CONFIG_SDX_GCC_55) += gcc-sdx55.o
8282
obj-$(CONFIG_SM_CAMCC_8250) += camcc-sm8250.o
8383
obj-$(CONFIG_SM_DISPCC_8250) += dispcc-sm8250.o
84+
obj-$(CONFIG_SM_GCC_6115) += gcc-sm6115.o
8485
obj-$(CONFIG_SM_GCC_6125) += gcc-sm6125.o
8586
obj-$(CONFIG_SM_GCC_8150) += gcc-sm8150.o
8687
obj-$(CONFIG_SM_GCC_8250) += gcc-sm8250.o

0 commit comments

Comments
 (0)