[PATCH 2/2] dt-bindings: clock: convert zynq-7000.txt to yaml

Rob Herring (Arm) robh at kernel.org
Thu Nov 12 06:09:02 PST 2026


On Wed, 11 Nov 2026 20:38:12 +0530, Radhey Shyam Pandey wrote:
> Convert the Zynq 7000 clock controller binding to DT schema format.
> 
> ps-clk-frequency becomes optional with a documented 33 MHz default. The
> text version listed it as required, but zynq-7000.dtsi does not set it
> and five in-tree boards (zynq-cc108 and zynq-zc770-xm010 through xm013)
> never override it, so requiring it would reject device trees that are
> already in use.
> 
> trace_emio_clk is added to the clock inputs. It is the external trace
> clock feeding the debug trace mux, which the text version never listed.
> The example is corrected the same way: it used can_mio_clk_23, which
> does not match the mio_clk_XX form this binding defines for an EMIO
> clock on a MIO pin.
> 
> clock-output-names is enumerated as 48 const entries instead of the
> prose "shall be a list of the outputs below", so the names and their
> order are now checked. The clock cell is an index into that list.
> 
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey at amd.com>
> ---
>  .../bindings/clock/xlnx,ps7-clkc.yaml         | 145 ++++++++++++++++++
>  .../devicetree/bindings/clock/zynq-7000.txt   | 110 -------------
>  2 files changed, 145 insertions(+), 110 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/clock/xlnx,ps7-clkc.yaml
>  delete mode 100644 Documentation/devicetree/bindings/clock/zynq-7000.txt
> 

Reviewed-by: Rob Herring (Arm) <robh at kernel.org>




More information about the linux-arm-kernel mailing list