Skip to content

Commit 1726956

Browse files
Taniya Dasbebarino
authored andcommitted
clk: qcom: Add Global Clock controller (GCC) driver for SC7180
Add support for the global clock controller found on SC7180 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://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 8b9e056 commit 1726956

File tree

3 files changed

+2460
-0
lines changed

3 files changed

+2460
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,15 @@ config QCS_GCC_404
227227
Say Y if you want to use multimedia devices or peripheral
228228
devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
229229

230+
config SC_GCC_7180
231+
tristate "SC7180 Global Clock Controller"
232+
select QCOM_GDSC
233+
depends on COMMON_CLK_QCOM
234+
help
235+
Support for the global clock controller on SC7180 devices.
236+
Say Y if you want to use peripheral devices such as UART, SPI,
237+
I2C, USB, UFS, SDCC, etc.
238+
230239
config SDM_CAMCC_845
231240
tristate "SDM845 Camera Clock Controller"
232241
select SDM_GCC_845

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ obj-$(CONFIG_QCOM_CLK_SMD_RPM) += clk-smd-rpm.o
4444
obj-$(CONFIG_QCS_GCC_404) += gcc-qcs404.o
4545
obj-$(CONFIG_QCS_Q6SSTOP_404) += q6sstop-qcs404.o
4646
obj-$(CONFIG_QCS_TURING_404) += turingcc-qcs404.o
47+
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
4748
obj-$(CONFIG_SDM_CAMCC_845) += camcc-sdm845.o
4849
obj-$(CONFIG_SDM_DISPCC_845) += dispcc-sdm845.o
4950
obj-$(CONFIG_SDM_GCC_660) += gcc-sdm660.o

0 commit comments

Comments
 (0)