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:25:46 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>
> ---
[...]
> + #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)
> + reg = <0x88d3000 0xc>;
Let's map the entire 0x4000 that this block spans
Konrad