Skip to content

Commit 567d776

Browse files
committed
FROMLIST: 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. Link: https://lore.kernel.org/r/20251125-kaanapali-mmcc-v2-v2-11-fb44e78f300b@oss.qualcomm.com Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
1 parent b873ef8 commit 567d776

File tree

4 files changed

+580
-1
lines changed

4 files changed

+580
-1
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ config CLK_KAANAPALI_DISPCC
6666
Say Y if you want to support display devices and functionality such as
6767
splash screen.
6868

69-
<<<<<<< HEAD
7069
config CLK_KAANAPALI_GCC
7170
tristate "Kaanapali Global Clock Controller"
7271
depends on ARM64 || COMPILE_TEST
@@ -76,6 +75,15 @@ config CLK_KAANAPALI_GCC
7675
Say Y if you want to use peripheral devices such as UART,
7776
SPI, I2C, USB, SD/UFS, PCIe etc.
7877

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+
7987
config CLK_KAANAPALI_TCSRCC
8088
tristate "Kaanapali TCSR Clock Controller"
8189
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)