Commit e19e35a8 authored by Arınç ÜNAL's avatar Arınç ÜNAL Committed by Linus Walleij

dt-bindings: pinctrl: ralink: move additionalProperties to top

Move additionalProperties to the top. It's easier to read than after a long
indented section.
Signed-off-by: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230317213011.13656-7-arinc.unal@arinc9.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ea183c37
...@@ -22,11 +22,14 @@ properties: ...@@ -22,11 +22,14 @@ properties:
patternProperties: patternProperties:
'-pins$': '-pins$':
type: object type: object
additionalProperties: false
patternProperties: patternProperties:
'^(.*-)?pinmux$': '^(.*-)?pinmux$':
type: object type: object
description: node for pinctrl. description: node for pinctrl.
$ref: pinmux-node.yaml# $ref: pinmux-node.yaml#
additionalProperties: false
properties: properties:
function: function:
...@@ -632,10 +635,6 @@ patternProperties: ...@@ -632,10 +635,6 @@ patternProperties:
groups: groups:
enum: [i2c, spi cs1, uart0] enum: [i2c, spi cs1, uart0]
additionalProperties: false
additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: "pinctrl.yaml#"
......
...@@ -22,11 +22,14 @@ properties: ...@@ -22,11 +22,14 @@ properties:
patternProperties: patternProperties:
'-pins$': '-pins$':
type: object type: object
additionalProperties: false
patternProperties: patternProperties:
'^(.*-)?pinmux$': '^(.*-)?pinmux$':
type: object type: object
description: node for pinctrl. description: node for pinctrl.
$ref: pinmux-node.yaml# $ref: pinmux-node.yaml#
additionalProperties: false
properties: properties:
function: function:
...@@ -236,10 +239,6 @@ patternProperties: ...@@ -236,10 +239,6 @@ patternProperties:
groups: groups:
enum: [wdt] enum: [wdt]
additionalProperties: false
additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: "pinctrl.yaml#"
......
...@@ -22,11 +22,14 @@ properties: ...@@ -22,11 +22,14 @@ properties:
patternProperties: patternProperties:
'-pins$': '-pins$':
type: object type: object
additionalProperties: false
patternProperties: patternProperties:
'^(.*-)?pinmux$': '^(.*-)?pinmux$':
type: object type: object
description: node for pinctrl. description: node for pinctrl.
$ref: pinmux-node.yaml# $ref: pinmux-node.yaml#
additionalProperties: false
properties: properties:
function: function:
...@@ -116,10 +119,6 @@ patternProperties: ...@@ -116,10 +119,6 @@ patternProperties:
groups: groups:
enum: [pci] enum: [pci]
additionalProperties: false
additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: "pinctrl.yaml#"
......
...@@ -23,11 +23,14 @@ properties: ...@@ -23,11 +23,14 @@ properties:
patternProperties: patternProperties:
'-pins$': '-pins$':
type: object type: object
additionalProperties: false
patternProperties: patternProperties:
'^(.*-)?pinmux$': '^(.*-)?pinmux$':
type: object type: object
description: node for pinctrl. description: node for pinctrl.
$ref: pinmux-node.yaml# $ref: pinmux-node.yaml#
additionalProperties: false
properties: properties:
function: function:
...@@ -249,10 +252,6 @@ patternProperties: ...@@ -249,10 +252,6 @@ patternProperties:
groups: groups:
enum: [spi_cs1] enum: [spi_cs1]
additionalProperties: false
additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: "pinctrl.yaml#"
......
...@@ -22,11 +22,14 @@ properties: ...@@ -22,11 +22,14 @@ properties:
patternProperties: patternProperties:
'-pins$': '-pins$':
type: object type: object
additionalProperties: false
patternProperties: patternProperties:
'^(.*-)?pinmux$': '^(.*-)?pinmux$':
type: object type: object
description: node for pinctrl. description: node for pinctrl.
$ref: pinmux-node.yaml# $ref: pinmux-node.yaml#
additionalProperties: false
properties: properties:
function: function:
...@@ -236,10 +239,6 @@ patternProperties: ...@@ -236,10 +239,6 @@ patternProperties:
groups: groups:
enum: [uartlite] enum: [uartlite]
additionalProperties: false
additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: "pinctrl.yaml#"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment