Skip to content

Commit 88174d5

Browse files
lweiss-fairphoneandersson
authored andcommitted
clk: qcom: Add Global Clock controller (GCC) driver for Milos
Add support for the global clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 95ba682 commit 88174d5

File tree

3 files changed

+3235
-0
lines changed

3 files changed

+3235
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,15 @@ config SM_GCC_7150
11661166
Say Y if you want to use peripheral devices such as UART,
11671167
SPI, I2C, USB, SD/UFS, PCIe etc.
11681168

1169+
config SM_GCC_MILOS
1170+
tristate "Milos Global Clock Controller"
1171+
depends on ARM64 || COMPILE_TEST
1172+
select QCOM_GDSC
1173+
help
1174+
Support for the global clock controller on Milos devices.
1175+
Say Y if you want to use peripheral devices such as UART,
1176+
SPI, I2C, USB, SD/UFS, PCIe etc.
1177+
11691178
config SM_GCC_8150
11701179
tristate "SM8150 Global Clock Controller"
11711180
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ obj-$(CONFIG_SM_GCC_8450) += gcc-sm8450.o
154154
obj-$(CONFIG_SM_GCC_8550) += gcc-sm8550.o
155155
obj-$(CONFIG_SM_GCC_8650) += gcc-sm8650.o
156156
obj-$(CONFIG_SM_GCC_8750) += gcc-sm8750.o
157+
obj-$(CONFIG_SM_GCC_MILOS) += gcc-milos.o
157158
obj-$(CONFIG_SM_GPUCC_4450) += gpucc-sm4450.o
158159
obj-$(CONFIG_SM_GPUCC_6115) += gpucc-sm6115.o
159160
obj-$(CONFIG_SM_GPUCC_6125) += gpucc-sm6125.o

0 commit comments

Comments
 (0)