Re: [PATCH 7/9] clk: qcom: clk-alpha-pll: Update the PLL support for cal_l

From: Konrad Dybcio
Date: Thu Sep 25 2025 - 05:33:21 EST


On 9/25/25 12:58 AM, Jingyi Wang wrote:
> From: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
>
> Recent QCOM PLLs require the CAL_L field to be programmed according to
> specific hardware recommendations, rather than using the legacy default
> value of 0x44. Hardcoding this value can lead to suboptimal or incorrect
> behavior on newer platforms.
>
> To address this, introduce a `cal_l` field in the PLL configuration
> structure, allowing CAL_L to be set explicitly based on platform
> requirements. This improves flexibility and ensures correct PLL
> initialization across different hardware variants.
>
> Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
> Signed-off-by: Jingyi Wang <jingyi.wang@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad