Skip to content

Commit 161b7c4

Browse files
Rajendra Nayakandersson
authored andcommitted
clk: qcom: Add Global Clock controller (GCC) driver for X1E80100
Add support for the global clock controller found on X1E80100 based devices. Co-developed-by: Abel Vesa <[email protected]> Signed-off-by: Abel Vesa <[email protected]> Signed-off-by: Rajendra Nayak <[email protected]> Co-developed-by: Sibi Sankar <[email protected]> Signed-off-by: Sibi Sankar <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Reviewed-by: Bryan O'Donoghue <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 12c4ffc commit 161b7c4

File tree

3 files changed

+6818
-0
lines changed

3 files changed

+6818
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ menuconfig COMMON_CLK_QCOM
2020

2121
if COMMON_CLK_QCOM
2222

23+
config CLK_X1E80100_GCC
24+
tristate "X1E80100 Global Clock Controller"
25+
depends on ARM64 || COMPILE_TEST
26+
select QCOM_GDSC
27+
help
28+
Support for the global clock controller on Qualcomm Technologies, Inc
29+
X1E80100 devices.
30+
Say Y if you want to use peripheral devices such as UART, SPI, I2C,
31+
USB, UFS, SD/eMMC, PCIe, etc.
32+
2333
config QCOM_A53PLL
2434
tristate "MSM8916 A53 PLL"
2535
help

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ clk-qcom-$(CONFIG_QCOM_GDSC) += gdsc.o
2121
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
24+
obj-$(CONFIG_CLK_X1E80100_GCC) += gcc-x1e80100.o
2425
obj-$(CONFIG_IPQ_APSS_PLL) += apss-ipq-pll.o
2526
obj-$(CONFIG_IPQ_APSS_6018) += apss-ipq6018.o
2627
obj-$(CONFIG_IPQ_GCC_4019) += gcc-ipq4019.o

0 commit comments

Comments
 (0)