Skip to content

Commit 99c21c7

Browse files
quic-kdybcioandersson
authored andcommitted
clk: qcom: Add X1P42100 GPUCC driver
The 8-core X1s have a different GPU subsystem compared to their bigger cousins, including the clocks part. Add the GPU clock controller driver to drive these. Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 089c09e commit 99c21c7

File tree

3 files changed

+597
-0
lines changed

3 files changed

+597
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ config CLK_X1E80100_TCSRCC
6464
Support for the TCSR clock controller on X1E80100 devices.
6565
Say Y if you want to use peripheral devices such as SD/UFS.
6666

67+
config CLK_X1P42100_GPUCC
68+
tristate "X1P42100 Graphics Clock Controller"
69+
depends on ARM64 || COMPILE_TEST
70+
select CLK_X1E8010_GCC
71+
help
72+
Support for the graphics clock controller on X1P42100 devices.
73+
Say Y if you want to support graphics controller devices and
74+
functionality such as 3D graphics.
75+
6776
config CLK_QCM2290_GPUCC
6877
tristate "QCM2290 Graphics Clock Controller"
6978
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ obj-$(CONFIG_CLK_X1E80100_DISPCC) += dispcc-x1e80100.o
2626
obj-$(CONFIG_CLK_X1E80100_GCC) += gcc-x1e80100.o
2727
obj-$(CONFIG_CLK_X1E80100_GPUCC) += gpucc-x1e80100.o
2828
obj-$(CONFIG_CLK_X1E80100_TCSRCC) += tcsrcc-x1e80100.o
29+
obj-$(CONFIG_CLK_X1P42100_GPUCC) += gpucc-x1p42100.o
2930
obj-$(CONFIG_CLK_QCM2290_GPUCC) += gpucc-qcm2290.o
3031
obj-$(CONFIG_IPQ_APSS_PLL) += apss-ipq-pll.o
3132
obj-$(CONFIG_IPQ_APSS_6018) += apss-ipq6018.o

0 commit comments

Comments
 (0)