dt-bindings: Add missing 'additionalProperties: false'
authorRob Herring <robh@kernel.org>
Wed, 25 Mar 2020 22:05:41 +0000 (16:05 -0600)
committerRob Herring <robh@kernel.org>
Tue, 31 Mar 2020 15:03:17 +0000 (09:03 -0600)
Setting 'additionalProperties: false' is frequently omitted, but is
important in order to check that there aren't extra undocumented
properties in a binding.

Ideally, we'd just add this automatically and make this the default, but
there's some cases where it doesn't work. For example, if a common
schema is referenced, then properties in the common schema aren't part
of what's considered for 'additionalProperties'. Also, sometimes there
are bus specific properties such as 'spi-max-frequency' that go into
bus child nodes, but aren't defined in the child node's schema.

So let's stick with the json-schema defined default and add
'additionalProperties: false' where needed. This will be a continual
review comment and game of wack-a-mole.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Stephen Boyd <sboyd@kernel.org> # clock
Acked-by: Lee Jones <lee.jones@linaro.org>
116 files changed:
Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml
Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
Documentation/devicetree/bindings/arm/renesas,prr.yaml
Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml
Documentation/devicetree/bindings/arm/samsung/pmu.yaml
Documentation/devicetree/bindings/arm/samsung/samsung-secure-firmware.yaml
Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
Documentation/devicetree/bindings/clock/fsl,plldig.yaml
Documentation/devicetree/bindings/clock/imx8mn-clock.yaml
Documentation/devicetree/bindings/clock/imx8mp-clock.yaml
Documentation/devicetree/bindings/clock/milbeaut-clock.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-qcs404.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-sc7180.yaml
Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml
Documentation/devicetree/bindings/clock/qcom,gcc.yaml
Documentation/devicetree/bindings/clock/qcom,mmcc.yaml
Documentation/devicetree/bindings/clock/qcom,msm8998-gpucc.yaml
Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
Documentation/devicetree/bindings/clock/qcom,sc7180-dispcc.yaml
Documentation/devicetree/bindings/clock/qcom,sc7180-gpucc.yaml
Documentation/devicetree/bindings/clock/qcom,sc7180-videocc.yaml
Documentation/devicetree/bindings/clock/qcom,sdm845-dispcc.yaml
Documentation/devicetree/bindings/clock/qcom,sdm845-gpucc.yaml
Documentation/devicetree/bindings/clock/qcom,sdm845-videocc.yaml
Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml
Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
Documentation/devicetree/bindings/dsp/fsl,dsp.yaml
Documentation/devicetree/bindings/eeprom/at24.yaml
Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml
Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml
Documentation/devicetree/bindings/gpio/xylon,logicvc-gpio.yaml
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
Documentation/devicetree/bindings/gpu/samsung-rotator.yaml
Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml
Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml
Documentation/devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml
Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml
Documentation/devicetree/bindings/iio/accel/bosch,bma400.yaml
Documentation/devicetree/bindings/iio/adc/adi,ad7780.yaml
Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml
Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml
Documentation/devicetree/bindings/iio/dac/lltc,ltc1660.yaml
Documentation/devicetree/bindings/iio/light/adux1020.yaml
Documentation/devicetree/bindings/iio/light/bh1750.yaml
Documentation/devicetree/bindings/iio/light/isl29018.yaml
Documentation/devicetree/bindings/iio/light/noa1305.yaml
Documentation/devicetree/bindings/iio/light/stk33xx.yaml
Documentation/devicetree/bindings/iio/light/tsl2583.yaml
Documentation/devicetree/bindings/iio/light/tsl2772.yaml
Documentation/devicetree/bindings/iio/light/veml6030.yaml
Documentation/devicetree/bindings/iio/pressure/asc,dlhl60d.yaml
Documentation/devicetree/bindings/iio/pressure/bmp085.yaml
Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml
Documentation/devicetree/bindings/iio/proximity/parallax-ping.yaml
Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
Documentation/devicetree/bindings/input/gpio-vibrator.yaml
Documentation/devicetree/bindings/input/max77650-onkey.yaml
Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml
Documentation/devicetree/bindings/iommu/samsung,sysmmu.yaml
Documentation/devicetree/bindings/leds/leds-max77650.yaml
Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml
Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml
Documentation/devicetree/bindings/media/amlogic,gx-vdec.yaml
Documentation/devicetree/bindings/media/amlogic,meson-gx-ao-cec.yaml
Documentation/devicetree/bindings/media/renesas,ceu.yaml
Documentation/devicetree/bindings/mfd/max77650.yaml
Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
Documentation/devicetree/bindings/misc/intel,ixp4xx-ahb-queue-manager.yaml
Documentation/devicetree/bindings/net/ti,cpsw-switch.yaml
Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml
Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb3-pcie-phy.yaml
Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml
Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml
Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
Documentation/devicetree/bindings/power/reset/syscon-poweroff.yaml
Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml
Documentation/devicetree/bindings/power/supply/max77650-charger.yaml
Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml
Documentation/devicetree/bindings/regulator/max77650-regulator.yaml
Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml
Documentation/devicetree/bindings/reset/brcm,bcm7216-pcie-sata-rescal.yaml
Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml
Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml
Documentation/devicetree/bindings/rtc/renesas,sh-rtc.yaml
Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml
Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
Documentation/devicetree/bindings/soc/amlogic/amlogic,canvas.yaml
Documentation/devicetree/bindings/sound/adi,adau7118.yaml
Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml
Documentation/devicetree/bindings/sound/renesas,fsi.yaml
Documentation/devicetree/bindings/sound/samsung,odroid.yaml
Documentation/devicetree/bindings/sound/samsung-i2s.yaml
Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
Documentation/devicetree/bindings/timer/arm,arch_timer.yaml
Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
Documentation/devicetree/bindings/timer/arm,global_timer.yaml
Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml
Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
Documentation/devicetree/bindings/trivial-devices.yaml

