]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: ipq8074: fix NSS core PLL-s
authorRobert Marko <robimarko@gmail.com>
Sun, 15 May 2022 21:00:38 +0000 (23:00 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Jun 2022 23:06:13 +0000 (18:06 -0500)
commit73d8880ae12d406f2c93f37419dd6315c371825e
treeb3e1ea3c6e024ee31394d150212bc658c9c6e278
parent43ef2872d724a88a705cd27f99b3de2c85456705
clk: qcom: ipq8074: fix NSS core PLL-s

Like in IPQ6018 the NSS related Alpha PLL-s require initial configuration
to work.

So, obtain the regmap that is required for the Alpha PLL configuration
and thus utilize the qcom_cc_really_probe() as we already have the regmap.
Then utilize the Alpha PLL configs from the downstream QCA 5.4 based
kernel to configure them.

This fixes the UBI32 and NSS crypto PLL-s failing to get enabled by the
kernel.

Fixes: 12b17706734f ("clk: qcom: ipq8074: add remaining PLL’s")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220515210048.483898-1-robimarko@gmail.com
drivers/clk/qcom/gcc-ipq8074.c