diff options
author | Rob Herring <robh@kernel.org> | 2019-07-15 18:37:25 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-07-20 22:28:52 -0400 |
commit | ad21a4ce040cc41b4a085417169b558e86af56b7 (patch) | |
tree | c7b10ab7ef810260302370c57df2edf66aeb8918 /Documentation/devicetree | |
parent | 7d9ef7f37d1f37981344d1a8c8578b67bdf4736a (diff) |
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: 0a617de16730 ("dt-bindings: pinctrl: aspeed: Convert AST2500 bindings to json-schema")
Fixes: 07457937bb5c ("dt-bindings: pinctrl: aspeed: Convert AST2400 bindings to json-schema")
Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Joel Stanley <joel@jms.id.au>
Cc: linux-aspeed@lists.ozlabs.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml | 4 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml index 61a110a7db8a..125599a2dc5e 100644 --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml | |||
@@ -22,7 +22,9 @@ description: |+ | |||
22 | 22 | ||
23 | properties: | 23 | properties: |
24 | compatible: | 24 | compatible: |
25 | enum: [ aspeed,ast2400-pinctrl, aspeed,g4-pinctrl ] | 25 | enum: |
26 | - aspeed,ast2400-pinctrl | ||
27 | - aspeed,g4-pinctrl | ||
26 | 28 | ||
27 | patternProperties: | 29 | patternProperties: |
28 | '^.*$': | 30 | '^.*$': |
diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml index cf561bd55128..a464cfa0cba3 100644 --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml | |||
@@ -22,7 +22,9 @@ description: |+ | |||
22 | 22 | ||
23 | properties: | 23 | properties: |
24 | compatible: | 24 | compatible: |
25 | enum: [ aspeed,ast2500-pinctrl, aspeed,g5-pinctrl ] | 25 | enum: |
26 | - aspeed,ast2500-pinctrl | ||
27 | - aspeed,g5-pinctrl | ||
26 | aspeed,external-nodes: | 28 | aspeed,external-nodes: |
27 | minItems: 2 | 29 | minItems: 2 |
28 | maxItems: 2 | 30 | maxItems: 2 |