Skip to content

Commit

Permalink
clk: qcom: add the GPUCC driver for sa8775p
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Shazad Hussain authored and Bjorn Andersson committed Apr 14, 2023
1 parent daa9e76 commit 0afa16a
Show file tree
Hide file tree
Showing 3 changed files with 635 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/clk/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,15 @@ config SA_GCC_8775P
Say Y if you want to use peripheral devices such as UART, SPI,
I2C, USB, UFS, SDCC, etc.

config SA_GPUCC_8775P
tristate "SA8775P Graphics clock controller"
select QCOM_GDSC
select SA_GCC_8775P
help
Support for the graphics clock controller on SA8775P devices.
Say Y if you want to support graphics controller devices and
functionality such as 3D graphics.

config SC_GCC_7180
tristate "SC7180 Global Clock Controller"
select QCOM_GDSC
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ obj-$(CONFIG_SC_DISPCC_7180) += dispcc-sc7180.o
obj-$(CONFIG_SC_DISPCC_7280) += dispcc-sc7280.o
obj-$(CONFIG_SC_DISPCC_8280XP) += dispcc-sc8280xp.o
obj-$(CONFIG_SA_GCC_8775P) += gcc-sa8775p.o
obj-$(CONFIG_SA_GPUCC_8775P) += gpucc-sa8775p.o
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
obj-$(CONFIG_SC_GCC_7280) += gcc-sc7280.o
obj-$(CONFIG_SC_GCC_8180X) += gcc-sc8180x.o
Expand Down
Loading

0 comments on commit 0afa16a

Please sign in to comment.