Skip to content

Commit efe5043

Browse files
taniyadas20andersson
authored andcommitted
clk: qcom: gcc: Add support for Global Clock Controller
Add support for Global clock controller for Glymur SoC which would enable the consumers to enable/disable the required clocks. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250825-glymur-clock-controller-v5-v5-7-01b8c8681bcd@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent ee2d967 commit efe5043

3 files changed

Lines changed: 8626 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ config CLK_GLYMUR_DISPCC
2929
Say Y if you want to support display devices and functionality such as
3030
splash screen.
3131

32+
config CLK_GLYMUR_GCC
33+
tristate "GLYMUR Global Clock Controller"
34+
depends on ARM64 || COMPILE_TEST
35+
select QCOM_GDSC
36+
help
37+
Support for the global clock controller on GLYMUR devices.
38+
Say Y if you want to use peripheral devices such as UART, SPI,
39+
I2C, USB, UFS, SDCC, etc.
40+
3241
config CLK_GLYMUR_TCSRCC
3342
tristate "GLYMUR TCSR Clock Controller"
3443
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ obj-$(CONFIG_APQ_GCC_8084) += gcc-apq8084.o
2222
obj-$(CONFIG_APQ_MMCC_8084) += mmcc-apq8084.o
2323
obj-$(CONFIG_CLK_GFM_LPASS_SM8250) += lpass-gfm-sm8250.o
2424
obj-$(CONFIG_CLK_GLYMUR_DISPCC) += dispcc-glymur.o
25+
obj-$(CONFIG_CLK_GLYMUR_GCC) += gcc-glymur.o
2526
obj-$(CONFIG_CLK_GLYMUR_TCSRCC) += tcsrcc-glymur.o
2627
obj-$(CONFIG_CLK_X1E80100_CAMCC) += camcc-x1e80100.o
2728
obj-$(CONFIG_CLK_X1E80100_DISPCC) += dispcc-x1e80100.o

0 commit comments

Comments
 (0)