]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dt-bindings: Explicitly allow additional properties in common schemas
authorRob Herring <robh@kernel.org>
Mon, 5 Oct 2020 18:38:30 +0000 (13:38 -0500)
committerRob Herring <robh@kernel.org>
Wed, 7 Oct 2020 16:30:06 +0000 (11:30 -0500)
In order to add meta-schema checks for additional/unevaluatedProperties
being present, all schema need to make this explicit. As common/shared
schema are included by other schemas, they should always allow for
additionalProperties.

Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201005183830.486085-5-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
65 files changed:
Documentation/devicetree/bindings/arm/cpus.yaml
Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
Documentation/devicetree/bindings/ata/pata-common.yaml
Documentation/devicetree/bindings/ata/sata-common.yaml
Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
Documentation/devicetree/bindings/connector/usb-connector.yaml
Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
Documentation/devicetree/bindings/display/dsi-controller.yaml
Documentation/devicetree/bindings/display/panel/lvds.yaml
Documentation/devicetree/bindings/display/panel/panel-common.yaml
Documentation/devicetree/bindings/dma/dma-common.yaml
Documentation/devicetree/bindings/dma/dma-controller.yaml
Documentation/devicetree/bindings/dma/dma-router.yaml
Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
Documentation/devicetree/bindings/iio/common.yaml
Documentation/devicetree/bindings/input/input.yaml
Documentation/devicetree/bindings/input/matrix-keymap.yaml
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
Documentation/devicetree/bindings/leds/common.yaml
Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
Documentation/devicetree/bindings/leds/trigger-source.yaml
Documentation/devicetree/bindings/media/rc.yaml
Documentation/devicetree/bindings/mfd/syscon.yaml
Documentation/devicetree/bindings/mmc/mmc-controller.yaml
Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
Documentation/devicetree/bindings/mtd/nand-controller.yaml
Documentation/devicetree/bindings/net/can/can-transceiver.yaml
Documentation/devicetree/bindings/net/dsa/dsa.yaml
Documentation/devicetree/bindings/net/ethernet-controller.yaml
Documentation/devicetree/bindings/net/ethernet-phy.yaml
Documentation/devicetree/bindings/net/mdio.yaml
Documentation/devicetree/bindings/net/snps,dwmac.yaml
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
Documentation/devicetree/bindings/nvmem/nvmem.yaml
Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
Documentation/devicetree/bindings/pci/cdns-pcie.yaml
Documentation/devicetree/bindings/pci/pci-ep.yaml
Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
Documentation/devicetree/bindings/power/power-domain.yaml
Documentation/devicetree/bindings/power/supply/power-supply.yaml
Documentation/devicetree/bindings/pwm/pwm.yaml
Documentation/devicetree/bindings/regulator/regulator.yaml
Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
Documentation/devicetree/bindings/riscv/cpus.yaml
Documentation/devicetree/bindings/rtc/rtc.yaml
Documentation/devicetree/bindings/serial/rs485.yaml
Documentation/devicetree/bindings/serial/serial.yaml
Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
Documentation/devicetree/bindings/sound/cirrus,madera.yaml
Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
Documentation/devicetree/bindings/sound/wlf,arizona.yaml
Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
Documentation/devicetree/bindings/spi/spi-controller.yaml
Documentation/devicetree/bindings/spmi/spmi.yaml
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
Documentation/devicetree/bindings/usb/usb-hcd.yaml
Documentation/devicetree/bindings/watchdog/watchdog.yaml

index 1222bf1831fab0fd772284483571f3392735e836..14cd727d3c4b75c12afed857664d4dc5822a7f51 100644 (file)
@@ -341,6 +341,8 @@ required:
 dependencies:
   rockchip,pmu: [enable-method]
 
