Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property

From: Nuno Sá
Date: Tue Aug 12 2025 - 05:46:31 EST


On Mon, Aug 11, 2025 at 05:17:01PM -0500, David Lechner wrote:
> Add an optional `clock-output-names` property to the ADI AXI Clock
> Generator binding. This is already being used in the Linux driver and
> real-world dtbs, so we should document it to allow for correct binding
> validation.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
> ---

Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>

> Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml b/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml
> index 2b2041818a0a44456ee986fe29d32346f68835f3..6eea1a41150a7c90153cffcfb5b4862c243b4e0f 100644
> --- a/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml
> +++ b/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml
> @@ -42,6 +42,9 @@ properties:
> - const: clkin2
> - const: s_axi_aclk
>
> + clock-output-names:
> + maxItems: 1
> +
> '#clock-cells':
> const: 0
>
> @@ -65,4 +68,5 @@ examples:
> reg = <0xff000000 0x1000>;
> clocks = <&osc 1>, <&clkc 15>;
> clock-names = "clkin1", "s_axi_aclk";
> + clock-output-names = "spi_sclk";
> };
>
> ---
> base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
> change-id: 20250811-dt-bindings-clk-axi-clkgen-add-clock-output-names-property-f413c3ef8bf4
>
> Best regards,
> --
> David Lechner <dlechner@xxxxxxxxxxxx>
>