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:
patternProperties:
'-pins$':
type: object
additionalProperties: false
patternProperties:
'^(.*-)?pinmux$':
type: object
description: node for pinctrl.
$ref: pinmux-node.yaml#
additionalProperties: false
properties:
function:
......@@ -632,10 +635,6 @@ patternProperties:
groups:
enum: [i2c, spi cs1, uart0]
additionalProperties: false
additionalProperties: false
allOf:
- $ref: "pinctrl.yaml#"
......
......@@ -22,11 +22,14 @@ properties:
patternProperties:
'-pins$':
type: object
additionalProperties: false
patternProperties:
'^(.*-)?pinmux$':
type: object
description: node for pinctrl.
$ref: pinmux-node.yaml#
additionalProperties: false
properties:
function:
......@@ -236,10 +239,6 @@ patternProperties:
groups:
enum: [wdt]
additionalProperties: false
additionalProperties: false
allOf:
- $ref: "pinctrl.yaml#"
......
......@@ -22,11 +22,14 @@ properties:
patternProperties:
'-pins$':
type: object
additionalProperties: false
patternProperties:
'^(.*-)?pinmux$':
type: object
description: node for pinctrl.
$ref: pinmux-node.yaml#
additionalProperties: false
properties:
function:
......@@ -116,10 +119,6 @@ patternProperties:
groups:
enum: [pci]
additionalProperties: false
additionalProperties: false
allOf:
- $ref: "pinctrl.yaml#"
......
......@@ -23,11 +23,14 @@ properties:
patternProperties:
'-pins$':
type: object
additionalProperties: false
patternProperties:
'^(.*-)?pinmux$':
type: object
description: node for pinctrl.
$ref: pinmux-node.yaml#
additionalProperties: false
properties:
function:
......@@ -249,10 +252,6 @@ patternProperties:
groups:
enum: [spi_cs1]
additionalProperties: false
additionalProperties: false
allOf:
- $ref: "pinctrl.yaml#"
......
......@@ -22,11 +22,14 @@ properties:
patternProperties:
'-pins$':
type: object
additionalProperties: false
patternProperties:
'^(.*-)?pinmux$':
type: object
description: node for pinctrl.
$ref: pinmux-node.yaml#
additionalProperties: false
properties:
function:
......@@ -236,10 +239,6 @@ patternProperties:
groups:
enum: [uartlite]
additionalProperties: false
additionalProperties: false
allOf:
- $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