clk: qcom: videocc-sm8150: Add missing PLL config property
authorSatya Priya Kakitapalli <quic_skakitap@quicinc.com>
Fri, 1 Dec 2023 09:50:26 +0000 (15:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:37 +0000 (15:35 -0800)
[ Upstream commit 71f130c9193f613d497f7245365ed05ffdb0a401 ]

When the driver was ported upstream, PLL test_ctl_hi1 register value
was omitted. Add it to ensure the PLLs are fully configured.

Fixes: 5658e8cf1a8a ("clk: qcom: add video clock controller driver for SM8150")
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231201-videocc-8150-v3-3-56bec3a5e443@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/videocc-sm8150.c

index 6a5f89f..52a9a45 100644 (file)
@@ -33,6 +33,7 @@ static struct alpha_pll_config video_pll0_config = {
        .config_ctl_val = 0x20485699,
        .config_ctl_hi_val = 0x00002267,
        .config_ctl_hi1_val = 0x00000024,
+       .test_ctl_hi1_val = 0x00000020,
        .user_ctl_val = 0x00000000,
        .user_ctl_hi_val = 0x00000805,
        .user_ctl_hi1_val = 0x000000D0,