Commit 62298364 authored by Rob Herring's avatar Rob Herring

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201005183830.486085-4-robh@kernel.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 6ad8838d
...@@ -49,3 +49,5 @@ properties: ...@@ -49,3 +49,5 @@ properties:
- enum: - enum:
- ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96 - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
- const: actions,s900 - const: actions,s900
additionalProperties: true
...@@ -19,4 +19,7 @@ properties: ...@@ -19,4 +19,7 @@ properties:
- altr,socfpga-arria5 - altr,socfpga-arria5
- altr,socfpga-arria10 - altr,socfpga-arria10
- const: altr,socfpga - const: altr,socfpga
additionalProperties: true
... ...
...@@ -30,4 +30,6 @@ properties: ...@@ -30,4 +30,6 @@ properties:
- amazon,al-alpine-v3-evp - amazon,al-alpine-v3-evp
- const: amazon,al-alpine-v3 - const: amazon,al-alpine-v3
additionalProperties: true
... ...
...@@ -173,4 +173,7 @@ properties: ...@@ -173,4 +173,7 @@ properties:
- enum: - enum:
- amlogic,ad401 - amlogic,ad401
- const: amlogic,a1 - const: amlogic,a1
additionalProperties: true
... ...
...@@ -83,4 +83,6 @@ required: ...@@ -83,4 +83,6 @@ required:
- compatible - compatible
- core-module@10000000 - core-module@10000000
additionalProperties: true
... ...
...@@ -120,4 +120,6 @@ required: ...@@ -120,4 +120,6 @@ required:
- compatible - compatible
- soc - soc
additionalProperties: true
... ...
...@@ -68,4 +68,6 @@ required: ...@@ -68,4 +68,6 @@ required:
- compatible - compatible
- core-module@10000000 - core-module@10000000
additionalProperties: true
... ...
...@@ -216,4 +216,6 @@ allOf: ...@@ -216,4 +216,6 @@ allOf:
required: required:
- arm,hbi - arm,hbi
additionalProperties: true
... ...
...@@ -184,4 +184,6 @@ properties: ...@@ -184,4 +184,6 @@ properties:
- const: atmel,samv71 - const: atmel,samv71
- const: atmel,samv7 - const: atmel,samv7
additionalProperties: true
... ...
...@@ -18,4 +18,6 @@ properties: ...@@ -18,4 +18,6 @@ properties:
- const: lsi,axm5516-amarillo - const: lsi,axm5516-amarillo
- const: lsi,axm5516 - const: lsi,axm5516
additionalProperties: true
... ...
...@@ -51,4 +51,6 @@ properties: ...@@ -51,4 +51,6 @@ properties:
- raspberrypi,3-compute-module-lite - raspberrypi,3-compute-module-lite
- const: brcm,bcm2837 - const: brcm,bcm2837
additionalProperties: true
... ...
...@@ -18,4 +18,6 @@ properties: ...@@ -18,4 +18,6 @@ properties:
- brcm,bcm28155-ap - brcm,bcm28155-ap
- const: brcm,bcm11351 - const: brcm,bcm11351
additionalProperties: true
... ...
...@@ -18,4 +18,6 @@ properties: ...@@ -18,4 +18,6 @@ properties:
- brcm,bcm21664-garnet - brcm,bcm21664-garnet
- const: brcm,bcm21664 - const: brcm,bcm21664
additionalProperties: true
... ...
...@@ -18,4 +18,6 @@ properties: ...@@ -18,4 +18,6 @@ properties:
- brcm,bcm23550-sparrow - brcm,bcm23550-sparrow
- const: brcm,bcm23550 - const: brcm,bcm23550
additionalProperties: true
... ...
...@@ -87,4 +87,7 @@ properties: ...@@ -87,4 +87,7 @@ properties:
- const: brcm,brcm53012 - const: brcm,brcm53012
- const: brcm,brcm53016 - const: brcm,brcm53016
- const: brcm,bcm4708 - const: brcm,bcm4708
additionalProperties: true
... ...
...@@ -26,4 +26,6 @@ properties: ...@@ -26,4 +26,6 @@ properties:
- brcm,bcm58305 - brcm,bcm58305
- const: brcm,cygnus - const: brcm,cygnus
additionalProperties: true
... ...
...@@ -25,4 +25,6 @@ properties: ...@@ -25,4 +25,6 @@ properties:
- const: brcm,bcm53342 - const: brcm,bcm53342
- const: brcm,hr2 - const: brcm,hr2
additionalProperties: true
... ...
...@@ -20,4 +20,6 @@ properties: ...@@ -20,4 +20,6 @@ properties:
- brcm,ns2-xmc - brcm,ns2-xmc
- const: brcm,ns2 - const: brcm,ns2
additionalProperties: true
... ...
...@@ -33,4 +33,6 @@ properties: ...@@ -33,4 +33,6 @@ properties:
- brcm,bcm88312 - brcm,bcm88312
- const: brcm,nsp - const: brcm,nsp
additionalProperties: true
... ...
...@@ -21,4 +21,6 @@ properties: ...@@ -21,4 +21,6 @@ properties:
- brcm,bcm958802a802x - brcm,bcm958802a802x
- const: brcm,stingray - const: brcm,stingray
additionalProperties: true
... ...
...@@ -19,4 +19,6 @@ properties: ...@@ -19,4 +19,6 @@ properties:
- cavium,thunderx2-cn9900 - cavium,thunderx2-cn9900
- const: brcm,vulcan-soc - const: brcm,vulcan-soc
additionalProperties: true
... ...
...@@ -17,4 +17,7 @@ properties: ...@@ -17,4 +17,7 @@ properties:
- enum: - enum:
- bitmain,sophon-edge - bitmain,sophon-edge
- const: bitmain,bm1880 - const: bitmain,bm1880
additionalProperties: true
... ...
...@@ -20,3 +20,5 @@ properties: ...@@ -20,3 +20,5 @@ properties:
- enum: - enum:
- calxeda,highbank - calxeda,highbank
- calxeda,ecx-2000 - calxeda,ecx-2000
additionalProperties: true
...@@ -15,4 +15,6 @@ properties: ...@@ -15,4 +15,6 @@ properties:
compatible: compatible:
const: cnxt,cx92755 const: cnxt,cx92755
additionalProperties: true
... ...
...@@ -621,4 +621,6 @@ properties: ...@@ -621,4 +621,6 @@ properties:
- fsl,s32v234-evb # S32V234-EVB2 Customer Evaluation Board - fsl,s32v234-evb # S32V234-EVB2 Customer Evaluation Board
- const: fsl,s32v234 - const: fsl,s32v234
additionalProperties: true
... ...
...@@ -64,4 +64,7 @@ properties: ...@@ -64,4 +64,7 @@ properties:
items: items:
- const: H836ASDJ - const: H836ASDJ
- const: hisilicon,sd5203 - const: hisilicon,sd5203
additionalProperties: true
... ...
...@@ -16,4 +16,7 @@ properties: ...@@ -16,4 +16,7 @@ properties:
- enum: - enum:
- intel,keembay-evm - intel,keembay-evm
- const: intel,keembay - const: intel,keembay
additionalProperties: true
... ...
...@@ -22,3 +22,5 @@ properties: ...@@ -22,3 +22,5 @@ properties:
- enum: - enum:
- gateworks,gw2358 - gateworks,gw2358
- const: intel,ixp43x - const: intel,ixp43x
additionalProperties: true
...@@ -42,3 +42,5 @@ properties: ...@@ -42,3 +42,5 @@ properties:
- description: TI-SCI processor id for the remote processor device - description: TI-SCI processor id for the remote processor device
- description: TI-SCI host id to which processor control ownership - description: TI-SCI host id to which processor control ownership
should be transferred to should be transferred to
additionalProperties: true
...@@ -59,3 +59,5 @@ properties: ...@@ -59,3 +59,5 @@ properties:
- const: marvell,cn9130 - const: marvell,cn9130
- const: marvell,armada-ap807-quad - const: marvell,armada-ap807-quad
- const: marvell,armada-ap807 - const: marvell,armada-ap807
additionalProperties: true
...@@ -119,4 +119,7 @@ properties: ...@@ -119,4 +119,7 @@ properties:
- const: google,krane-sku176 - const: google,krane-sku176
- const: google,krane - const: google,krane
- const: mediatek,mt8183 - const: mediatek,mt8183
additionalProperties: true
... ...
...@@ -62,4 +62,6 @@ required: ...@@ -62,4 +62,6 @@ required:
- compatible - compatible
- axi@600000000 - axi@600000000
additionalProperties: true
... ...
...@@ -16,4 +16,5 @@ properties: ...@@ -16,4 +16,5 @@ properties:
- const: moxa,moxart-uc-7112-lx - const: moxa,moxart-uc-7112-lx
- const: moxa,moxart - const: moxa,moxart
additionalProperties: true
... ...
...@@ -35,4 +35,7 @@ properties: ...@@ -35,4 +35,7 @@ properties:
- enum: - enum:
- dell,wyse-ariel - dell,wyse-ariel
- const: marvell,mmp3 - const: marvell,mmp3
additionalProperties: true
... ...
...@@ -31,3 +31,5 @@ properties: ...@@ -31,3 +31,5 @@ properties:
- enum: - enum:
- 70mai,midrived08 # 70mai midrive d08 - 70mai,midrived08 # 70mai midrive d08
- const: mstar,mercury5 - const: mstar,mercury5
additionalProperties: true
...@@ -21,4 +21,6 @@ properties: ...@@ -21,4 +21,6 @@ properties:
- ea,ea3250 - ea,ea3250
- phytec,phy3250 - phytec,phy3250
- const: nxp,lpc3250 - const: nxp,lpc3250
additionalProperties: true
... ...
...@@ -178,4 +178,6 @@ properties: ...@@ -178,4 +178,6 @@ properties:
- qcom,sm8250-mtp - qcom,sm8250-mtp
- const: qcom,sm8250 - const: qcom,sm8250
additionalProperties: true
... ...
...@@ -19,4 +19,6 @@ properties: ...@@ -19,4 +19,6 @@ properties:
- xunlong,orangepi-i96 # Orange Pi i96 - xunlong,orangepi-i96 # Orange Pi i96
- const: rda,8810pl - const: rda,8810pl
additionalProperties: true
... ...
...@@ -54,4 +54,7 @@ properties: ...@@ -54,4 +54,7 @@ properties:
- enum: - enum:
- realtek,mjolnir # Realtek Mjolnir EVB - realtek,mjolnir # Realtek Mjolnir EVB
- const: realtek,rtd1619 - const: realtek,rtd1619
additionalProperties: true
... ...
...@@ -299,4 +299,6 @@ properties: ...@@ -299,4 +299,6 @@ properties:
- renesas,rzn1d400-db # RZN1D-DB (RZ/N1D Demo Board for the RZ/N1D 400 pins package) - renesas,rzn1d400-db # RZN1D-DB (RZ/N1D Demo Board for the RZ/N1D 400 pins package)
- const: renesas,r9a06g032 - const: renesas,r9a06g032
additionalProperties: true
... ...
...@@ -569,4 +569,7 @@ properties: ...@@ -569,4 +569,7 @@ properties:
items: items:
- const: zkmagic,a95x-z2 - const: zkmagic,a95x-z2
- const: rockchip,rk3318 - const: rockchip,rk3318
additionalProperties: true
... ...
...@@ -180,3 +180,5 @@ properties: ...@@ -180,3 +180,5 @@ properties:
required: required:
- compatible - compatible
additionalProperties: true
...@@ -24,4 +24,7 @@ properties: ...@@ -24,4 +24,7 @@ properties:
- items: - items:
- const: sirf,prima2-cb - const: sirf,prima2-cb
- const: sirf,prima2 - const: sirf,prima2
additionalProperties: true
... ...
...@@ -19,4 +19,7 @@ properties: ...@@ -19,4 +19,7 @@ properties:
- enum: - enum:
- socionext,milbeaut-m10v-evb - socionext,milbeaut-m10v-evb
- const: socionext,sc2000a - const: socionext,sc2000a
additionalProperties: true
... ...
...@@ -60,3 +60,5 @@ properties: ...@@ -60,3 +60,5 @@ properties:
- enum: - enum:
- socionext,uniphier-pxs3-ref - socionext,uniphier-pxs3-ref
- const: socionext,uniphier-pxs3 - const: socionext,uniphier-pxs3
additionalProperties: true
...@@ -22,4 +22,7 @@ properties: ...@@ -22,4 +22,7 @@ properties:
- st,spear320 - st,spear320
- st,spear1310 - st,spear1310
- st,spear1340 - st,spear1340
additionalProperties: true
... ...
...@@ -30,4 +30,6 @@ properties: ...@@ -30,4 +30,6 @@ properties:
- sprd,sp9863a-1h10 - sprd,sp9863a-1h10
- const: sprd,sc9863a - const: sprd,sc9863a
additionalProperties: true
... ...
...@@ -20,4 +20,7 @@ properties: ...@@ -20,4 +20,7 @@ properties:
- st,stih407 - st,stih407
- st,stih410 - st,stih410
- st,stih418 - st,stih418
additionalProperties: true
... ...
...@@ -58,4 +58,7 @@ properties: ...@@ -58,4 +58,7 @@ properties:
- seeed,stm32mp157c-odyssey - seeed,stm32mp157c-odyssey
- const: seeed,stm32mp157c-odyssey-som - const: seeed,stm32mp157c-odyssey-som
- const: st,stm32mp157 - const: st,stm32mp157
additionalProperties: true
... ...
...@@ -893,3 +893,5 @@ properties: ...@@ -893,3 +893,5 @@ properties:
items: items:
- const: xunlong,orangepi-zero-plus2-h3 - const: xunlong,orangepi-zero-plus2-h3
- const: allwinner,sun8i-h3 - const: allwinner,sun8i-h3
additionalProperties: true
...@@ -125,3 +125,5 @@ properties: ...@@ -125,3 +125,5 @@ properties:
- enum: - enum:
- nvidia,tegra234-vdk - nvidia,tegra234-vdk
- const: nvidia,tegra234 - const: nvidia,tegra234
additionalProperties: true
...@@ -32,4 +32,7 @@ properties: ...@@ -32,4 +32,7 @@ properties:
- description: K3 J7200 SoC - description: K3 J7200 SoC
items: items:
- const: ti,j7200 - const: ti,j7200
additionalProperties: true
... ...
...@@ -21,4 +21,7 @@ properties: ...@@ -21,4 +21,7 @@ properties:
- ti,nspire-tp - ti,nspire-tp
# Clickpad models # Clickpad models
- ti,nspire-clp - ti,nspire-clp
additionalProperties: true
... ...
...@@ -23,4 +23,7 @@ properties: ...@@ -23,4 +23,7 @@ properties:
- enbw,cmc # EnBW AM1808 based CMC board - enbw,cmc # EnBW AM1808 based CMC board
- lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based) - lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based)
- const: ti,da850 - const: ti,da850
additionalProperties: true
... ...
...@@ -19,4 +19,7 @@ properties: ...@@ -19,4 +19,7 @@ properties:
- enum: - enum:
- toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board - toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board
- const: toshiba,tmpv7708 - const: toshiba,tmpv7708
additionalProperties: true
... ...
...@@ -34,3 +34,5 @@ properties: ...@@ -34,3 +34,5 @@ properties:
items: items:
- const: samsung,golden - const: samsung,golden
- const: st-ericsson,u8500 - const: st-ericsson,u8500
additionalProperties: true
...@@ -21,3 +21,6 @@ properties: ...@@ -21,3 +21,6 @@ properties:
- wm,wm8650 - wm,wm8650
- wm,wm8750 - wm,wm8750
- wm,wm8850 - wm,wm8850
additionalProperties: true
...@@ -111,4 +111,6 @@ properties: ...@@ -111,4 +111,6 @@ properties:
- const: xlnx,zynqmp-zcu111 - const: xlnx,zynqmp-zcu111
- const: xlnx,zynqmp - const: xlnx,zynqmp
additionalProperties: true
... ...
...@@ -23,4 +23,6 @@ properties: ...@@ -23,4 +23,6 @@ properties:
- zte,zx296718-evb - zte,zx296718-evb
- const: zte,zx296718 - const: zte,zx296718
additionalProperties: true
... ...
...@@ -52,4 +52,7 @@ properties: ...@@ -52,4 +52,7 @@ properties:
items: items:
- const: yna,cu2000-neo - const: yna,cu2000-neo
- const: ingenic,x2000e - const: ingenic,x2000e
additionalProperties: true
... ...
...@@ -36,4 +36,7 @@ properties: ...@@ -36,4 +36,7 @@ properties:
- description: Virtual Loongson64 Quad Core + VirtIO - description: Virtual Loongson64 Quad Core + VirtIO
items: items:
- const: loongson,loongson64v-4core-virtio - const: loongson,loongson64v-4core-virtio
additionalProperties: true
... ...
...@@ -22,4 +22,7 @@ properties: ...@@ -22,4 +22,7 @@ properties:
- sifive,hifive-unleashed-a00 - sifive,hifive-unleashed-a00
- const: sifive,fu540-c000 - const: sifive,fu540-c000
- const: sifive,fu540 - const: sifive,fu540
additionalProperties: true
... ...
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