base-files: sysupgrade: include uci-defaults script disabling services
[openwrt/staging/jow.git] / target / linux / qualcommax / patches-6.1 / 0033-v6.5-clk-qcom-gcc-ipq6018-update-UBI32-PLL.patch
1 From 91e7c87f0ec1d644afb65cf3a16ded874c9d4ab9 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Fri, 26 May 2023 21:08:54 +0200
4 Subject: [PATCH] clk: qcom: gcc-ipq6018: update UBI32 PLL
5
6 Update the UBI32 alpha PLL config to the latest values from the downstream
7 QCA 5.4 kernel.
8
9 Signed-off-by: Robert Marko <robimarko@gmail.com>
10 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
11 Link: https://lore.kernel.org/r/20230526190855.2941291-1-robimarko@gmail.com
12 ---
13 drivers/clk/qcom/gcc-ipq6018.c | 7 ++++++-
14 1 file changed, 6 insertions(+), 1 deletion(-)
15
16 --- a/drivers/clk/qcom/gcc-ipq6018.c
17 +++ b/drivers/clk/qcom/gcc-ipq6018.c
18 @@ -4143,15 +4143,20 @@ static struct clk_branch gcc_dcc_clk = {
19
20 static const struct alpha_pll_config ubi32_pll_config = {
21 .l = 0x3e,
22 - .alpha = 0x57,
23 + .alpha = 0x6667,
24 .config_ctl_val = 0x240d6aa8,
25 .config_ctl_hi_val = 0x3c2,
26 + .config_ctl_val = 0x240d4828,
27 + .config_ctl_hi_val = 0x6,
28 .main_output_mask = BIT(0),
29 .aux_output_mask = BIT(1),
30 .pre_div_val = 0x0,
31 .pre_div_mask = BIT(12),
32 .post_div_val = 0x0,
33 .post_div_mask = GENMASK(9, 8),
34 + .alpha_en_mask = BIT(24),
35 + .test_ctl_val = 0x1C0000C0,
36 + .test_ctl_hi_val = 0x4000,
37 };
38
39 static const struct alpha_pll_config nss_crypto_pll_config = {