Skip to content

Commit a3cc092

Browse files
Taniya Dasbebarino
authored andcommitted
clk: qcom: Add Global Clock controller (GCC) driver for SC7280
Add support for the global clock controller found on SC7280 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Signed-off-by: Taniya Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 87a3d52 commit a3cc092

File tree

3 files changed

+3613
-0
lines changed

3 files changed

+3613
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,15 @@ config SC_GCC_7180
334334
Say Y if you want to use peripheral devices such as UART, SPI,
335335
I2C, USB, UFS, SDCC, etc.
336336

337+
config SC_GCC_7280
338+
tristate "SC7280 Global Clock Controller"
339+
select QCOM_GDSC
340+
depends on COMMON_CLK_QCOM
341+
help
342+
Support for the global clock controller on SC7280 devices.
343+
Say Y if you want to use peripheral devices such as UART, SPI,
344+
I2C, USB, UFS, SDCC, PCIe etc.
345+
337346
config SC_GCC_8180X
338347
tristate "SC8180X Global Clock Controller"
339348
select QCOM_GDSC

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ obj-$(CONFIG_QCS_TURING_404) += turingcc-qcs404.o
5757
obj-$(CONFIG_SC_CAMCC_7180) += camcc-sc7180.o
5858
obj-$(CONFIG_SC_DISPCC_7180) += dispcc-sc7180.o
5959
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
60+
obj-$(CONFIG_SC_GCC_7280) += gcc-sc7280.o
6061
obj-$(CONFIG_SC_GCC_8180X) += gcc-sc8180x.o
6162
obj-$(CONFIG_SC_GPUCC_7180) += gpucc-sc7180.o
6263
obj-$(CONFIG_SC_LPASS_CORECC_7180) += lpasscorecc-sc7180.o

0 commit comments

Comments
 (0)