Skip to content

Commit

Permalink
dt-bindings: pinctrl: aspeed: Fix 'compatible' schema errors
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
robherring committed Jul 21, 2019
1 parent 7d9ef7f commit ad21a4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ description: |+
properties:
compatible:
enum: [ aspeed,ast2400-pinctrl, aspeed,g4-pinctrl ]
enum:
- aspeed,ast2400-pinctrl
- aspeed,g4-pinctrl

patternProperties:
'^.*$':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ description: |+
properties:
compatible:
enum: [ aspeed,ast2500-pinctrl, aspeed,g5-pinctrl ]
enum:
- aspeed,ast2500-pinctrl
- aspeed,g5-pinctrl
aspeed,external-nodes:
minItems: 2
maxItems: 2
Expand Down

0 comments on commit ad21a4c

Please sign in to comment.