Re: [PATCH v3 04/10] clk: qcom: gcc: Add configurable PDM XO4 div clocks across targets
From: Konrad Dybcio
Date: Wed Dec 02 2026 - 07:15:50 EST
On 11/23/26 8:51 PM, Taniya Das wrote:
> Add PDM XO4 divider clocks and make the PDM XO4 branches propagate rate
> requests to them on QCS615, QCS8300, SA8775P, SC7280, SM8750, and
> Shikra. This lets GP_MND select the supported PDM source clock rates.
>
> Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
> Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
> ---
[...]
> --- a/drivers/clk/qcom/gcc-shikra.c
> +++ b/drivers/clk/qcom/gcc-shikra.c
> @@ -3191,6 +3191,20 @@ static struct clk_branch gcc_pdm_ahb_clk = {
> },
> };
>
> +static struct clk_regmap_div gcc_pdm_xo4_div_clk_src = {
> + .reg = 0x20028,
> + .shift = 0,
> + .width = 4,
My robot found out that on shikra, the register reference claims the
field is only 2 bits wide
Konrad