Re: [PATCH v2 1/8] dt-bindings: clock: clocking-wizard: Add static-config mode support
"Rob Herring (Arm)" <[email protected]>
| Newsgroups | org.kernel.vger.linux-clk,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 09 Jul 2026 16:43:56 +0530, Shubhrajyoti Datta wrote: > Static-config MMCM/PLL ratios are fixed at IP build time, so the kernel > cannot read per-output multiply/divide from registers and needs DT pairs > to register fixed-factor clocks. Also add the tuples by pair in example. > > In static-config mode the IP exposes only fixed-factor clock outputs and > has no runtime-programmable registers, so reg is not required. > Make reg optional for static-config > > In static-config mode the AXI bus interface is unused, so s_axi_aclk > is not required. Allow clocks/clock-names to have only one entry > (clk_in1) when xlnx,static-config is present and enforce two entries > otherwise. Update the static-config example accordingly. > > Signed-off-by: Shubhrajyoti Datta <[email protected]> > --- > > Changes in v2: > Merged the similar patches > Allow check for current dt even if it is unused. > > .../bindings/clock/xlnx,clocking-wizard.yaml | 53 +++++++++++++++++-- > 1 file changed, 48 insertions(+), 5 deletions(-) > Reviewed-by: Rob Herring (Arm) <[email protected]>