Skip to content

Commit 0afa16a

Browse files
Shazad Hussainandersson
authored andcommitted
clk: qcom: add the GPUCC driver for sa8775p
Add the clock driver for the Qualcomm Graphics Clock control module. Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com> [Bartosz: make ready for upstream] Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230411125910.401075-3-brgl@bgdev.pl
1 parent daa9e76 commit 0afa16a

File tree

3 files changed

+635
-0
lines changed

3 files changed

+635
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,15 @@ config SA_GCC_8775P
445445
Say Y if you want to use peripheral devices such as UART, SPI,
446446
I2C, USB, UFS, SDCC, etc.
447447

448+
config SA_GPUCC_8775P
449+
tristate "SA8775P Graphics clock controller"
450+
select QCOM_GDSC
451+
select SA_GCC_8775P
452+
help
453+
Support for the graphics clock controller on SA8775P devices.
454+
Say Y if you want to support graphics controller devices and
455+
functionality such as 3D graphics.
456+
448457
config SC_GCC_7180
449458
tristate "SC7180 Global Clock Controller"
450459
select QCOM_GDSC

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ obj-$(CONFIG_SC_DISPCC_7180) += dispcc-sc7180.o
7272
obj-$(CONFIG_SC_DISPCC_7280) += dispcc-sc7280.o
7373
obj-$(CONFIG_SC_DISPCC_8280XP) += dispcc-sc8280xp.o
7474
obj-$(CONFIG_SA_GCC_8775P) += gcc-sa8775p.o
75+
obj-$(CONFIG_SA_GPUCC_8775P) += gpucc-sa8775p.o
7576
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
7677
obj-$(CONFIG_SC_GCC_7280) += gcc-sc7280.o
7778
obj-$(CONFIG_SC_GCC_8180X) += gcc-sc8180x.o

0 commit comments

Comments
 (0)