Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: ipq-cmn-pll: Add IPQ6018 SoC support

The CMN PLL in IPQ6018 SoC supplies fixed clocks to the networking
subsystem: bias_pll_cc_clk at 300 MHz and bias_pll_nss_noc_clk at
416.5 MHz.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20260311183942.10134-3-ansuelsmth@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

John Crispin and committed by
Bjorn Andersson
97eb2ac5 a5766600

+8
+8
drivers/clk/qcom/ipq-cmn-pll.c
··· 52 52 #include <dt-bindings/clock/qcom,ipq-cmn-pll.h> 53 53 #include <dt-bindings/clock/qcom,ipq5018-cmn-pll.h> 54 54 #include <dt-bindings/clock/qcom,ipq5424-cmn-pll.h> 55 + #include <dt-bindings/clock/qcom,ipq6018-cmn-pll.h> 55 56 56 57 #define CMN_PLL_REFCLK_SRC_SELECTION 0x28 57 58 #define CMN_PLL_REFCLK_SRC_DIV GENMASK(9, 8) ··· 115 114 CLK_PLL_OUTPUT(IPQ5018_XO_24MHZ_CLK, "xo-24mhz", 24000000UL), 116 115 CLK_PLL_OUTPUT(IPQ5018_SLEEP_32KHZ_CLK, "sleep-32khz", 32000UL), 117 116 CLK_PLL_OUTPUT(IPQ5018_ETH_50MHZ_CLK, "eth-50mhz", 50000000UL), 117 + { /* Sentinel */ } 118 + }; 119 + 120 + static const struct cmn_pll_fixed_output_clk ipq6018_output_clks[] = { 121 + CLK_PLL_OUTPUT(IPQ6018_BIAS_PLL_CC_CLK, "bias_pll_cc_clk", 300000000UL), 122 + CLK_PLL_OUTPUT(IPQ6018_BIAS_PLL_NSS_NOC_CLK, "bias_pll_nss_noc_clk", 416500000UL), 118 123 { /* Sentinel */ } 119 124 }; 120 125 ··· 455 448 static const struct of_device_id ipq_cmn_pll_clk_ids[] = { 456 449 { .compatible = "qcom,ipq5018-cmn-pll", .data = &ipq5018_output_clks }, 457 450 { .compatible = "qcom,ipq5424-cmn-pll", .data = &ipq5424_output_clks }, 451 + { .compatible = "qcom,ipq6018-cmn-pll", .data = &ipq6018_output_clks }, 458 452 { .compatible = "qcom,ipq9574-cmn-pll", .data = &ipq9574_output_clks }, 459 453 { } 460 454 };