Skip to content

Commit 0a382be

Browse files
LorenzoBianconibebarino
authored andcommitted
dt-bindings: clock: airoha: add EN7581 binding
Introduce Airoha EN7581 entry in Airoha EN7523 clock binding Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/99734deb28889e685a764da94418f68b55ee3bdc.1712399981.git.lorenzo@kernel.org Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 4cece76 commit 0a382be

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ description: |
2929
properties:
3030
compatible:
3131
items:
32-
- const: airoha,en7523-scu
32+
- enum:
33+
- airoha,en7523-scu
34+
- airoha,en7581-scu
3335

3436
reg:
35-
maxItems: 2
37+
minItems: 2
38+
maxItems: 3
3639

3740
"#clock-cells":
3841
description:
@@ -45,6 +48,30 @@ required:
4548
- reg
4649
- '#clock-cells'
4750

51+
allOf:
52+
- if:
53+
properties:
54+
compatible:
55+
const: airoha,en7523-scu
56+
then:
57+
properties:
58+
reg:
59+
items:
60+
- description: scu base address
61+
- description: misc scu base address
62+
63+
- if:
64+
properties:
65+
compatible:
66+
const: airoha,en7581-scu
67+
then:
68+
properties:
69+
reg:
70+
items:
71+
- description: scu base address
72+
- description: misc scu base address
73+
- description: pb scu base address
74+
4875
additionalProperties: false
4976

5077
examples:

0 commit comments

Comments
 (0)