Re: [PATCH v2 01/12] dt-bindings: clock: qcom: Add bindings for PDM GP_MN clock divider

From: Taniya Das

Date: Mon Nov 09 2026 - 04:11:56 EST




On 11/2/2026 8:38 PM, Konrad Dybcio wrote:
>>>> + assigned-clocks:
>>>> + maxItems: 1
>>>> + description: Parent clock phandle used to set the input frequency.
>>>> +
>>>> + assigned-clock-rates:
>>>> + maxItems: 1
>>>> + description: |
>>>> + Rate for the parent clock in Hz.
>>>> + Supported rates: 19200000, 9600000, 6400000, 4800000.
>>> Neither assigned-clocks nor assigned-clock-rates should be needed.
>>> Parent clock is outside of scope of this binding.
>>>
>> Sure I will remove, but the parent clock input is a requirement of the
>> Hardware and the output of this module entirely depends on the above
>> ranges of frequencies mentioned and that is the reason to keep the rates
>> specifically. I will capture it in the description and hope that should
>> be fine.
> So this is essentially xo, xo/2, xo/3, xo/4. The gcc_pdm_xo4_div_clk_src
> you added is defined as a 4-wide divider - do we need to limit that
> divider's range, or would div=0b1111=xo/15 also work?


Konrad, the divider is valid till 15(i.e 1.2MHz input frequency is
valid). I will update the frequency range in the next patchset in the
description if you think that is the way we should go about.

--
Thanks,
Taniya Das