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

David Lechner posted 1 patch 1 month, 3 weeks ago
Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
Posted by David Lechner 1 month, 3 weeks ago
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@baylibre.com>
---
 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@baylibre.com>
Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
Posted by Stephen Boyd 1 month, 3 weeks ago
Quoting David Lechner (2025-08-11 15:17:01)
> 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@baylibre.com>
> ---

Applied to clk-next
Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
Posted by Conor Dooley 1 month, 3 weeks ago
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@baylibre.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
Posted by Nuno Sá 1 month, 3 weeks ago
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@baylibre.com>
> ---

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

>  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@baylibre.com>
>