Skip to content

Commit 4e36f8a

Browse files
blogicandersson
authored andcommitted
clk: qcom: ipq-cmn-pll: Add IPQ8074 SoC support
The CMN PLL in IPQ8074 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-5-ansuelsmth@gmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 7156c65 commit 4e36f8a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/clk/qcom/ipq-cmn-pll.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#include <dt-bindings/clock/qcom,ipq5018-cmn-pll.h>
5454
#include <dt-bindings/clock/qcom,ipq5424-cmn-pll.h>
5555
#include <dt-bindings/clock/qcom,ipq6018-cmn-pll.h>
56+
#include <dt-bindings/clock/qcom,ipq8074-cmn-pll.h>
5657

5758
#define CMN_PLL_REFCLK_SRC_SELECTION 0x28
5859
#define CMN_PLL_REFCLK_SRC_DIV GENMASK(9, 8)
@@ -124,6 +125,12 @@ static const struct cmn_pll_fixed_output_clk ipq6018_output_clks[] = {
124125
{ /* Sentinel */ }
125126
};
126127

128+
static const struct cmn_pll_fixed_output_clk ipq8074_output_clks[] = {
129+
CLK_PLL_OUTPUT(IPQ8074_BIAS_PLL_CC_CLK, "bias_pll_cc_clk", 300000000UL),
130+
CLK_PLL_OUTPUT(IPQ8074_BIAS_PLL_NSS_NOC_CLK, "bias_pll_nss_noc_clk", 416500000UL),
131+
{ /* Sentinel */ }
132+
};
133+
127134
static const struct cmn_pll_fixed_output_clk ipq5424_output_clks[] = {
128135
CLK_PLL_OUTPUT(IPQ5424_XO_24MHZ_CLK, "xo-24mhz", 24000000UL),
129136
CLK_PLL_OUTPUT(IPQ5424_SLEEP_32KHZ_CLK, "sleep-32khz", 32000UL),
@@ -456,6 +463,7 @@ static const struct of_device_id ipq_cmn_pll_clk_ids[] = {
456463
{ .compatible = "qcom,ipq5018-cmn-pll", .data = &ipq5018_output_clks },
457464
{ .compatible = "qcom,ipq5424-cmn-pll", .data = &ipq5424_output_clks },
458465
{ .compatible = "qcom,ipq6018-cmn-pll", .data = &ipq6018_output_clks },
466+
{ .compatible = "qcom,ipq8074-cmn-pll", .data = &ipq8074_output_clks },
459467
{ .compatible = "qcom,ipq9574-cmn-pll", .data = &ipq9574_output_clks },
460468
{ }
461469
};

0 commit comments

Comments
 (0)