Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit db0c944

Browse files
vinodkoulandersson
authored andcommitted
clk: qcom: Add clock driver for SM8450
This adds Global Clock controller (GCC) driver for SM8450 SoC including the gcc resets and gdsc. This patch is based on initial code downstream by Vivek Aknurwar <viveka@codeaurora.org> Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211207114003.100693-3-vkoul@kernel.org
1 parent fe5cf1c commit db0c944

File tree

3 files changed

+3313
-0
lines changed

3 files changed

+3313
-0
lines changed

drivers/clk/qcom/Kconfig

+8
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,14 @@ config SM_GCC_8350
626626
Say Y if you want to use peripheral devices such as UART,
627627
SPI, I2C, USB, SD/UFS, PCIe etc.
628628

629+
config SM_GCC_8450
630+
tristate "SM8450 Global Clock Controller"
631+
select QCOM_GDSC
632+
help
633+
Support for the global clock controller on SM8450 devices.
634+
Say Y if you want to use peripheral devices such as UART,
635+
SPI, I2C, USB, SD/UFS, PCIe etc.
636+
629637
config SM_GPUCC_8150
630638
tristate "SM8150 Graphics Clock Controller"
631639
select SM_GCC_8150

drivers/clk/qcom/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ obj-$(CONFIG_SM_GCC_6350) += gcc-sm6350.o
9191
obj-$(CONFIG_SM_GCC_8150) += gcc-sm8150.o
9292
obj-$(CONFIG_SM_GCC_8250) += gcc-sm8250.o
9393
obj-$(CONFIG_SM_GCC_8350) += gcc-sm8350.o
94+
obj-$(CONFIG_SM_GCC_8450) += gcc-sm8450.o
9495
obj-$(CONFIG_SM_GPUCC_8150) += gpucc-sm8150.o
9596
obj-$(CONFIG_SM_GPUCC_8250) += gpucc-sm8250.o
9697
obj-$(CONFIG_SM_VIDEOCC_8150) += videocc-sm8150.o

0 commit comments

Comments
 (0)