mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
72 lines
2.0 KiB
Diff
72 lines
2.0 KiB
Diff
|
From 007ad475ba7f0d5d4d3e43a06e46a8a46d31c9d2 Mon Sep 17 00:00:00 2001
|
|||
|
From: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
|
|||
|
Date: Thu, 14 Sep 2023 12:29:51 +0530
|
|||
|
Subject: [PATCH] clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from
|
|||
|
PLL clocks
|
|||
|
MIME-Version: 1.0
|
|||
|
Content-Type: text/plain; charset=UTF-8
|
|||
|
Content-Transfer-Encoding: 8bit
|
|||
|
|
|||
|
GPLL, NSS crypto PLL clock rates are fixed and shouldn't be scaled based
|
|||
|
on the request from dependent clocks. Doing so will result in the
|
|||
|
unexpected behaviour. So drop the CLK_SET_RATE_PARENT flag from the PLL
|
|||
|
clocks.
|
|||
|
|
|||
|
Cc: stable@vger.kernel.org
|
|||
|
Fixes: b8e7e519625f ("clk: qcom: ipq8074: add remaining PLL’s")
|
|||
|
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
|
|||
|
---
|
|||
|
drivers/clk/qcom/gcc-ipq8074.c | 6 ------
|
|||
|
1 file changed, 6 deletions(-)
|
|||
|
|
|||
|
--- a/drivers/clk/qcom/gcc-ipq8074.c
|
|||
|
+++ b/drivers/clk/qcom/gcc-ipq8074.c
|
|||
|
@@ -76,7 +76,6 @@ static struct clk_fixed_factor gpll0_out
|
|||
|
&gpll0_main.clkr.hw },
|
|||
|
.num_parents = 1,
|
|||
|
.ops = &clk_fixed_factor_ops,
|
|||
|
- .flags = CLK_SET_RATE_PARENT,
|
|||
|
},
|
|||
|
};
|
|||
|
|
|||
|
@@ -122,7 +121,6 @@ static struct clk_alpha_pll_postdiv gpll
|
|||
|
&gpll2_main.clkr.hw },
|
|||
|
.num_parents = 1,
|
|||
|
.ops = &clk_alpha_pll_postdiv_ro_ops,
|
|||
|
- .flags = CLK_SET_RATE_PARENT,
|
|||
|
},
|
|||
|
};
|
|||
|
|
|||
|
@@ -155,7 +153,6 @@ static struct clk_alpha_pll_postdiv gpll
|
|||
|
&gpll4_main.clkr.hw },
|
|||
|
.num_parents = 1,
|
|||
|
.ops = &clk_alpha_pll_postdiv_ro_ops,
|
|||
|
- .flags = CLK_SET_RATE_PARENT,
|
|||
|
},
|
|||
|
};
|
|||
|
|
|||
|
@@ -189,7 +186,6 @@ static struct clk_alpha_pll_postdiv gpll
|
|||
|
&gpll6_main.clkr.hw },
|
|||
|
.num_parents = 1,
|
|||
|
.ops = &clk_alpha_pll_postdiv_ro_ops,
|
|||
|
- .flags = CLK_SET_RATE_PARENT,
|
|||
|
},
|
|||
|
};
|
|||
|
|
|||
|
@@ -202,7 +198,6 @@ static struct clk_fixed_factor gpll6_out
|
|||
|
&gpll6_main.clkr.hw },
|
|||
|
.num_parents = 1,
|
|||
|
.ops = &clk_fixed_factor_ops,
|
|||
|
- .flags = CLK_SET_RATE_PARENT,
|
|||
|
},
|
|||
|
};
|
|||
|
|
|||
|
@@ -267,7 +262,6 @@ static struct clk_alpha_pll_postdiv nss_
|
|||
|
&nss_crypto_pll_main.clkr.hw },
|
|||
|
.num_parents = 1,
|
|||
|
.ops = &clk_alpha_pll_postdiv_ro_ops,
|
|||
|
- .flags = CLK_SET_RATE_PARENT,
|
|||
|
},
|
|||
|
};
|
|||
|
|