Skip to content

Commit 8f62718

Browse files
kholkandersson
authored andcommitted
clk: qcom: Add MSM8976/56 Global Clock Controller (GCC) driver
Add support for the global clock controller found on MSM8956 and MSM8976 SoCs. Since the multimedia clocks are actually in the GCC on these SoCs, this will allow drivers to probe and control basically all the required clocks. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Co-developed-by: Marijn Suijten <[email protected]> Signed-off-by: Marijn Suijten <[email protected]> Co-developed-by: Konrad Dybcio <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6d24d95 commit 8f62718

File tree

3 files changed

+4164
-0
lines changed

3 files changed

+4164
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ config MSM_MMCC_8974
265265
Say Y if you want to support multimedia devices such as display,
266266
graphics, video encode/decode, camera, etc.
267267

268+
config MSM_GCC_8976
269+
tristate "MSM8956/76 Global Clock Controller"
270+
select QCOM_GDSC
271+
help
272+
Support for the global clock controller on msm8956/76 devices.
273+
Say Y if you want to use peripheral devices such as UART, SPI,
274+
i2c, USB, SD/eMMC, SATA, PCIe, etc.
275+
268276
config MSM_MMCC_8994
269277
tristate "MSM8994 Multimedia Clock Controller"
270278
select MSM_GCC_8994

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ obj-$(CONFIG_MSM_GCC_8939) += gcc-msm8939.o
3636
obj-$(CONFIG_MSM_GCC_8953) += gcc-msm8953.o
3737
obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o
3838
obj-$(CONFIG_MSM_GCC_8974) += gcc-msm8974.o
39+
obj-$(CONFIG_MSM_GCC_8976) += gcc-msm8976.o
3940
obj-$(CONFIG_MSM_GCC_8994) += gcc-msm8994.o
4041
obj-$(CONFIG_MSM_GCC_8996) += gcc-msm8996.o
4142
obj-$(CONFIG_MSM_LCC_8960) += lcc-msm8960.o

0 commit comments

Comments
 (0)