]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:46 +0000 (14:23 +0200)
commit40afe8aa6c445c2a9f4abea20cd14c5028ddb375
treee44697d7e13b43857f0672b1ae29edd418b43f59
parentea82398f2c201d65f37b694dcf715d7ce6505c51
clk: qcom: ipq8074: fix NSS core PLL-s

[ Upstream commit 73d8880ae12d406f2c93f37419dd6315c371825e ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-ipq8074.c