+additionalProperties: true
+
 examples:
   - |
     cpus {
index 1043e4be4fcaedb74d8da3ab81f8e65d3d5bfb02..c9675c4cdc1bd35b73cf46865c3b2fdafbf50122 100644 (file)
@@ -30,6 +30,8 @@ properties:
       Specifies the bpmp node that needs to be queried to get
       operating point data for all CPUs.
 
+additionalProperties: true
+
 examples:
   - |
     cpus {
index fc5ebbe7108db9e87cc601bb55cbce5b1fa12160..2412894a255de7d6151a87def9c247f4dbeb7052 100644 (file)
@@ -47,4 +47,6 @@ patternProperties:
           The ID number of the drive port, 0 for the master port and 1 for the
           slave port.
 
+additionalProperties: true
+
 ...
index 6783a4dec6b59feedaddfd5b2506c138f5c5a4a9..7ac77b1c5850d85062024d974bb871ce95e168ec 100644 (file)
@@ -47,4 +47,6 @@ patternProperties:
           multiplier making it possible to connect up to 15 disks to a single
           SATA port.
 
+additionalProperties: true
+
 ...
index 33326ffdb2669a2c2c88ba630de1711c77b7f16c..182134d7a6a3b1977314fd63404c30047af8906f 100644 (file)
@@ -61,6 +61,8 @@ anyOf:
   - required:
       - power-domains
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-msm8996.h>
index 6d7396ab8beec07c621e2412d693b1ffe68ba459..2d98f7c4d3bcfacc4e2f0a0049628ba9bb00881b 100644 (file)
@@ -26,6 +26,8 @@ properties:
 required:
   - compatible
 
+additionalProperties: true #fixme
+
 examples:
   - |+
     spi0 {
index dc6ff64422d495529157e859611fe192ac93e2f5..f037d65b018ed99c3598982085bd5f66d2d50a75 100644 (file)
@@ -172,6 +172,8 @@ allOf:
         type:
           const: micro
 
+additionalProperties: true
+
 examples:
   # Micro-USB connector with HS lines routed via controller (MUIC).
   - |
index 012aa8e7cb8cdb91adad536ebecb764c73410e53..e42cb610f545c112f068766a7a96d8a32c6f9dce 100644 (file)
@@ -66,3 +66,5 @@ required:
   - clocks
   - ports
   - reg
+
+additionalProperties: true
index a02039e3aca0e31d786c91dbec6c6b5dd620b97a..ca21671f6bddcb0097a6f17361bd163a036eb7a6 100644 (file)
@@ -73,6 +73,8 @@ patternProperties:
     required:
       - reg
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 946dd354256c11d2e461f4810e8b094ef08117f3..31164608ba1ded7a7a88c65dd91828b8b31fad3e 100644 (file)
@@ -112,4 +112,6 @@ oneOf:
   - required:
       - ports
 
+additionalProperties: true
+
 ...
index 45fe8fe5faba6f370e6d873bc0c494aab7805c4c..cd6dc5461721d7504a0e4722f3550f7f36f798a8 100644 (file)
@@ -163,4 +163,6 @@ dependencies:
   width-mm: [ height-mm ]
   height-mm: [ width-mm ]
 
+additionalProperties: true
+
 ...
index c3659268334075ea93edfb68c215c64231412207..307b499e896865da7029cdc875e0ee48ff137673 100644 (file)
@@ -49,3 +49,5 @@ properties:
 
 required:
   - "#dma-cells"
+
+additionalProperties: true
index c39f6de76670d32db8e25c653d71700adb7cf219..0043b91da95e8d15163b52e4bad37050a6a908c5 100644 (file)
@@ -17,6 +17,8 @@ properties:
   $nodename:
     pattern: "^dma-controller(@.*)?$"
 
+additionalProperties: true
+
 examples:
   - |
     dma: dma-controller@48000000 {
index 5b5f07393135d18f0b993b6c400b9433c801cae5..4cee5667b8a8ffd454fe1d966da9c1fc2e39e68a 100644 (file)
@@ -36,6 +36,8 @@ required:
   - "#dma-cells"
   - dma-masters
 
+additionalProperties: true
+
 examples:
   - |
     sdma_xbar: dma-router@4a002b78 {
index f9845dc2f5ae5bfe719d2fcd4fa9333e93338f20..5fe784f487c5ee17651d68ff5fc7e9e1bc5b5bf4 100644 (file)
@@ -123,3 +123,5 @@ properties:
     $ref: "/schemas/types.yaml#/definitions/uint32"
     minimum: 0
     maximum: 3
+
+additionalProperties: true
index cc3c8ea6a894807992ed47eeb1d52ecaca077c7c..7ed6afc3622897f278d31064d0d2345bd2ac6e88 100644 (file)
@@ -46,6 +46,8 @@ properties:
   "#io-channel-cells":
     const: 1
 
+  io-channel-ranges: true
+
   vdd-supply: true
 
   samsung,syscon-phandle:
@@ -68,6 +70,9 @@ required:
   - "#io-channel-cells"
   - vdd-supply
 
+additionalProperties:
+  type: object
+
 allOf:
   - if:
       properties:
index 97ffcb77043dd29f16b83f41e034cdee6b96b017..f845b41d74c4fed8e675b5c238ff28093ea82c08 100644 (file)
@@ -32,4 +32,6 @@ properties:
       considered 'near' to the device (an object is near to the
       sensor).
 
+additionalProperties: true
+
 ...
index 8edcb3c31270f127efdf4528acff8991923c037c..ab407f266bef1038b8ce97c0e98f6872be4f644b 100644 (file)
@@ -33,3 +33,5 @@ properties:
       power off automatically. Device with key pressed shutdown feature can
       specify this property.
     $ref: /schemas/types.yaml#/definitions/uint32
+
+additionalProperties: true
index c3bf09156783a29db6eb796c9020bda091215f72..6699d5e32dcafe111af27dc0a4899b5d0d12c066 100644 (file)
@@ -35,6 +35,8 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: Number of column lines connected to the keypad controller.
 
+additionalProperties: true
+
 examples:
   - |
     keypad {
index 36dc7b56a453b032a649c932ba4a03fb7cbb6094..a771a15f053fa2c582cb9f7156a225a9ed1715bb 100644 (file)
@@ -81,3 +81,5 @@ dependencies:
   touchscreen-size-y: [ touchscreen-size-x ]
   touchscreen-x-mm: [ touchscreen-y-mm ]
   touchscreen-y-mm: [ touchscreen-x-mm ]
+
+additionalProperties: true
index a2a541bca73c54fe65cbedf292a1fcb27dd887df..08b6700ca61edecfe898f987d7d63716f993356a 100644 (file)
@@ -156,6 +156,8 @@ properties:
       Maximum timeout in microseconds after which the flash LED is turned off.
       Required for flash LED nodes with configurable timeout.
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index b55e1f1308a45e4e7ae4dcd3cc215137e44df400..b1a53f054b895e4c88b195d5cf8f4f817596e57d 100644 (file)
@@ -34,4 +34,7 @@ patternProperties:
 
     required:
       - color
+
+additionalProperties: true
+
 ...
index 0618003e40bdde3ebc1a44bcc55b354596e2df70..89a1cde2b8aab6be549cc779d6b5ceed54b84b87 100644 (file)
@@ -21,4 +21,6 @@ properties:
       trigger sources (e.g. a specific USB port).
     enum: [ 0, 1 ]
 
+additionalProperties: true
+
 ...
index ded2ac43237dd058fccb527e43fd55ced132a357..8ad2cba5f61f922cc69b30345df2205ce0dcdbfa 100644 (file)
@@ -150,3 +150,5 @@ properties:
       - rc-x96max
       - rc-xbox-dvd
       - rc-zx-irdec
+
+additionalProperties: true
index 844ee2a6ce0562de1c51bea198be74275b4bc819..5317a7d69aa5a63fe972406690f85ad2fbb9cb2b 100644 (file)
@@ -71,7 +71,7 @@ required:
   - compatible
   - reg
 
-unevaluatedProperties: false
+additionalProperties: true
 
 examples:
   - |
index b96da0c7f819df3de818d16f6921c19bbbe046ac..57319b425eaa219d46519f69cf44172945e0a1c9 100644 (file)
@@ -349,6 +349,8 @@ dependencies:
   cd-debounce-delay-ms: [ cd-gpios ]
   fixed-emmc-driver-type: [ non-removable ]
 
+additionalProperties: true
+
 examples:
   - |
     mmc@ab000000 {
index 85bd528e9a1442421caf2f8402042ecbd54ee577..8dfad89c78a78f70176fdd4dca8b812600eb23e4 100644 (file)
@@ -62,3 +62,5 @@ properties:
 
   dma-names:
     const: rx-tx
+
+additionalProperties: true
index 40fc5b0b2b8cfae1028ae94293e3e8a5ff4ff269..274bbe6a365e41026fed53fc0aa8536873481120 100644 (file)
@@ -128,6 +128,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: true
+
 examples:
   - |
     nand-controller {
index 6396977d29e5ddb65bb5f0d7b4c535fdd5f9b6e1..d1ef1fe6ab2902d4cdc6df4a294fa2f3c5926a7f 100644 (file)
@@ -16,3 +16,5 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: a positive non 0 value that determines the max speed that CAN/CAN-FD can run.
     minimum: 1
+
+additionalProperties: true
index 6a1ec50ad4fd527e7ced8528b8bae2d00f338514..a765ceba28c6098dbe02aea3f1d85fa73ce33fad 100644 (file)
@@ -89,4 +89,6 @@ oneOf:
   - required:
       - ethernet-ports
 
+additionalProperties: true
+
 ...
index fa2baca8c7262704b4ea461ef5e77f0d37679fd0..3fd85ce37e9c9143bfd611fe55341aeb9d0caf68 100644 (file)
@@ -205,4 +205,6 @@ properties:
           required:
             - speed
 
+additionalProperties: true
+
 ...
index a9e547ac790512918b07316606d05beb0af42ab1..6dd72faebd8961115521ae819ccbba0adccf4fc9 100644 (file)
@@ -177,6 +177,8 @@ properties:
 required:
   - reg
 
+additionalProperties: true
+
 examples:
   - |
     ethernet {
index 26afb556dfae6203266656a768f22d8710701263..e811e0fd851c19042f3dbd729a7ec1cc4140ae64 100644 (file)
@@ -100,6 +100,8 @@ patternProperties:
     required:
       - reg
 
+additionalProperties: true
+
 examples:
   - |
     davinci_mdio: mdio@5c030000 {
index 30a1efd2662679749cd406027290d2fc50483535..11a6fdb657c93a0154812908411973b770eff46c 100644 (file)
@@ -356,6 +356,8 @@ allOf:
             Enables the TSO feature otherwise it will be managed by
             MAC HW capability register.
 
+additionalProperties: true
+
 examples:
   - |
     stmmac_axi_setup: stmmac-axi-config {
index b7c00ed31085074d2dbe4f41e0c1dca6d5d27446..d5d7f113bade46359fee82a78412870fb88217fc 100644 (file)
@@ -36,6 +36,8 @@ dependencies:
   nvmem-names: [ nvmem ]
   nvmem-cell-names: [ nvmem-cells ]
 
+additionalProperties: true
+
 examples:
   - |
     tsens {
index b459f9dba6c93f980388a95aab653639723e3f9d..7481a9e48f1969d67f63755b5c62a0623286e168 100644 (file)
@@ -67,6 +67,8 @@ patternProperties:
     required:
       - reg
 
+additionalProperties: true
+
 examples:
   - |
       #include <dt-bindings/gpio/gpio.h>
index 016a5f61592d4bd571c3929f6433f2e88e51d5d9..60b8baf299bb5aba2e908171ed2ad5a32ab54b15 100644 (file)
@@ -22,3 +22,5 @@ properties:
 
 required:
   - cdns,max-outbound-regions
+
+additionalProperties: true
index 303078a7b7a88de196f65d1eae62ffd06063c596..a944f9bfffffc6b5feb8871b201aabbcca48a3c1 100644 (file)
@@ -33,3 +33,5 @@ properties:
     deprecated: true
 
   msi-parent: true
+
+additionalProperties: true
index 02553d5e6c5114194091856ece753c1de8721b23..df4fe28222b023707d4c348e6de1a4ef5853aed3 100644 (file)
@@ -21,3 +21,5 @@ properties:
     items:
       - const: pcie-phy
     # FIXME: names when more than 1
+
+additionalProperties: true
index 0f8e575ac01a303cac1b23ee5f1df06759bc93f0..7847bbcd4a03db9207dbd519a20d2791506a429f 100644 (file)
@@ -36,3 +36,5 @@ properties:
 
 required:
   - compatible
+
+additionalProperties: true
index 6bfc25d0e1b334ec8f0be42a1fe85db88a0d3bee..4cb174bf31ffa64b926300f8ae6155aae382bb04 100644 (file)
@@ -120,3 +120,5 @@ properties:
 required:
   - pinctrl-0
   - pinctrl-names
+
+additionalProperties: true
index 13b7ab9dd6d51b9d846cf262d600b733deab0bf3..71ed0a9def84e05c9df538f5d816326dc83f672f 100644 (file)
@@ -138,3 +138,5 @@ properties:
       and the delay before latching a value to an output
       pin. Typically indicates how many double-inverters are
       used to delay the signal.
+
+additionalProperties: true
index ef8877ddb1ebfdc7d1d34e83a4bd43e63e486532..551df3d9b80900de2d6d24cfb79367c002338f31 100644 (file)
@@ -129,3 +129,5 @@ properties:
 
   pinctrl-pin-array:
     $ref: /schemas/types.yaml#/definitions/uint32-array
+
+additionalProperties: true
index dd564349aa53b1d00581957662d60fd102cf588f..aed51e9dcb11f7be38dc3ad5b26651f12f830e83 100644 (file)
@@ -69,6 +69,8 @@ properties:
 required:
   - "#power-domain-cells"
 
+additionalProperties: true
+
 examples:
   - |
     power: power-controller@12340000 {
index 3bb02bb3a2d8b46a12c3b0355491389e8ce4836f..c5c55f627251770760743b2139a1cd60fcc37abf 100644 (file)
@@ -16,6 +16,8 @@ properties:
       This property is added to a supply in order to list the devices which
       supply it power, referenced by their phandles.
 
+additionalProperties: true
+
 examples:
   - |
     power {
index fa4f9de92090938c22fdb2e1949520ec81576e89..7d1f687cee9cd5863345dc627a94dd64209fb48c 100644 (file)
@@ -20,6 +20,8 @@ properties:
 required:
   - "#pwm-cells"
 
+additionalProperties: true
+
 examples:
   - |
     pwm: pwm@7000a000 {
index ec505dbbf87c0b5f3e1657fddef2ecf426eae717..6d0bc9cd40403f5bddbafc80be6e3a657a116ea2 100644 (file)
@@ -188,6 +188,8 @@ patternProperties:
 
     additionalProperties: false
 
+additionalProperties: true
+
 examples:
   - |
     xyzreg: regulator {
index a0aea73bf412227f2dde33db1cd4e216b950e372..7b4ae5d2335125901fa398adb604d1ebbc94206f 100644 (file)
@@ -35,3 +35,5 @@ properties:
       Initial data for the MICVDD regulator.
     $ref: "regulator.yaml#"
     type: object
+
+additionalProperties: true
index f80ba2c66f716e3e028ef48449843624cf643342..c6925e0b16e46bb546d04fc3dd53900126ff310d 100644 (file)
@@ -91,6 +91,8 @@ required:
   - riscv,isa
   - interrupt-controller
 
+additionalProperties: true
+
 examples:
   - |
     // Example 1: SiFive Freedom U540G Development Kit
index ee237b2ed66a69bce8b0519044106e4699b20b10..2d055e37e6f7fe84e9e48d7678c199a8ced5c4fa 100644 (file)
@@ -47,4 +47,6 @@ properties:
     description:
       Enables wake up of host system on alarm.
 
+additionalProperties: true
+
 ...
index fe90569475e12f5e719a96b3ccf042767af26488..0c9fa694f85c840610b01dcb66370f3ee420fad1 100644 (file)
@@ -45,4 +45,7 @@ properties:
   rs485-term-gpios:
     description: GPIO pin to enable RS485 bus termination.
     maxItems: 1
+
+additionalProperties: true
+
 ...
index 8645d0e526b4001c868774dc3c2172baa00ab525..65e75d04052178372be31517057a1e42f43b132b 100644 (file)
@@ -124,6 +124,8 @@ patternProperties:
       required:
         - compatible
 
+additionalProperties: true
+
 examples:
   - |
     serial@1234 {
index 3cbf2d28a188dac71a758b10b2a9570a30a36f1c..80d99861fec55396bfa9831dca26a4fb6ebc02a7 100644 (file)
@@ -35,6 +35,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: true
+
 examples:
   - |
     bus@30000000 {
index 7a7f28469624b1b6126618ea079af751766be446..f50558ed914f7fe55b7f5e90af1b803c8036ecb1 100644 (file)
@@ -75,6 +75,8 @@ required:
   - reg
   - resets
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/gxbb-clkc.h>
index c4cd58b5acd468dd08b6da5fe7f1f98369b8da59..23138ddcb62d0be916c7dcc67a6a062c8631f310 100644 (file)
@@ -111,3 +111,5 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     minItems: 2
     maxItems: 2
+
+additionalProperties: true
index 44ee9d844ae012428ed12cff3aafe20e98964ede..d77219727768e4f23901cacd1f118904484d9e20 100644 (file)
@@ -67,6 +67,9 @@ required:
   - "#size-cells"
   - ranges
 
+additionalProperties:
+  type: object
+
 examples:
   - |
     #include<dt-bindings/clock/tegra210-car.h>
index 22d54be7900a75a0457678b41f90c451c0caa1f1..1627c0bb69be27fa403684546a1e183467ce86d5 100644 (file)
@@ -112,3 +112,5 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     minItems: 1
     maxItems: 12
+
+additionalProperties: true
index 330924b8618ec69c522196842d9c7fc74aaa89f1..4aad121eff3f22dc6c7360aae8dab750e2e41708 100644 (file)
@@ -57,6 +57,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: true
+
 examples:
   - |
     soundwire@c2d0000 {
index c6a2f543648bba01dbb4003667d2ff8fe005d1c4..2b154803b181c8bb89fe8032025f5a2237048a8d 100644 (file)
@@ -140,6 +140,8 @@ patternProperties:
       - compatible
       - reg
 
+additionalProperties: true
+
 examples:
   - |
     spi@f00 {
index 0cfbf56ba8252beb2a88a1482c25dfb719601420..1739409307199bd2a08df59b04864e6cdad23bea 100644 (file)
@@ -55,6 +55,8 @@ patternProperties:
 required:
   - reg
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/spmi/spmi.h>
index ad4beaf0284279130e4c0b4225e2c4e353992f55..f004779ba9b38eb729f9cb95460dad6d135643b5 100644 (file)
@@ -49,6 +49,8 @@ properties:
       and the second cell is the maximum cooling state requested.
     const: 2
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
index 727d04550324c137d816c2070db01972bb05b335..9f747921e8518dfb8061376b15360e03b36abc7a 100644 (file)
@@ -36,6 +36,8 @@ properties:
       containing several internal sensors.
     enum: [0, 1]
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
index 8eaf4b6c4735f1fa9c3e3828a7f0c6951787128c..f6819bf2a3b52c8fa9f01f82f9e34627b307e6e1 100644 (file)
@@ -32,6 +32,8 @@ required:
   - interrupts
   - interrupt-names
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 7263b7f2b510db09c890187b222c5f254e480121..b545b087b34221106d03e84d9b252311e6bd9245 100644 (file)
@@ -22,6 +22,8 @@ properties:
     description:
       Name specifier for the USB PHY
 
+additionalProperties: true
+
 examples:
   - |
     usb {
index 187bf6cb62bf933ba6eee616fa9d12017135219c..4e2c26cd981d90653c22fb7390c8638692404d7c 100644 (file)
@@ -23,4 +23,6 @@ properties:
     description:
       Contains the watchdog timeout in seconds.
 
+additionalProperties: true
+
 ...