clk: qcom: add the GCC driver for sa8775p
Add support for the Global Clock Controller found in the QTI SA8775P platforms. Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com> [Bartosz: made the driver ready for upstream] Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> [bjorn: Moved to core_initcall(), per request of Konrad] Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230117180429.305266-3-brgl@bgdev.pl
This commit is contained in:
parent
0fff9fa043
commit
08c51ceb12
3 changed files with 4815 additions and 0 deletions
|
@ -410,6 +410,15 @@ config SC_DISPCC_8280XP
|
||||||
Say Y if you want to support display devices and functionality such as
|
Say Y if you want to support display devices and functionality such as
|
||||||
splash screen.
|
splash screen.
|
||||||
|
|
||||||
|
config SA_GCC_8775P
|
||||||
|
tristate "SA8775 Global Clock Controller"
|
||||||
|
select QCOM_GDSC
|
||||||
|
depends on COMMON_CLK_QCOM
|
||||||
|
help
|
||||||
|
Support for the global clock controller on SA8775 devices.
|
||||||
|
Say Y if you want to use peripheral devices such as UART, SPI,
|
||||||
|
I2C, USB, UFS, SDCC, etc.
|
||||||
|
|
||||||
config SC_GCC_7180
|
config SC_GCC_7180
|
||||||
tristate "SC7180 Global Clock Controller"
|
tristate "SC7180 Global Clock Controller"
|
||||||
select QCOM_GDSC
|
select QCOM_GDSC
|
||||||
|
|
|
@ -67,6 +67,7 @@ obj-$(CONFIG_SC_CAMCC_7280) += camcc-sc7280.o
|
||||||
obj-$(CONFIG_SC_DISPCC_7180) += dispcc-sc7180.o
|
obj-$(CONFIG_SC_DISPCC_7180) += dispcc-sc7180.o
|
||||||
obj-$(CONFIG_SC_DISPCC_7280) += dispcc-sc7280.o
|
obj-$(CONFIG_SC_DISPCC_7280) += dispcc-sc7280.o
|
||||||
obj-$(CONFIG_SC_DISPCC_8280XP) += dispcc-sc8280xp.o
|
obj-$(CONFIG_SC_DISPCC_8280XP) += dispcc-sc8280xp.o
|
||||||
|
obj-$(CONFIG_SA_GCC_8775P) += gcc-sa8775p.o
|
||||||
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
|
obj-$(CONFIG_SC_GCC_7180) += gcc-sc7180.o
|
||||||
obj-$(CONFIG_SC_GCC_7280) += gcc-sc7280.o
|
obj-$(CONFIG_SC_GCC_7280) += gcc-sc7280.o
|
||||||
obj-$(CONFIG_SC_GCC_8180X) += gcc-sc8180x.o
|
obj-$(CONFIG_SC_GCC_8180X) += gcc-sc8180x.o
|
||||||
|
|
4805
drivers/clk/qcom/gcc-sa8775p.c
Normal file
4805
drivers/clk/qcom/gcc-sa8775p.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue