Skip to content

Commit 6229836

Browse files
committed
dt-bindings: Explicitly allow additional properties in board/SoC schemas
In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As the top-level board/SoC schemas always have additional properties, add 'additionalProperties: true'. Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201005183830.486085-4-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 6ad8838 commit 6229836

62 files changed

Lines changed: 146 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/arm/actions.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ properties:
4949
- enum:
5050
- ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
5151
- const: actions,s900
52+
53+
additionalProperties: true

Documentation/devicetree/bindings/arm/altera.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ properties:
1919
- altr,socfpga-arria5
2020
- altr,socfpga-arria10
2121
- const: altr,socfpga
22+
23+
additionalProperties: true
24+
2225
...

Documentation/devicetree/bindings/arm/amazon,al.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ properties:
3030
- amazon,al-alpine-v3-evp
3131
- const: amazon,al-alpine-v3
3232

33+
additionalProperties: true
34+
3335
...

Documentation/devicetree/bindings/arm/amlogic.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,7 @@ properties:
173173
- enum:
174174
- amlogic,ad401
175175
- const: amlogic,a1
176+
177+
additionalProperties: true
178+
176179
...

Documentation/devicetree/bindings/arm/arm,integrator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,6 @@ required:
8383
- compatible
8484
- core-module@10000000
8585

86+
additionalProperties: true
87+
8688
...

Documentation/devicetree/bindings/arm/arm,realview.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,6 @@ required:
120120
- compatible
121121
- soc
122122

123+
additionalProperties: true
124+
123125
...

Documentation/devicetree/bindings/arm/arm,versatile.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ required:
6868
- compatible
6969
- core-module@10000000
7070

71+
additionalProperties: true
72+
7173
...

Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,6 @@ allOf:
216216
required:
217217
- arm,hbi
218218

219+
additionalProperties: true
220+
219221
...

Documentation/devicetree/bindings/arm/atmel-at91.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,6 @@ properties:
184184
- const: atmel,samv71
185185
- const: atmel,samv7
186186

187+
additionalProperties: true
188+
187189
...

Documentation/devicetree/bindings/arm/axxia.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ properties:
1818
- const: lsi,axm5516-amarillo
1919
- const: lsi,axm5516
2020

21+
additionalProperties: true
22+
2123
...

0 commit comments

Comments
 (0)