index e4131fa42b26465415bca7ef4b21f1f2a7310ceb..57238130668113dd5ad13cd63682d80123c6f313 100644 (file)
@@ -21,6 +21,8 @@ properties:
 required:
   - compatible
 
+additionalProperties: false
+
 examples:
   - |
     clkmgr@ffd04000 {
index 853d7d2b56f5d464fbb3453446d3026a439e0d19..66213bd95e6ef2630924263d1fe122d0ccd9c77e 100644 (file)
@@ -43,6 +43,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     ao-secure@140 {
index 79902f470e4b47574a87416b6059de30dd01bd99..c3a8604dfa80df0db4a8387ba70d163c7fe5c48e 100644 (file)
@@ -43,6 +43,8 @@ required:
   - reg-names
   - interrupts
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
index 7f8d17f33983ac7a84080f8f14bc1093bff581cf..dd087643a9f8fdc43e393f0a7dc2c757f75dc13e 100644 (file)
@@ -27,6 +27,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     prr: chipid@ff000044 {
index afcd70803c12e1c7d734a9a88c6b42fed1aa8c1c..0425d333b50d48173791af29ab885aabc700fd08 100644 (file)
@@ -30,6 +30,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     chipid@10000000 {
index 73b56fc5bf587cc1efa2493fe96ae876c6b2ce6c..c9651892710eb3727740422518f8777b4cd18296 100644 (file)
@@ -89,6 +89,8 @@ required:
   - clock-names
   - clocks
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/exynos5250.h>
index 51d23b6f8a941f9c41089b9a9dacc16a4885317a..3d9abad3c7491447dc9f9b3b2a6b83d044dd10bd 100644 (file)
@@ -23,6 +23,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     firmware@203f000 {
index 0dedf94c8578618db727e3c76606351888e9ee99..baff80197d5a8e76667768df916b83c83b9fc076 100644 (file)
@@ -29,6 +29,8 @@ required:
   - reg
   - clocks
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/stm32mp1-clks.h>
index d1c040228cf7f3283ee9e8a545784d7cb4ed9bdc..a203d5d498db6116fc63d4abb50af365eb08fd61 100644 (file)
@@ -44,6 +44,8 @@ required:
   - clocks
   - '#clock-cells'
 
+additionalProperties: false
+
 examples:
   # Display PIXEL Clock node:
   - |
index cd0b8a34132113cfbe70650ca32830712599393b..03386b0861a263e61aa6c05034ff4ce5db58372a 100644 (file)
@@ -52,6 +52,8 @@ required:
   - clock-names
   - '#clock-cells'
 
+additionalProperties: false
+
 examples:
   # Clock Control Module node:
   - |
index 89aee63c9019b623a08073ef63861f85d9275cdb..4351a1dbb4f7fb454fe77677657aae49a5337e0b 100644 (file)
@@ -52,6 +52,8 @@ required:
   - clock-names
   - '#clock-cells'
 
+additionalProperties: false
+
 examples:
   # Clock Control Module node:
   - |
index f0b804a7f09635a811aed1c2cdfe22f90f06a925..0e8b07710451d57991968eedf825d116178b5600 100644 (file)
@@ -35,6 +35,8 @@ required:
   - clocks
   - '#clock-cells'
 
+additionalProperties: false
+
 examples:
   # Clock controller node:
   - |
index 3647007f82cad9c0dcf6f3511c815894061956af..eacccc88bbf6bb91bc7f329d49612cd69d578882 100644 (file)
@@ -68,6 +68,8 @@ required:
   - nvmem-cell-names
   - '#thermal-sensor-cells'
 
+additionalProperties: false
+
 examples:
   - |
     clock-controller@900000 {
index 89c6e070e7ac2ad56cf1c94b8df67ff6242711c2..98572b4a9b6087ad2f59330d2bcbaa4330dc0cb7 100644 (file)
@@ -40,6 +40,8 @@ required:
   - '#clock-cells'
   - '#reset-cells'
 
+additionalProperties: false
+
 examples:
   - |
     clock-controller@1800000 {
index 18e4e77b8cfaf4893b7f02bc7aa6a09a07a5ea72..5a5b2214f0cae6b3101cc8d8001376a61b83f4ee 100644 (file)
@@ -56,6 +56,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     clock-controller@300000 {
index 1d3cae980471e2e8f20231b65ecd3162a23c68dd..a0bb713929b032ced24b2562139f0d547fe8fcf2 100644 (file)
@@ -66,6 +66,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmcc.h>
index 8cdece395ebaf9805bb2b68a8c4edd21152cbb41..ce06f3f8c3e332964a35f1a216393a9cf9698a69 100644 (file)
@@ -40,6 +40,8 @@ required:
   - '#clock-cells'
   - '#reset-cells'
 
+additionalProperties: false
+
 examples:
   - |
     clock-controller@1800000 {
index ee4f968e29093175a51f302feeed4fde9711696b..a345320e0e495e57514213e7aa42c1574aae473b 100644 (file)
@@ -58,6 +58,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmh.h>
index 888e9a708390f03f8294e7bebcf311221baa67dc..36f3b3668cedaee04c0a17d1dda93abd25ba0649 100644 (file)
@@ -56,6 +56,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmh.h>
index d18f8ab9eeeee3fc8cb3df4855bdf7d1d7915eec..e533bb0cfd2b43dcd8bfe95b66014b0efecbee91 100644 (file)
@@ -74,6 +74,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   # Example for GCC for MSM8960:
   - |
index 85518494ce438a058c6f288a130b38cfe7b98aec..f684fe67db84efda63b1da7eb3a264d9d235c5be 100644 (file)
@@ -74,6 +74,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 if:
   properties:
     compatible:
index 7d853c1a85e5734995a5cfc24f6beea6f4af8517..d747bb58f0a79d54b5312faaa96c81d3d9a9fd10 100644 (file)
@@ -50,6 +50,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-msm8998.h>
index 2cd158f13bab014e53a28d1f91b46da042c82e4f..c9fd748b4d7cb3eb2fa3ef0fbb727635644c918e 100644 (file)
@@ -35,6 +35,8 @@ required:
   - compatible
   - '#clock-cells'
 
+additionalProperties: false
+
 examples:
   # Example for GCC for SDM845: The below node should be defined inside
   # &apps_rsc node.
index 0429062f158592d128c21dbada8cce09dfad242f..58cdfd5924d32089b939a0594da8e9995af25672 100644 (file)
@@ -58,6 +58,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sc7180.h>
index 5785192cc4befbff739d6c90ac4f9f8c40049e3a..8635e35fd3f0bbd439f22100e08bcf7b57b504f4 100644 (file)
@@ -52,6 +52,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sc7180.h>
index 31df901884ac2b98151d6bdafb0c5aef05dcade8..0071b97019605ce2a9de3a6e0a4c4d2c4457eee3 100644 (file)
@@ -48,6 +48,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmh.h>
index 89269ddfbdcd5ffa1bc5aec1c784714246fe5701..ad47d747a3e453839d2275f968dc39f699e1f279 100644 (file)
@@ -67,6 +67,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
index bac04f1c5d79fb72ea936df2000ae9c1e7be2ba2..7a052ac5dc005f52dd0c24a23e6a413bda4d52ef 100644 (file)
@@ -52,6 +52,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
index 9d216c0f11d431d458ec63cd3dd3d74b4353292b..2a6a81ab0318f9e792aced1deaf8cff88c4cf0a5 100644 (file)
@@ -48,6 +48,8 @@ required:
   - '#reset-cells'
   - '#power-domain-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmh.h>
index d1205a6697a0950c5535d8fbad18e87205b2913c..d8e573eeb5ecd979f677863e520ef6c34258c82b 100644 (file)
@@ -107,6 +107,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: false
+
 examples:
   - |
     vpu: vpu@d0100000 {
index 2ca3ddbe1ff46d9aa5be4b3c0a4d3cd3059dfdaa..e7f2ad7dab5e378831fecd8f867dbd225f10955b 100644 (file)
@@ -43,6 +43,8 @@ required:
   - interrupts
   - '#dma-cells'
 
+additionalProperties: false
+
 examples:
   - |
     dma@3000000 {
index f04870d84542299014ca338cbe3cb87e0053a0ae..a5dc070d0ca74f453705a274376f36d59b3c9d3a 100644 (file)
@@ -68,6 +68,8 @@ required:
   - mbox-names
   - memory-region
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/firmware/imx/rsrc.h>
index 0f6d8db18d6cce091ae49bfe275cf82da9fd836c..a15787e504f07c1df897f5a4c5ed86ebeb332288 100644 (file)
@@ -172,6 +172,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index 878a2079ebb613334ab1edeee8e7e2afde6c7f7f..1bd2870c3a9c94d9f5aedbcb8ed06ba8be5e1f22 100644 (file)
@@ -34,9 +34,12 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     npe@c8006000 {
          compatible = "intel,ixp4xx-network-processing-engine";
          reg = <0xc8006000 0x1000>, <0xc8007000 0x1000>, <0xc8008000 0x1000>;
     };
+...
index 64e279a4bc10389762f7ffd9b5a537831c020933..5f1ed20e43eed54a3b528ff236675b22edae18f8 100644 (file)
@@ -47,6 +47,8 @@ required:
   - "#gpio-cells"
   - gpio-controller
 
+additionalProperties: false
+
 dependencies:
   interrupt-controller: [ interrupts ]
 
index d102888c1be71059eca4b7c8924ce743682a693e..a36aec27069c94728a9d71cc3511a5cb773a3350 100644 (file)
@@ -49,6 +49,8 @@ required:
   - "#gpio-cells"
   - gpio-controller
 
+additionalProperties: false
+
 examples:
   - |
     logicvc: logicvc@43c00000 {
index 05fd9a404ff77b85775d78bbe0300a7c9eb84f31..0b229a7d4a9870e825e43576fa47a055476c10b9 100644 (file)
@@ -53,6 +53,8 @@ required:
   - interrupt-names
   - clocks
 
+additionalProperties: false
+
 allOf:
   - if:
       properties:
index 6819cde050dfae1f342b9e558fa5b494beacd4b5..0407e45eb8c4341ccc4129531ed67630aceac245 100644 (file)
@@ -94,6 +94,8 @@ required:
   - interrupt-names
   - clocks
 
+additionalProperties: false
+
 allOf:
   - if:
       properties:
index afde81be3c297006b0b9a5a31be6b5630882ba39..f5401cc8de4ad2a254e4c2ce731746ec7175db29 100644 (file)
@@ -115,6 +115,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 allOf:
   - if:
       properties:
index f4dfa6fc724c3aada9936f91fedf5ba1ea087ec4..665c6e3b31d3223874211f0364fc8fedf52e2c7a 100644 (file)
@@ -36,6 +36,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     rotator@12810000 {
index 2a9822075b367bf1b566d6d39ee9a2f2c5782469..154bee8511397f0a4b6f1c77bb5e64b392fbafef 100644 (file)
@@ -47,6 +47,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 6a742a51e2f9b6694b2b9afd4e58a2e74183d47a..44a63fffb4be30618bdb7493c31b3d95f6e94910 100644 (file)
@@ -87,6 +87,8 @@ required:
   - reg
 
 
+additionalProperties: false
+
 examples:
   - |
     spi {
index 5d42e1304202af97a2a270b324df7f8fe0086364..e8feee38c76c8e3cadf054e9dcb7610c2e2ec062 100644 (file)
@@ -32,6 +32,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index 168235ad5d8184f1bcd8aa9ea58c069d28b35c1d..3f043e94366873ff4f07794b8a37a695223b9e49 100644 (file)
@@ -76,6 +76,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index c1c6d6f223cff28f72a07ab6a6681cbe9e848f06..8723a336229e9d8509d5fcbadaa07fed8dd42a41 100644 (file)
@@ -36,6 +36,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 9acde6d2e2d993e9be977febfe6dfb2b7d267a3a..a67ba67dab51a971610cd2dd2a87131fe1d95c21 100644 (file)
@@ -67,6 +67,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 91ab9c8422738fcf41330b1e5c1ff135f6e00e79..77605f17901c31aa3943ded2639c9ed8ac342cd4 100644 (file)
@@ -53,6 +53,8 @@ required:
   - dout-gpios
   - avdd-supply
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 59009997dca0d0221403c4a22673044f52f99c03..118809a03279ad80c21a601ab82f16927117950b 100644 (file)
@@ -32,6 +32,8 @@ required:
   - vref-supply
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     spi {
index 0ce290473fb08f627e9b0b65a016865598449e25..8ffeceb6abae308b984bc2b1133527daf699ff4d 100644 (file)
@@ -52,6 +52,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     spi {
index acf36eef728bb64677b976a3605e50b8df170ee8..b1627441a0b2115ab9932f6a3a631ab15088b775 100644 (file)
@@ -69,6 +69,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: false
+
 patternProperties:
   "^filter@[0-9]+$":
     type: object
index 19e53930ebf653bb7802bccdd81e29a8d9b191b5..1fe561574019a58430563200c5fa49d2575b2072 100644 (file)
@@ -38,6 +38,8 @@ required:
   - compatible
   - vcc-supply
 
+additionalProperties: false
+
 examples:
   - |
     serial {
index 50a50a0d7070517085b53b80d2b7f6e22f3a07af..a93d1972a5c25e18528464bf285ddcdd44d4a3d4 100644 (file)
@@ -24,6 +24,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index a285eaba71257c5fa126d519eacf5496d6262d93..e51a585bd5a3631f92d3272ea7f0a2b86f9be256 100644 (file)
@@ -34,6 +34,8 @@ required:
   - reg
   - vref-supply
 
+additionalProperties: false
+
 examples:
   - |
     spi {
index 69bd5c06319dd5507577cd1743bcbc84321a2cb9..d7d14f2f1c2057cedd227848263a628cb8b702a7 100644 (file)
@@ -28,6 +28,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 1cc60d7ecfa0902c4e86f2a623902c19a27057a1..1a88b3c253d5bb7cced4c368e8fe7257c8add508 100644 (file)
@@ -28,6 +28,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index cbb00be8f359826ca49cff96d7c9c1a83993d855..0ea278b07d1c0b39e8b1bc57e299ff6fd102c1bb 100644 (file)
@@ -38,6 +38,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 17e7f140b69b2808f38c1844ed2f89ce418d19d2..fe7bfe1adbda5b3f1a5d01287679c51c4eea4948 100644 (file)
@@ -29,6 +29,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index aae8a6d627c9f869bd0099839ab1d77879cc4055..f92bf7b2b7f0d0aef181b0297c1ef322bdb2c8b1 100644 (file)
@@ -30,6 +30,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index e86ef64ecf03a66d8aa3e7a2dfcebaf77e91c9f5..7b92ba8cbb9fbdd5b73ffa976036f2a0aa159289 100644 (file)
@@ -32,6 +32,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index ed2c3d5eadf5da34b152e58194cc39a15ecbd192..e8f7d1ada57b6a1ca2363e5f256147f5d715755a 100644 (file)
@@ -62,6 +62,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 0ff9b11f9d1877da91aedfbbc053dcf2ed1bb597..fb19a2d7a849708a6a89a6a69768ca3683b0f8d2 100644 (file)
@@ -45,6 +45,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 9f5ca9c420254295545cab36db386db10c8ee866..64c18f1693f008ce21e374501e431efc5846c358 100644 (file)
@@ -33,6 +33,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 5d4aec0e0d24ea15cae44ffc0a2c070e95ba8ee9..49257f9251e87e85b8bf0038c98a0ac19abba153 100644 (file)
@@ -52,6 +52,8 @@ required:
   - vddd-supply
   - vdda-supply
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 4e80ea7c14750da6379a4499cddde3c22c3c2a4c..7ac5eb7560e04786632c94d14183b4f404d394fd 100644 (file)
@@ -56,6 +56,8 @@ required:
   - trig-gpios
   - echo-gpios
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index a079c9921af669928931c68bb302de10dc5c2c9d..ada55f186f3c9e2af70b0cc310951a0721cebc07 100644 (file)
@@ -42,6 +42,8 @@ required:
   - compatible
   - ping-gpios
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index d4922f9f037631bb98cca4efa4cb7a9458e43eda..acc030c1b20e1a9b30ab4908982d5a01787bda9b 100644 (file)
@@ -398,6 +398,8 @@ required:
   - reg
   - interrupts
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index b98bf9363c8ff92fef369fa72d173938a1eb4e8f..2384465eaa19575d47fa2f247d5ba66a65bcb1d7 100644 (file)
@@ -26,6 +26,8 @@ required:
   - compatible
   - enable-gpios
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 2f2e0b6ebbbd92e47a3bd87d65d79ed5872b5749..3a2ad6ec64db3d542df5ab0d405d3edb5db42512 100644 (file)
@@ -33,3 +33,6 @@ properties:
 
 required:
   - compatible
+additionalProperties: false
+
+...
index 507c141ea76038a0e9e61c4b3d9e44d90db4f603..ccc507f384d2fe728839f5ada6cebbead27ab9df 100644 (file)
@@ -44,6 +44,8 @@ required:
   - interrupt-controller
   - '#interrupt-cells'
 
+additionalProperties: false
+
 examples:
   - |
     intcon: interrupt-controller@c8003000 {
index 7cdd3aaa2ba4a60ade614fae14593970a6f658ac..0e33cd9e010e9626cbda7d73f95b692ab4427471 100644 (file)
@@ -80,6 +80,8 @@ required:
   - clock-names
   - "#iommu-cells"
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/exynos5250.h>
index 8c43f1e1bf7d99f40abd9e79d5c877667b294b6c..c6f96cabd4d16e83ca710840087e8e294932181c 100644 (file)
@@ -49,3 +49,6 @@ required:
   - compatible
   - "#address-cells"
   - "#size-cells"
+additionalProperties: false
+
+...
index b50f4bcc98f1967dd133409436d21d9a2c64c3c9..90edf9d33b33c36cc409b303f739a62df4d2cd8f 100644 (file)
@@ -50,3 +50,6 @@ patternProperties:
 
 required:
   - compatible
+additionalProperties: false
+
+...
index 319280563648ebcdfd222b2dfba9ff110577d8c8..aa2b3bf56b570dabd38213c19d81055c2beb4984 100644 (file)
@@ -41,6 +41,8 @@ required:
   - interrupts
   - "#mbox-cells"
 
+additionalProperties: false
+
 examples:
   - |
     mailbox@c883c404 {
index 335717e15970d9fd05b3ee495cf71a01e965caaf..37d77e065491bd68c6fc27d8585e1959a147ceab 100644 (file)
@@ -124,6 +124,8 @@ required:
   - amlogic,ao-sysctrl
   - amlogic,canvas
 
+additionalProperties: false
+
 examples:
   - |
     vdec: video-decoder@c8820000 {
index e8ce37fcbfec86447f9392ef86c5a530f293d79b..95ffa8bc0533f5d620ab2df72edd48602940b3ec 100644 (file)
@@ -82,6 +82,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     cec_AO: cec@100 {
index 8e9251a0f9ef8be02c6521cc885956b966a4a2a2..fcb5f13704a5be236d9175efb7f5fbf6778da4ab 100644 (file)
@@ -59,6 +59,8 @@ required:
   - interrupts
   - port
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
index 4803857893942a420baaf525ed2e687a2dacc6ca..b0a0f0d3d9d4149789adde4fadd7684afd37f9b7 100644 (file)
@@ -73,6 +73,8 @@ required:
   - gpio-controller
   - "#gpio-cells"
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 38dc4f8b0ceba8d2dadebc17dac461eeac4234a6..3a6a1a26e2b387c6cc1c3709ea60e806b929f6cb 100644 (file)
@@ -77,6 +77,8 @@ required:
   - gpio-controller
   - "#gpio-cells"
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 0ea21a6f70b40af65d28fc84d5821f8f5b9dd3c0..38ab0499102d3eb899659c747e75a20a4eb60a8f 100644 (file)
@@ -38,6 +38,8 @@ required:
   - reg
   - interrupts
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index b9e9696da5be6734523d2e348b753e5bd923ccd6..976f139bb66e419c523209a32483bf547bf75540 100644 (file)
@@ -167,6 +167,8 @@ required:
   - '#address-cells'
   - '#size-cells'
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index e5922b42734267b470c3c97f74852eb91a09e6db..c03b83103e87162e2bcac7fd54c9ecdd11ecaa64 100644 (file)
@@ -34,6 +34,8 @@ required:
   - resets
   - "#phy-cells"
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/sun50i-h6-ccu.h>
index 346f9c35427ce46210e5cc47004369820a3b9846..453c083cf44cb170e5e19038a1c34e6f8ff9d5c0 100644 (file)
@@ -44,6 +44,8 @@ required:
   - reset-names
   - "#phy-cells"
 
+additionalProperties: false
+
 examples:
   - |
     phy@46000 {
index 0ccee64c69622eb8743634d950b401898074566d..9a346d6290d98052647569fb574ec333cb946545 100644 (file)
@@ -40,6 +40,8 @@ required:
   - reg
   - clocks
 
+additionalProperties: false
+
 examples:
   - |
     sysconf: chiptop@e0200000 {
index 5ab436189f3baa52bbee363f308ceca335f4e7cf..00609ace677c9a7ebd87dc1bb2eadda9de44f80b 100644 (file)
@@ -31,6 +31,8 @@ required:
   - reset-gpios
   - "#phy-cells"
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
index 452cee1aed32f005d60b8085912b9e1a8f85fe7b..fd1982c5610467aa7753ee0af2e35d6576bbdab5 100644 (file)
@@ -159,6 +159,8 @@ required:
   - "#reset-cells"
   - ranges
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/soc/ti,sci_pm_domain.h>
index 135c7dfbc1800f378ad564e3f7e0d7c9744fe86e..7651a675ab2d6fbc7e0e6021dfcf6a338701be1c 100644 (file)
@@ -57,6 +57,8 @@ patternProperties:
 required:
   - compatible
 
+additionalProperties: false
+
 examples:
   - |
     syscon: scu@1e6e2000 {
index 824f7fd1d51bf735bd496c4736dde06617f38b34..36feaf5e2dff43a51a779eee67e4f990bdd6f0ff 100644 (file)
@@ -70,6 +70,8 @@ required:
   - compatible
   - aspeed,external-nodes
 
+additionalProperties: false
+
 examples:
   - |
     apb {
index ac8d1c30a8ed75fc8e85b67a934b037c225ba8d6..45af29bc32020da8012237d9fbecc214a4ad750b 100644 (file)
@@ -92,6 +92,8 @@ patternProperties:
 required:
   - compatible
 
+additionalProperties: false
+
 examples:
   - |
     syscon: scu@1e6e2000 {
index ef4de32cb17cca1ec9214a109a0cb9223ba67e06..46a0478cb924fb9d0275203b0710e7fccba58ec7 100644 (file)
@@ -194,6 +194,8 @@ required:
   - ranges
   - pins-are-numbered
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/pinctrl/stm32-pinfunc.h>
index d3098c924b25e308d1eeb7341dbaaf16340b4ae9..6c6079fe1351062c77ffa79197ba842f82c6c0c7 100644 (file)
@@ -68,6 +68,8 @@ required:
   - "#power-domain-cells"
   - amlogic,ao-sysctrl
 
+additionalProperties: false
+
 examples:
   - |
     pwrc: power-controller {
index 520e07e6f21ba6525e45d14d38f691143966c82f..3412fe7e1e806ad3e9fa7b6e28f756d8a5e1c490 100644 (file)
@@ -41,6 +41,8 @@ required:
   - regmap
   - offset
 
+additionalProperties: false
+
 allOf:
   - if:
       not:
index d38006b1f1f4426ac7d6274b366bf7835a37e1b7..b80772cb9f062e74de725ab486cfe1a97bddc1f6 100644 (file)
@@ -41,6 +41,8 @@ required:
   - regmap
   - offset
 
+additionalProperties: false
+
 allOf:
   - if:
       not:
index deef010ec53512e76f78a06da804e5c0f05ff622..62eeddb65aede968b8fd7ae601b986be05903370 100644 (file)
@@ -32,3 +32,6 @@ properties:
 
 required:
   - compatible
+additionalProperties: false
+
+...
index 9e21b83d717e0ff77cd9424b948c787a445842a6..239b49fad805c0610ee5af6775c55b27965818fd 100644 (file)
@@ -55,6 +55,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     i2c@1 {
index 50690487edc8ea463cea5eb84a3b84b30e20ad9a..ce0a4021ae7f516919669c80f7f9a6644bec205e 100644 (file)
@@ -29,3 +29,6 @@ patternProperties:
 
 required:
   - compatible
+additionalProperties: false
+
+...
index b3f57d81f007cfed5b1fa41c7f0dffad092517c2..92922d3afd14934429e2549c1280a8a72bab4f6b 100644 (file)
@@ -29,6 +29,8 @@ required:
   - reg
   - "#reset-cells"
 
+additionalProperties: false
+
 examples:
   - |
     reset-controller@c884404 {
index 411bd76f1b64bf758773b4a152b87000316ac75c..512a33bdb208bd831eac4531bd28a03804e1746d 100644 (file)
@@ -28,6 +28,8 @@ required:
   - reg
   - "#reset-cells"
 
+additionalProperties: false
+
 examples:
   - |
     reset-controller@8b2c800 {
index a9ff3cb35c5e10efad8402623d8acd79e648c8dd..444be32a8a295ea43e1f806914b39a68fdce59ee 100644 (file)
@@ -29,6 +29,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     rng@c8834000 {
index 42d9a38e4e1af5b41176175f6e72d353ad2b0a7b..89ab67f20a7fe9a57834785229b58b2461551eea 100644 (file)
@@ -35,6 +35,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     rng {
index dcff573cbdb1a56fab8a447b4ba18c8d42d0976f..b95cb017f469613eb175e2187d48ab09ad486c1e 100644 (file)
@@ -51,6 +51,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/r7s72100-clock.h>
index 0a54296d72189b1fa82d44689fc32e66cfe5caa5..48c6cafca90c57d33923e0bf001b8151ca921d61 100644 (file)
@@ -111,6 +111,8 @@ required:
   - clocks
   - interrupts
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/mfd/stm32f4-rcc.h>
index 214fe8beddc3c504ddee3c7ec8e957cf1fc609a5..d4178ab0d675713aeadf95d419cf0152f8f510ee 100644 (file)
@@ -62,6 +62,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     serial@84c0 {
index f548594d020b9323cf35aae8d260e0f64c34ea89..cb008fd188d87345b5c1ebddecb9c278d33ce796 100644 (file)
@@ -40,6 +40,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     canvas: video-lut@48 {
index 75e0cbe6be709cafbba0a56da997fdbd144d999f..76ee695097bf25e4214b3e4d0bad89cb1bbc1a10 100644 (file)
@@ -59,6 +59,8 @@ required:
   - iovdd-supply
   - dvdd-supply
 
+additionalProperties: false
+
 examples:
   - |
     i2c {
index 38eaf0c028f987a014949a2e8377efb1b01ed91b..a495d5fc0d2398edd2e783fdb3fd3a28946d94ac 100644 (file)
@@ -139,6 +139,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: false
+
 examples:
   - |
     codec@1,0{
index 140a37fc3c0b5f2ff850d11e25d5dcd95a7d9cf8..d1b65554e68111662bcd860cdf7d84bc51659c16 100644 (file)
@@ -63,6 +63,8 @@ required:
   - reg
   - interrupts
 
+additionalProperties: false
+
 examples:
   - |
     sh_fsi2: sound@ec230000 {
index c6b244352d05757731c9137f013fefefbd396201..8ff2d39e7d17a9b14583f926fd64b66cdb2b5ad8 100644 (file)
@@ -69,6 +69,8 @@ required:
   - cpu
   - codec
 
+additionalProperties: false
+
 examples:
   - |
     sound {
index 53e3bad4178c2c48dd0beb82bd91e640258f6009..b2ad093d94df1dde0dd6f0c042f279f15c7f5b07 100644 (file)
@@ -115,6 +115,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/exynos-audss-clk.h>
index 469cec13364710ab43a35d164bec060e649c9cfb..930188bc5e6a73f7db45f1f1fedeab3de24024fe 100644 (file)
@@ -56,6 +56,8 @@ required:
   - '#size-cells'
   - ranges
 
+additionalProperties: false
+
 patternProperties:
   "-sram@[0-9a-f]+$":
     type: object
index 93fe7b10a82ee4b3df046db0f323c94497a1a5a0..e43ec50bda375c0dc0a2c60d329d258a4252494f 100644 (file)
@@ -42,6 +42,8 @@ required:
   - clocks
   - amlogic,ao-secure
 
+additionalProperties: false
+
 examples:
   - |
         cpu_temp: temperature-sensor@ff634800 {
index 6deead07728e60639f50841a3e0d652a46103756..fa255672e8e5d0f83b049b2cdf1586388986fa26 100644 (file)
@@ -82,6 +82,8 @@ properties:
 required:
   - compatible
 
+additionalProperties: false
+
 oneOf:
   - required:
       - interrupts
index f7ef6646bade02d6e22fcce3ea4348f2ebb926bf..582bbef62b951e3e2ae3bb2dad5ce58bc5a1793c 100644 (file)
@@ -95,6 +95,8 @@ required:
   - '#address-cells'
   - '#size-cells'
 
+additionalProperties: false
+
 examples:
   - |
     timer@f0000000 {
index 21c24a8e28fd60158bc2fdb197333123941c9f08..4956c8f409d20a526fb9e6978f97861a1484115f 100644 (file)
@@ -35,6 +35,8 @@ required:
   - reg
   - clocks
 
+additionalProperties: false
+
 examples:
   - |
     timer@2c000600 {
index 2807225db902a5542c02079e409574a9141cd06e..1a721d8af67a5450021a5a9ba310ee0684654bff 100644 (file)
@@ -32,6 +32,8 @@ required:
   - reg
   - interrupts
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
index 273e359854ddde399d0a243076db560c4a8ca821..37bd01a62c5203f4d116836baeefa44f7fcca58e 100644 (file)
@@ -52,6 +52,8 @@ required:
   - interrupts
   - reg
 
+additionalProperties: false
+
 examples:
   - |
     // In this example, the IP contains two local timers, using separate
index 51d1f6e43c02182812bbdfd98cd442b056ed2a56..bcae5f9b1d7fbdce2387d796a289b0d2a52f285e 100644 (file)
@@ -369,4 +369,6 @@ required:
   - compatible
   - reg
 
+additionalProperties: false
+
 ...