diff mbox series

[1/4] dt-bindings: clock: add support for lan969x

Message ID 20240916-lan969x-clock-v1-1-0e150336074d@microchip.com (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series clk: lan966x: add support for lan969x SoC clock driver | expand

Commit Message

Daniel Machon Sept. 16, 2024, 9:49 a.m. UTC
Lan969x is going to reuse the existing lan966x clock driver - document
that by adding compatible strings for the different SKU's that we
support.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
---
 .../devicetree/bindings/clock/microchip,lan966x-gck.yaml    | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Comments

Conor Dooley Sept. 16, 2024, 3:33 p.m. UTC | #1
On Mon, Sep 16, 2024 at 11:49:19AM +0200, Daniel Machon wrote:
> Lan969x is going to reuse the existing lan966x clock driver - document
> that by adding compatible strings for the different SKU's that we
> support.
> 
> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

> ---
>  .../devicetree/bindings/clock/microchip,lan966x-gck.yaml    | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
> index df2bec188706..16106e8b637f 100644
> --- a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
> +++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
> @@ -16,7 +16,18 @@ description: |
>  
>  properties:
>    compatible:
> -    const: microchip,lan966x-gck
> +    oneOf:
> +      - enum:
> +          - microchip,lan966x-gck
> +          - microchip,lan9691-gck
> +      - items:
> +          - enum:
> +              - microchip,lan9698-gck
> +              - microchip,lan9696-gck
> +              - microchip,lan9694-gck
> +              - microchip,lan9693-gck
> +              - microchip,lan9692-gck
> +          - const: microchip,lan9691-gck
>  
>    reg:
>      minItems: 1
> 
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
index df2bec188706..16106e8b637f 100644
--- a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
+++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
@@ -16,7 +16,18 @@  description: |
 
 properties:
   compatible:
-    const: microchip,lan966x-gck
+    oneOf:
+      - enum:
+          - microchip,lan966x-gck
+          - microchip,lan9691-gck
+      - items:
+          - enum:
+              - microchip,lan9698-gck
+              - microchip,lan9696-gck
+              - microchip,lan9694-gck
+              - microchip,lan9693-gck
+              - microchip,lan9692-gck
+          - const: microchip,lan9691-gck
 
   reg:
     minItems: 1