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>
This commit is contained in:
Rob Herring 2020-10-05 13:38:29 -05:00
parent 6ad8838de4
commit 62298364bd
62 changed files with 146 additions and 0 deletions

View File

@ -49,3 +49,5 @@ properties:
- enum:
- ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
- const: actions,s900
additionalProperties: true

View File

@ -19,4 +19,7 @@ properties:
- altr,socfpga-arria5
- altr,socfpga-arria10
- const: altr,socfpga
additionalProperties: true
...

View File

@ -30,4 +30,6 @@ properties:
- amazon,al-alpine-v3-evp
- const: amazon,al-alpine-v3
additionalProperties: true
...

View File

@ -173,4 +173,7 @@ properties:
- enum:
- amlogic,ad401
- const: amlogic,a1
additionalProperties: true
...

View File

@ -83,4 +83,6 @@ required:
- compatible
- core-module@10000000
additionalProperties: true
...

View File

@ -120,4 +120,6 @@ required:
- compatible
- soc
additionalProperties: true
...

View File

@ -68,4 +68,6 @@ required:
- compatible
- core-module@10000000
additionalProperties: true
...

View File

@ -216,4 +216,6 @@ allOf:
required:
- arm,hbi
additionalProperties: true
...

View File

@ -184,4 +184,6 @@ properties:
- const: atmel,samv71
- const: atmel,samv7
additionalProperties: true
...

View File

@ -18,4 +18,6 @@ properties:
- const: lsi,axm5516-amarillo
- const: lsi,axm5516
additionalProperties: true
...

View File

@ -51,4 +51,6 @@ properties:
- raspberrypi,3-compute-module-lite
- const: brcm,bcm2837
additionalProperties: true
...

View File

@ -18,4 +18,6 @@ properties:
- brcm,bcm28155-ap
- const: brcm,bcm11351
additionalProperties: true
...

View File

@ -18,4 +18,6 @@ properties:
- brcm,bcm21664-garnet
- const: brcm,bcm21664
additionalProperties: true
...

View File

@ -18,4 +18,6 @@ properties:
- brcm,bcm23550-sparrow
- const: brcm,bcm23550
additionalProperties: true
...

View File

@ -87,4 +87,7 @@ properties:
- const: brcm,brcm53012
- const: brcm,brcm53016
- const: brcm,bcm4708
additionalProperties: true
...

View File

@ -26,4 +26,6 @@ properties:
- brcm,bcm58305
- const: brcm,cygnus
additionalProperties: true
...

View File

@ -25,4 +25,6 @@ properties:
- const: brcm,bcm53342
- const: brcm,hr2
additionalProperties: true
...

View File

@ -20,4 +20,6 @@ properties:
- brcm,ns2-xmc
- const: brcm,ns2
additionalProperties: true
...

View File

@ -33,4 +33,6 @@ properties:
- brcm,bcm88312
- const: brcm,nsp
additionalProperties: true
...

View File

@ -21,4 +21,6 @@ properties:
- brcm,bcm958802a802x
- const: brcm,stingray
additionalProperties: true
...

View File

@ -19,4 +19,6 @@ properties:
- cavium,thunderx2-cn9900
- const: brcm,vulcan-soc
additionalProperties: true
...

View File

@ -17,4 +17,7 @@ properties:
- enum:
- bitmain,sophon-edge
- const: bitmain,bm1880
additionalProperties: true
...

View File

@ -20,3 +20,5 @@ properties:
- enum:
- calxeda,highbank
- calxeda,ecx-2000
additionalProperties: true

View File

@ -15,4 +15,6 @@ properties:
compatible:
const: cnxt,cx92755
additionalProperties: true
...

View File

@ -621,4 +621,6 @@ properties:
- fsl,s32v234-evb # S32V234-EVB2 Customer Evaluation Board
- const: fsl,s32v234
additionalProperties: true
...

View File

@ -64,4 +64,7 @@ properties:
items:
- const: H836ASDJ
- const: hisilicon,sd5203
additionalProperties: true
...

View File

@ -16,4 +16,7 @@ properties:
- enum:
- intel,keembay-evm
- const: intel,keembay
additionalProperties: true
...

View File

@ -22,3 +22,5 @@ properties:
- enum:
- gateworks,gw2358
- const: intel,ixp43x
additionalProperties: true

View File

@ -42,3 +42,5 @@ properties:
- description: TI-SCI processor id for the remote processor device
- description: TI-SCI host id to which processor control ownership
should be transferred to
additionalProperties: true

View File

@ -59,3 +59,5 @@ properties:
- const: marvell,cn9130
- const: marvell,armada-ap807-quad
- const: marvell,armada-ap807
additionalProperties: true

View File

@ -119,4 +119,7 @@ properties:
- const: google,krane-sku176
- const: google,krane
- const: mediatek,mt8183
additionalProperties: true
...

View File

@ -62,4 +62,6 @@ required:
- compatible
- axi@600000000
additionalProperties: true
...

