Skip to content

Commit b1e010c

Browse files
committed
clk: qcom: Add MSM8996 Global Clock Control (GCC) driver
Add support for the global clock controller found on MSM8996 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
1 parent 8ff1f4c commit b1e010c

5 files changed

Lines changed: 3771 additions & 0 deletions

File tree

‎Documentation/devicetree/bindings/clock/qcom,gcc.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Required properties :
1313
"qcom,gcc-msm8974"
1414
"qcom,gcc-msm8974pro"
1515
"qcom,gcc-msm8974pro-ac"
16+
"qcom,gcc-msm8996"
1617

1718
- reg : shall contain base register location and length
1819
- #clock-cells : shall contain 1

‎drivers/clk/qcom/Kconfig‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,11 @@ config MSM_MMCC_8974
106106
Support for the multimedia clock controller on msm8974 devices.
107107
Say Y if you want to support multimedia devices such as display,
108108
graphics, video encode/decode, camera, etc.
109+
110+
config MSM_GCC_8996
111+
tristate "MSM8996 Global Clock Controller"
112+
depends on COMMON_CLK_QCOM
113+
help
114+
Support for the global clock controller on msm8996 devices.
115+
Say Y if you want to use peripheral devices such as UART, SPI,
116+
i2c, USB, UFS, SD/eMMC, PCIe, etc.

‎drivers/clk/qcom/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ obj-$(CONFIG_MSM_GCC_8916) += gcc-msm8916.o
2121
obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o
2222
obj-$(CONFIG_MSM_LCC_8960) += lcc-msm8960.o
2323
obj-$(CONFIG_MSM_GCC_8974) += gcc-msm8974.o
24+
obj-$(CONFIG_MSM_GCC_8996) += gcc-msm8996.o
2425
obj-$(CONFIG_MSM_MMCC_8960) += mmcc-msm8960.o
2526
obj-$(CONFIG_MSM_MMCC_8974) += mmcc-msm8974.o

0 commit comments

Comments
 (0)