Skip to content

Commit fcbe7e3

Browse files
committed
dt-bindings: pinctrl: aspeed: Fix AST2500 example errors
The schema examples are now validated against the schema itself. The AST2500 pinctrl schema has a couple of errors: Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.example.dt.yaml: \ example-0: $nodename:0: 'example-0' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.example.dt.yaml: \ pinctrl: aspeed,external-nodes: [[1, 2]] is too short Fixes: 0a617de ("dt-bindings: pinctrl: aspeed: Convert AST2500 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 ad21a4c commit fcbe7e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ required:
7676

7777
examples:
7878
- |
79-
compatible = "simple-bus";
80-
ranges;
81-
8279
apb {
8380
compatible = "simple-bus";
8481
#address-cells = <1>;
@@ -91,7 +88,7 @@ examples:
9188
9289
pinctrl: pinctrl {
9390
compatible = "aspeed,g5-pinctrl";
94-
aspeed,external-nodes = <&gfx &lhc>;
91+
aspeed,external-nodes = <&gfx>, <&lhc>;
9592
9693
pinctrl_i2c3_default: i2c3_default {
9794
function = "I2C3";

0 commit comments

Comments
 (0)