Skip to content

Commit fd0b632

Browse files
Luo Jieandersson
authored andcommitted
clk: qcom: Add NSS clock controller driver for IPQ5424
NSS (Network Subsystem) clock controller provides the clocks and resets to the networking hardware blocks of the IPQ5424 SoC. The icc-clk framework is used to enable NoC related clocks to create paths so that the networking blocks can connect to these NoCs. Acked-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Luo Jie <quic_luoj@quicinc.com> Link: https://lore.kernel.org/r/20251014-qcom_ipq5424_nsscc-v7-8-081f4956be02@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent d08882c commit fd0b632

3 files changed

Lines changed: 1352 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,17 @@ config IPQ_GCC_9574
317317
i2c, USB, SD/eMMC, etc. Select this for the root clock
318318
of ipq9574.
319319

320+
config IPQ_NSSCC_5424
321+
tristate "IPQ5424 NSS Clock Controller"
322+
depends on ARM64 || COMPILE_TEST
323+
depends on IPQ_GCC_5424
324+
help
325+
Support for NSS clock controller on ipq5424 devices.
326+
NSSCC receives the clock sources from GCC, CMN PLL and UNIPHY (PCS).
327+
It in turn supplies the clocks and resets to the networking hardware.
328+
Say Y or M if you want to enable networking function on the
329+
IPQ5424 devices.
330+
320331
config IPQ_NSSCC_9574
321332
tristate "IPQ9574 NSS Clock Controller"
322333
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ obj-$(CONFIG_IPQ_GCC_6018) += gcc-ipq6018.o
4343
obj-$(CONFIG_IPQ_GCC_806X) += gcc-ipq806x.o
4444
obj-$(CONFIG_IPQ_GCC_8074) += gcc-ipq8074.o
4545
obj-$(CONFIG_IPQ_GCC_9574) += gcc-ipq9574.o
46+
obj-$(CONFIG_IPQ_NSSCC_5424) += nsscc-ipq5424.o
4647
obj-$(CONFIG_IPQ_NSSCC_9574) += nsscc-ipq9574.o
4748
obj-$(CONFIG_IPQ_LCC_806X) += lcc-ipq806x.o
4849
obj-$(CONFIG_IPQ_NSSCC_QCA8K) += nsscc-qca8k.o

0 commit comments

Comments
 (0)