Re: [PATCH 1/5] dt-bindings: clock: qcom: Add bindings for PDM GP_MN clock divider
From: Konrad Dybcio
Date: Tue Jun 09 2026 - 09:33:47 EST
On 6/2/26 5:21 PM, Taniya Das wrote:
> Add device tree bindings for the Qualcomm Peripheral Web's PDM GP_MN
> clock divider. The hardware generates a fractional output frequency
> from a fixed input clock (typically TCXO4) using the relation
> Fout = Fin * (M / N), with duty cycle controlled by a separate D
> register. The clock output is routed over a gpio controlled pin.
>
> Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
> ---
[...]
> + clock-output-names:
> + maxItems: 1
This should be deferred to the driver
> +
> + pinctrl-0:
> + description: Pin configuration for the GP_MN output in the active state.
> +
> + pinctrl-names:
> + items:
> + - const: active
I think these 2 are always allowed/defined
> +
> + 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.
Likewise, we could simply set_rate on the GCC clock which is the
parent of this one, via something like CLK_SET_RATE_PARENT
Konrad