Re: [PATCH 1/5] dt-bindings: clock: qcom: Add bindings for PDM GP_MN clock divider
From: Taniya Das
Date: Thu Oct 15 2026 - 03:21:09 EST
On 6/9/2026 6:54 PM, Konrad Dybcio wrote:
> 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>
>> ---
>
> [...]
>
>> + #include <dt-bindings/clock/qcom,gcc-sdm845.h>
>> + gp_mn: clock-controller@88d3000 {
>> + compatible = "qcom,clk-gp-mnd";
>
> The compatible must be SoC-specific, looking at the table, we could
> use these example socs for the versions of this block:
>
> 8960 (v1.0.0)
> 8974 (v1.1.1)
> 8994 (v2.1.0)
> 8996 (v2.2.0)
>
Apologies for the late response.
The GP_MND block does not have any functional differences across the
supported SoCs. To reflect this, the DT binding will use a SoC-specific
compatible followed by a generic fallback compatible that represents the
common GP_MND implementation.
compatible = "qcom,sc7280-gp-mnd",
"qcom,gp-mnd";
>> + reg = <0x88d3000 0xc>;
>
> Let's map the entire 0x4000 that this block spans
>
This region support 2 or 3 different blocks of HW and they have
different functionalities and for which I am going to add the driver
support. What I can do is map 0x88d3000 size - 0x1000. Please let me
know your comments.
--
Thanks,
Taniya Das