linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
@ 2025-08-11 22:17 David Lechner
  2025-08-12  9:46 ` Nuno Sá
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Lechner @ 2025-08-11 22:17 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Lars-Peter Clausen, Michael Hennerich, Nuno Sá
  Cc: linux-clk, devicetree, linux-kernel, David Lechner

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>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
  2025-08-11 22:17 [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property David Lechner
@ 2025-08-12  9:46 ` Nuno Sá
  2025-08-12 18:04 ` Conor Dooley
  2025-08-13 18:42 ` Stephen Boyd
  2 siblings, 0 replies; 4+ messages in thread
From: Nuno Sá @ 2025-08-12  9:46 UTC (permalink / raw)
  To: David Lechner
  Cc: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Lars-Peter Clausen, Michael Hennerich, Nuno Sá,
	linux-clk, devicetree, linux-kernel

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>
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
  2025-08-11 22:17 [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property David Lechner
  2025-08-12  9:46 ` Nuno Sá
@ 2025-08-12 18:04 ` Conor Dooley
  2025-08-13 18:42 ` Stephen Boyd
  2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2025-08-12 18:04 UTC (permalink / raw)
  To: David Lechner
  Cc: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Lars-Peter Clausen, Michael Hennerich, Nuno Sá,
	linux-clk, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

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>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property
  2025-08-11 22:17 [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property David Lechner
  2025-08-12  9:46 ` Nuno Sá
  2025-08-12 18:04 ` Conor Dooley
@ 2025-08-13 18:42 ` Stephen Boyd
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2025-08-13 18:42 UTC (permalink / raw)
  To: Conor Dooley, David Lechner, Krzysztof Kozlowski,
	Lars-Peter Clausen, Michael Hennerich, Michael Turquette,
	Nuno Sá, Rob Herring
  Cc: linux-clk, devicetree, linux-kernel, David Lechner

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-13 18:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11 22:17 [PATCH] dt-bindings: clock: adi,axi-clkgen: add clock-output-names property David Lechner
2025-08-12  9:46 ` Nuno Sá
2025-08-12 18:04 ` Conor Dooley
2025-08-13 18:42 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).