Skip to content

Commit ad21a4c

Browse files
committed
dt-bindings: pinctrl: aspeed: Fix 'compatible' schema errors
The Aspeed pinctl schema have errors in the 'compatible' schema: Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml: \ properties:compatible:enum: ['aspeed', 'ast2400-pinctrl', 'aspeed', 'g4-pinctrl'] has non-unique elements Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml: \ properties:compatible:enum: ['aspeed', 'ast2500-pinctrl', 'aspeed', 'g5-pinctrl'] has non-unique elements Flow style sequences have to be quoted if the vales contain ','. Fix this by using the more common one line per entry formatting. Fixes: 0a617de ("dt-bindings: pinctrl: aspeed: Convert AST2500 bindings to json-schema") Fixes: 0745793 ("dt-bindings: pinctrl: aspeed: Convert AST2400 bindings to json-schema") Cc: Andrew Jeffery <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Joel Stanley <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Acked-by: Andrew Jeffery <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent 7d9ef7f commit ad21a4c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ description: |+
2222
2323
properties:
2424
compatible:
25-
enum: [ aspeed,ast2400-pinctrl, aspeed,g4-pinctrl ]
25+
enum:
26+
- aspeed,ast2400-pinctrl
27+
- aspeed,g4-pinctrl
2628

2729
patternProperties:
2830
'^.*$':

Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ description: |+
2222
2323
properties:
2424
compatible:
25-
enum: [ aspeed,ast2500-pinctrl, aspeed,g5-pinctrl ]
25+
enum:
26+
- aspeed,ast2500-pinctrl
27+
- aspeed,g5-pinctrl
2628
aspeed,external-nodes:
2729
minItems: 2
2830
maxItems: 2

0 commit comments

Comments
 (0)