View File

@ -16,4 +16,5 @@ properties:
- const: moxa,moxart-uc-7112-lx
- const: moxa,moxart
additionalProperties: true
...

View File

@ -35,4 +35,7 @@ properties:
- enum:
- dell,wyse-ariel
- const: marvell,mmp3
additionalProperties: true
...

View File

@ -31,3 +31,5 @@ properties:
- enum:
- 70mai,midrived08 # 70mai midrive d08
- const: mstar,mercury5
additionalProperties: true

View File

@ -21,4 +21,6 @@ properties:
- ea,ea3250
- phytec,phy3250
- const: nxp,lpc3250
additionalProperties: true
...

View File

@ -178,4 +178,6 @@ properties:
- qcom,sm8250-mtp
- const: qcom,sm8250
additionalProperties: true
...

View File

@ -19,4 +19,6 @@ properties:
- xunlong,orangepi-i96 # Orange Pi i96
- const: rda,8810pl
additionalProperties: true
...

View File

@ -54,4 +54,7 @@ properties:
- enum:
- realtek,mjolnir # Realtek Mjolnir EVB
- const: realtek,rtd1619
additionalProperties: true
...

View File

@ -299,4 +299,6 @@ properties:
- renesas,rzn1d400-db # RZN1D-DB (RZ/N1D Demo Board for the RZ/N1D 400 pins package)
- const: renesas,r9a06g032
additionalProperties: true
...

View File

@ -569,4 +569,7 @@ properties:
items:
- const: zkmagic,a95x-z2
- const: rockchip,rk3318
additionalProperties: true
...

View File

@ -180,3 +180,5 @@ properties:
required:
- compatible
additionalProperties: true

View File

@ -24,4 +24,7 @@ properties:
- items:
- const: sirf,prima2-cb
- const: sirf,prima2
additionalProperties: true
...

View File

@ -19,4 +19,7 @@ properties:
- enum:
- socionext,milbeaut-m10v-evb
- const: socionext,sc2000a
additionalProperties: true
...

View File

@ -60,3 +60,5 @@ properties:
- enum:
- socionext,uniphier-pxs3-ref
- const: socionext,uniphier-pxs3
additionalProperties: true

View File

@ -22,4 +22,7 @@ properties:
- st,spear320
- st,spear1310
- st,spear1340
additionalProperties: true
...

View File

@ -30,4 +30,6 @@ properties:
- sprd,sp9863a-1h10
- const: sprd,sc9863a
additionalProperties: true
...

View File

@ -20,4 +20,7 @@ properties:
- st,stih407
- st,stih410
- st,stih418
additionalProperties: true
...

View File

@ -58,4 +58,7 @@ properties:
- seeed,stm32mp157c-odyssey
- const: seeed,stm32mp157c-odyssey-som
- const: st,stm32mp157
additionalProperties: true
...

View File

@ -893,3 +893,5 @@ properties:
items:
- const: xunlong,orangepi-zero-plus2-h3
- const: allwinner,sun8i-h3
additionalProperties: true

View File

@ -125,3 +125,5 @@ properties:
- enum:
- nvidia,tegra234-vdk
- const: nvidia,tegra234
additionalProperties: true

View File

@ -32,4 +32,7 @@ properties:
- description: K3 J7200 SoC
items:
- const: ti,j7200
additionalProperties: true
...

View File

@ -21,4 +21,7 @@ properties:
- ti,nspire-tp
# Clickpad models
- ti,nspire-clp
additionalProperties: true
...

View File

@ -23,4 +23,7 @@ properties:
- enbw,cmc # EnBW AM1808 based CMC board
- lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based)
- const: ti,da850
additionalProperties: true
...

View File

@ -19,4 +19,7 @@ properties:
- enum:
- toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board
- const: toshiba,tmpv7708
additionalProperties: true
...

View File

@ -34,3 +34,5 @@ properties:
items:
- const: samsung,golden
- const: st-ericsson,u8500
additionalProperties: true

View File

@ -21,3 +21,6 @@ properties:
- wm,wm8650
- wm,wm8750
- wm,wm8850
additionalProperties: true

View File

@ -111,4 +111,6 @@ properties:
- const: xlnx,zynqmp-zcu111
- const: xlnx,zynqmp
additionalProperties: true
...

View File

@ -23,4 +23,6 @@ properties:
- zte,zx296718-evb
- const: zte,zx296718
additionalProperties: true
...

View File

@ -52,4 +52,7 @@ properties:
items:
- const: yna,cu2000-neo
- const: ingenic,x2000e
additionalProperties: true
...

View File

@ -36,4 +36,7 @@ properties:
- description: Virtual Loongson64 Quad Core + VirtIO
items:
- const: loongson,loongson64v-4core-virtio
additionalProperties: true
...

View File

@ -22,4 +22,7 @@ properties:
- sifive,hifive-unleashed-a00
- const: sifive,fu540-c000
- const: sifive,fu540
additionalProperties: true
...