Skip to content

Commit 06391ed

Browse files
Taniya Dasbebarino
authored andcommitted
clk: qcom: Add Global Clock controller (GCC) driver for SDM845
Add support for the global clock controller found on SDM845 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Signed-off-by: Taniya Das <tdas@codeaurora.org> Signed-off-by: Amit Nischal <anischal@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 9ee38b2 commit 06391ed

File tree

3 files changed

+3475
-0
lines changed

3 files changed

+3475
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,15 @@ config MSM_MMCC_8996
218218
Say Y if you want to support multimedia devices such as display,
219219
graphics, video encode/decode, camera, etc.
220220

221+
config SDM_GCC_845
222+
tristate "SDM845 Global Clock Controller"
223+
select QCOM_GDSC
224+
depends on COMMON_CLK_QCOM
225+
help
226+
Support for the global clock controller on msm8998 devices.
227+
Say Y if you want to use peripheral devices such as UART, SPI,
228+
I2C, USB, UFS, SDDC, PCIe, etc.
229+
221230
config SPMI_PMIC_CLKDIV
222231
tristate "SPMI PMIC clkdiv Support"
223232
depends on (COMMON_CLK_QCOM && SPMI) || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ obj-$(CONFIG_QCOM_A53PLL) += a53-pll.o
3737
obj-$(CONFIG_QCOM_CLK_APCS_MSM8916) += apcs-msm8916.o
3838
obj-$(CONFIG_QCOM_CLK_RPM) += clk-rpm.o
3939
obj-$(CONFIG_QCOM_CLK_SMD_RPM) += clk-smd-rpm.o
40+
obj-$(CONFIG_SDM_GCC_845) += gcc-sdm845.o
4041
obj-$(CONFIG_SPMI_PMIC_CLKDIV) += clk-spmi-pmic-div.o

0 commit comments

Comments
 (0)