drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
If the dispcc uses CLK_OPS_PARENT_ENABLE (e.g. on QCM2290), CCF can try enabling VCO before the rate has been programmed. This can cause clock lockups and/or other boot issues. Program the VCO to the minimal PLL rate if the read rate is 0 Hz. Cc: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by:Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reported-by:
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Reported-by:
Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by:
Konrad Dybcio <konrad.dybcio@linaro.org> Fixes: f079f6d9 ("drm/msm/dsi: Add PHY/PLL for 8x96") Patchwork: https://patchwork.freedesktop.org/patch/534813/ Link: https://lore.kernel.org/r/20230501011257.3460103-1-dmitry.baryshkov@linaro.orgSigned-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Showing
Please register or sign in to comment