Skip to content

Commit

Permalink
dt-bindings: clock: airoha: add EN7581 binding
Browse files Browse the repository at this point in the history
Introduce Airoha EN7581 entry in Airoha EN7523 clock binding

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/99734deb28889e685a764da94418f68b55ee3bdc.1712399981.git.lorenzo@kernel.org
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Lorenzo Bianconi authored and Stephen Boyd committed Apr 11, 2024
1 parent 4cece76 commit 0a382be
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ description: |
properties:
compatible:
items:
- const: airoha,en7523-scu
- enum:
- airoha,en7523-scu
- airoha,en7581-scu

reg:
maxItems: 2
minItems: 2
maxItems: 3

"#clock-cells":
description:
Expand All @@ -45,6 +48,30 @@ required:
- reg
- '#clock-cells'

allOf:
- if:
properties:
compatible:
const: airoha,en7523-scu
then:
properties:
reg:
items:
- description: scu base address
- description: misc scu base address

- if:
properties:
compatible:
const: airoha,en7581-scu
then:
properties:
reg:
items:
- description: scu base address
- description: misc scu base address
- description: pb scu base address

additionalProperties: false

examples:
Expand Down

0 comments on commit 0a382be

Please sign in to comment.