Skip to content

Commit 5af11ac

Browse files
quic-kdybcioandersson
authored andcommitted
clk: qcom: Add a driver for SM8750 GPU clocks
Support the graphics clock controller for SM8750 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. Update the compatible for Graphics GX Clock Controller for SM8750 as the GX clock controller is a reuse of the Kaanapali driver. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Co-developed-by: Taniya Das <taniya.das@oss.qualcomm.com> Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260305-gpucc_sm8750_v2-v5-2-78292b40b053@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 4aeadf8 commit 5af11ac

4 files changed

Lines changed: 484 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,6 +1533,15 @@ config SM_GPUCC_8650
15331533
Say Y if you want to support graphics controller devices and
15341534
functionality such as 3D graphics.
15351535

1536+
config SM_GPUCC_8750
1537+
tristate "SM8750 Graphics Clock Controller"
1538+
depends on ARM64 || COMPILE_TEST
1539+
select SM_GCC_8750
1540+
help
1541+
Support for the graphics clock controller on SM8750 devices.
1542+
Say Y if you want to support graphics controller devices and
1543+
functionality such as 3D graphics.
1544+
15361545
config SM_LPASSCC_6115
15371546
tristate "SM6115 Low Power Audio Subsystem (LPASS) Clock Controller"
15381547
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ obj-$(CONFIG_SM_GPUCC_8350) += gpucc-sm8350.o
186186
obj-$(CONFIG_SM_GPUCC_8450) += gpucc-sm8450.o
187187
obj-$(CONFIG_SM_GPUCC_8550) += gpucc-sm8550.o
188188
obj-$(CONFIG_SM_GPUCC_8650) += gpucc-sm8650.o
189+
obj-$(CONFIG_SM_GPUCC_8750) += gpucc-sm8750.o gxclkctl-kaanapali.o
189190
obj-$(CONFIG_SM_GPUCC_MILOS) += gpucc-milos.o
190191
obj-$(CONFIG_SM_LPASSCC_6115) += lpasscc-sm6115.o
191192
obj-$(CONFIG_SM_TCSRCC_8550) += tcsrcc-sm8550.o

0 commit comments

Comments
 (0)