Skip to content

Commit 3d89d52

Browse files
Kathiravan Tandersson
authored andcommitted
clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC
Add support for the global clock controller found on IPQ5332 SoC. PLL used on IPQ5332 is of type Stromer Plus PLL, however the programming sequence is same as Stromer PLL, so lets re-use the Stromer PLL ops. Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230307062232.4889-5-quic_kathirav@quicinc.com
1 parent 0d6fd7f commit 3d89d52

3 files changed

Lines changed: 3822 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ config IPQ_GCC_4019
141141
Say Y if you want to use peripheral devices such as UART, SPI,
142142
i2c, USB, SD/eMMC, etc.
143143

144+
config IPQ_GCC_5332
145+
tristate "IPQ5332 Global Clock Controller"
146+
depends on ARM64 || COMPILE_TEST
147+
help
148+
Support for the global clock controller on ipq5332 devices.
149+
Say Y if you want to use peripheral devices such as UART, SPI,
150+
i2c, USB, SD/eMMC, etc.
151+
144152
config IPQ_GCC_6018
145153
tristate "IPQ6018 Global Clock Controller"
146154
help

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ obj-$(CONFIG_CLK_GFM_LPASS_SM8250) += lpass-gfm-sm8250.o
2424
obj-$(CONFIG_IPQ_APSS_PLL) += apss-ipq-pll.o
2525
obj-$(CONFIG_IPQ_APSS_6018) += apss-ipq6018.o
2626
obj-$(CONFIG_IPQ_GCC_4019) += gcc-ipq4019.o
27+
obj-$(CONFIG_IPQ_GCC_5332) += gcc-ipq5332.o
2728
obj-$(CONFIG_IPQ_GCC_6018) += gcc-ipq6018.o
2829
obj-$(CONFIG_IPQ_GCC_806X) += gcc-ipq806x.o
2930
obj-$(CONFIG_IPQ_GCC_8074) += gcc-ipq8074.o

0 commit comments

Comments
 (0)