clk: qcom: gcc-ipq6018: update UBI32 PLL
authorRobert Marko <robimarko@gmail.com>
Fri, 26 May 2023 19:08:54 +0000 (21:08 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 26 May 2023 20:04:52 +0000 (13:04 -0700)
Update the UBI32 alpha PLL config to the latest values from the downstream
QCA 5.4 kernel.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230526190855.2941291-1-robimarko@gmail.com
drivers/clk/qcom/gcc-ipq6018.c

index 0cb4530207f770f3b8e6598b02da7941c56af457..80bbc7e2b2f35849e19c6821323f9ef75fb2cb51 100644 (file)
@@ -4149,15 +4149,20 @@ static struct clk_branch gcc_dcc_clk = {
 
 static const struct alpha_pll_config ubi32_pll_config = {
        .l = 0x3e,
-       .alpha = 0x57,
+       .alpha = 0x6667,
        .config_ctl_val = 0x240d6aa8,
        .config_ctl_hi_val = 0x3c2,
+       .config_ctl_val = 0x240d4828,
+       .config_ctl_hi_val = 0x6,
        .main_output_mask = BIT(0),
        .aux_output_mask = BIT(1),
        .pre_div_val = 0x0,
        .pre_div_mask = BIT(12),
        .post_div_val = 0x0,
        .post_div_mask = GENMASK(9, 8),
+       .alpha_en_mask = BIT(24),
+       .test_ctl_val = 0x1C0000C0,
+       .test_ctl_hi_val = 0x4000,
 };
 
 static const struct alpha_pll_config nss_crypto_pll_config = {