Skip to content

Commit 685ec34

Browse files
taniyadas20andersson
authored andcommitted
clk: qcom: Add support for GPUCC and GXCLK for Kaanapali
Support the graphics clock controller for Kaanapali for Graphics SW driver to use the clocks. GXCLKCTL (Graphics GX Clock Controller) is a block dedicated to managing clocks for the GPU subsystem on GX power domain. The GX clock controller driver manages only the GX GDSC and the rest of the resources of the controller are managed by the firmware. Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260107-kaanapali-mmcc-v3-v3-11-8e10adc236a8@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent a4ceaf4 commit 685ec34

4 files changed

Lines changed: 568 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ config CLK_KAANAPALI_GCC
7575
Say Y if you want to use peripheral devices such as UART,
7676
SPI, I2C, USB, SD/UFS, PCIe etc.
7777

78+
config CLK_KAANAPALI_GPUCC
79+
tristate "Kaanapali Graphics Clock Controller"
80+
depends on ARM64 || COMPILE_TEST
81+
select CLK_KAANAPALI_GCC
82+
help
83+
Support for the graphics clock controller on Kaanapali devices.
84+
Say Y if you want to support graphics controller devices and
85+
functionality such as 3D graphics.
86+
7887
config CLK_KAANAPALI_TCSRCC
7988
tristate "Kaanapali TCSR Clock Controller"
8089
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ obj-$(CONFIG_CLK_GLYMUR_TCSRCC) += tcsrcc-glymur.o
2727
obj-$(CONFIG_CLK_KAANAPALI_CAMCC) += cambistmclkcc-kaanapali.o camcc-kaanapali.o
2828
obj-$(CONFIG_CLK_KAANAPALI_DISPCC) += dispcc-kaanapali.o
2929
obj-$(CONFIG_CLK_KAANAPALI_GCC) += gcc-kaanapali.o
30+
obj-$(CONFIG_CLK_KAANAPALI_GPUCC) += gpucc-kaanapali.o gxclkctl-kaanapali.o
3031
obj-$(CONFIG_CLK_KAANAPALI_TCSRCC) += tcsrcc-kaanapali.o
3132
obj-$(CONFIG_CLK_KAANAPALI_VIDEOCC) += videocc-kaanapali.o
3233
obj-$(CONFIG_CLK_X1E80100_CAMCC) += camcc-x1e80100.o

0 commit comments

Comments
 (0)