Add relevant patches from upstream, up to v5.16-rc6. The gaps in the patch numbersing are either patches that were picked into the stable kernel (6.12.y), or that are already backported in target/linux/generic. The gaps makes it easy for me to pick these patches from my working kernel git branch. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18796 Signed-off-by: Robert Marko <robimarko@gmail.com>
49 lines
1.7 KiB
Diff
49 lines
1.7 KiB
Diff
From c4e7d95921b074980ffd389254bcbfc045dd2a49 Mon Sep 17 00:00:00 2001
|
|
From: Devi Priya <quic_devipriy@quicinc.com>
|
|
Date: Thu, 13 Mar 2025 16:33:55 +0530
|
|
Subject: [PATCH 20/22] v6.15: clk: qcom: gcc-ipq9574: Add support for
|
|
gpll0_out_aux clock
|
|
|
|
Add support for gpll0_out_aux clock which acts as the parent for
|
|
certain networking subsystem (nss) clocks.
|
|
|
|
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
|
|
Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
|
|
Link: https://lore.kernel.org/r/20250313110359.242491-3-quic_mmanikan@quicinc.com
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
---
|
|
drivers/clk/qcom/gcc-ipq9574.c | 15 +++++++++++++++
|
|
1 file changed, 15 insertions(+)
|
|
|
|
--- a/drivers/clk/qcom/gcc-ipq9574.c
|
|
+++ b/drivers/clk/qcom/gcc-ipq9574.c
|
|
@@ -108,6 +108,20 @@ static struct clk_alpha_pll_postdiv gpll
|
|
},
|
|
};
|
|
|
|
+static struct clk_alpha_pll_postdiv gpll0_out_aux = {
|
|
+ .offset = 0x20000,
|
|
+ .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
|
|
+ .width = 4,
|
|
+ .clkr.hw.init = &(const struct clk_init_data) {
|
|
+ .name = "gpll0_out_aux",
|
|
+ .parent_hws = (const struct clk_hw *[]) {
|
|
+ &gpll0_main.clkr.hw
|
|
+ },
|
|
+ .num_parents = 1,
|
|
+ .ops = &clk_alpha_pll_postdiv_ro_ops,
|
|
+ },
|
|
+};
|
|
+
|
|
static struct clk_alpha_pll gpll4_main = {
|
|
.offset = 0x22000,
|
|
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
|
|
@@ -4222,6 +4236,7 @@ static struct clk_regmap *gcc_ipq9574_cl
|
|
[GCC_PCIE1_PIPE_CLK] = &gcc_pcie1_pipe_clk.clkr,
|
|
[GCC_PCIE2_PIPE_CLK] = &gcc_pcie2_pipe_clk.clkr,
|
|
[GCC_PCIE3_PIPE_CLK] = &gcc_pcie3_pipe_clk.clkr,
|
|
+ [GPLL0_OUT_AUX] = &gpll0_out_aux.clkr,
|
|
};
|
|
|
|
static const struct qcom_reset_map gcc_ipq9574_resets[] = {
|