Linux-RISC-V Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups
@ 2020-10-05 18:38 Rob Herring
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                   ` (4 more replies)
  0 siblings, 5 replies; 37+ messages in thread
From: Rob Herring @ 2020-10-05 18:38 UTC (permalink / raw)
  To: devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

The default behavior for json-schema is any unknown property is allowed.
That is generally not the behavior we want for DT. In order to disallow
extra properties, schemas need to define 'additionalProperties: false'
typically. Ideally, we'd just add that automatically with the tools, but
there are some exceptions so only making things explicit everywhere
really works. Missing 'additionalProperties' or 'unevaluatedProperties'
has been a constant source of review comments, so a meta-schema check is
really needed here.

Once this series is in place, the meta-schema can be updated with a
check. The rule is if there's a $ref to another schema, then either
'additionalProperties' or 'unevaluatedProperties' is required. If not,
then 'additionalProperties' is required.

Rob


Rob Herring (4):
  dt-bindings: Add missing 'unevaluatedProperties'
  dt-bindings: Use 'additionalProperties' instead of
    'unevaluatedProperties'
  dt-bindings: Explicitly allow additional properties in board/SoC
    schemas
  dt-bindings: Explicitly allow additional properties in common schemas

 Documentation/devicetree/bindings/arm/actions.yaml     |  2 ++
 Documentation/devicetree/bindings/arm/altera.yaml      |  3 +++
 Documentation/devicetree/bindings/arm/amazon,al.yaml   |  2 ++
 Documentation/devicetree/bindings/arm/amlogic.yaml     |  3 +++
 .../devicetree/bindings/arm/arm,integrator.yaml        |  2 ++
 .../devicetree/bindings/arm/arm,realview.yaml          |  2 ++
 .../devicetree/bindings/arm/arm,versatile.yaml         |  2 ++
 .../devicetree/bindings/arm/arm,vexpress-juno.yaml     |  2 ++
 Documentation/devicetree/bindings/arm/atmel-at91.yaml  |  2 ++
 Documentation/devicetree/bindings/arm/axxia.yaml       |  2 ++
 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,bcm11351.yaml     |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,bcm21664.yaml     |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,bcm23550.yaml     |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,bcm4708.yaml      |  3 +++
 .../devicetree/bindings/arm/bcm/brcm,cygnus.yaml       |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,hr2.yaml          |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,ns2.yaml          |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,nsp.yaml          |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,stingray.yaml     |  2 ++
 .../devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml   |  2 ++
 Documentation/devicetree/bindings/arm/bitmain.yaml     |  3 +++
 Documentation/devicetree/bindings/arm/calxeda.yaml     |  2 ++
 .../devicetree/bindings/arm/coresight-cti.yaml         |  2 ++
 Documentation/devicetree/bindings/arm/cpus.yaml        |  2 ++
 Documentation/devicetree/bindings/arm/digicolor.yaml   |  2 ++
 Documentation/devicetree/bindings/arm/fsl.yaml         |  2 ++
 .../devicetree/bindings/arm/hisilicon/hisilicon.yaml   |  3 +++
 .../devicetree/bindings/arm/intel,keembay.yaml         |  3 +++
 .../devicetree/bindings/arm/intel-ixp4xx.yaml          |  2 ++
 .../bindings/arm/keystone/ti,k3-sci-common.yaml        |  2 ++
 .../devicetree/bindings/arm/marvell/armada-7k-8k.yaml  |  2 ++
 Documentation/devicetree/bindings/arm/mediatek.yaml    |  3 +++
 .../devicetree/bindings/arm/microchip,sparx5.yaml      |  2 ++
 Documentation/devicetree/bindings/arm/moxart.yaml      |  1 +
 Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml   |  3 +++
 Documentation/devicetree/bindings/arm/mstar/mstar.yaml |  2 ++
 .../bindings/arm/nvidia,tegra194-ccplex.yaml           |  2 ++
 Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml |  2 ++
 Documentation/devicetree/bindings/arm/qcom.yaml        |  2 ++
 Documentation/devicetree/bindings/arm/rda.yaml         |  2 ++
 Documentation/devicetree/bindings/arm/realtek.yaml     |  3 +++
 Documentation/devicetree/bindings/arm/renesas.yaml     |  2 ++
 Documentation/devicetree/bindings/arm/rockchip.yaml    |  3 +++
 .../bindings/arm/samsung/samsung-boards.yaml           |  2 ++
 Documentation/devicetree/bindings/arm/sirf.yaml        |  3 +++
 .../devicetree/bindings/arm/socionext/milbeaut.yaml    |  3 +++
 .../devicetree/bindings/arm/socionext/uniphier.yaml    |  2 ++
 Documentation/devicetree/bindings/arm/spear.yaml       |  3 +++
 Documentation/devicetree/bindings/arm/sprd/sprd.yaml   |  2 ++
 Documentation/devicetree/bindings/arm/sti.yaml         |  3 +++
 .../devicetree/bindings/arm/stm32/st,mlahb.yaml        |  2 ++
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml |  3 +++
 Documentation/devicetree/bindings/arm/sunxi.yaml       |  2 ++
 Documentation/devicetree/bindings/arm/tegra.yaml       |  2 ++
 Documentation/devicetree/bindings/arm/ti/nspire.yaml   |  3 +++
 .../devicetree/bindings/arm/ti/ti,davinci.yaml         |  3 +++
 Documentation/devicetree/bindings/arm/ux500.yaml       |  2 ++
 Documentation/devicetree/bindings/arm/vt8500.yaml      |  3 +++
 Documentation/devicetree/bindings/arm/xilinx.yaml      |  2 ++
 Documentation/devicetree/bindings/arm/zte.yaml         |  2 ++
 .../devicetree/bindings/ata/faraday,ftide010.yaml      |  2 ++
 Documentation/devicetree/bindings/ata/pata-common.yaml |  2 ++
 Documentation/devicetree/bindings/ata/sata-common.yaml |  2 ++
 Documentation/devicetree/bindings/bus/renesas,bsc.yaml |  2 ++
 .../devicetree/bindings/bus/simple-pm-bus.yaml         |  2 ++
 .../bindings/chrome/google,cros-ec-typec.yaml          |  2 ++
 .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml  |  6 +++++-
 .../devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml  |  2 +-
 .../devicetree/bindings/clock/imx8m-clock.yaml         |  2 +-
 .../devicetree/bindings/connector/usb-connector.yaml   |  2 ++
 .../bindings/display/bridge/snps,dw-mipi-dsi.yaml      |  2 ++
 .../devicetree/bindings/display/dsi-controller.yaml    |  2 ++
 .../devicetree/bindings/display/panel/lvds.yaml        |  2 ++
 .../bindings/display/panel/panel-common.yaml           |  2 ++
 .../devicetree/bindings/display/panel/tpo,tpg110.yaml  |  2 ++
 Documentation/devicetree/bindings/dma/dma-common.yaml  |  2 ++
 .../devicetree/bindings/dma/dma-controller.yaml        |  2 ++
 Documentation/devicetree/bindings/dma/dma-router.yaml  |  2 ++
 Documentation/devicetree/bindings/dma/ingenic,dma.yaml |  2 ++
 .../devicetree/bindings/dma/st,stm32-dma.yaml          |  2 ++
 .../devicetree/bindings/dma/st,stm32-dmamux.yaml       |  2 ++
 .../devicetree/bindings/dma/st,stm32-mdma.yaml         |  2 ++
 Documentation/devicetree/bindings/dma/ti/k3-udma.yaml  |  2 ++
 .../devicetree/bindings/extcon/wlf,arizona.yaml        |  2 ++
 .../devicetree/bindings/hwmon/baikal,bt1-pvt.yaml      |  4 ++--
 .../devicetree/bindings/i2c/amlogic,meson6-i2c.yaml    |  2 ++
 .../devicetree/bindings/i2c/cdns,i2c-r1p10.yaml        |  2 ++
 Documentation/devicetree/bindings/i2c/i2c-gpio.yaml    |  2 ++
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml    |  2 ++
 .../bindings/i2c/socionext,uniphier-fi2c.yaml          |  2 ++
 .../bindings/i2c/socionext,uniphier-i2c.yaml           |  2 ++
 .../devicetree/bindings/i2c/st,stm32-i2c.yaml          |  2 ++
 .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml   |  2 ++
 .../devicetree/bindings/iio/accel/adi,adis16240.yaml   |  4 ++++
 .../devicetree/bindings/iio/accel/adi,adxl345.yaml     |  4 ++++
 .../devicetree/bindings/iio/accel/adi,adxl372.yaml     |  4 ++++
 .../devicetree/bindings/iio/adc/adi,ad7124.yaml        |  4 ++++
 .../devicetree/bindings/iio/adc/adi,ad7192.yaml        |  4 ++++
 .../devicetree/bindings/iio/adc/adi,ad7292.yaml        |  4 ++++
 .../devicetree/bindings/iio/adc/adi,ad7606.yaml        |  6 ++++++
 .../devicetree/bindings/iio/adc/adi,ad7923.yaml        |  4 ++++
 .../devicetree/bindings/iio/adc/maxim,max1241.yaml     |  4 ++++
 .../bindings/iio/adc/samsung,exynos-adc.yaml           |  5 ++++-
 Documentation/devicetree/bindings/iio/common.yaml      |  2 ++
 .../devicetree/bindings/iio/dac/adi,ad5770r.yaml       | 10 ++++++++++
 .../devicetree/bindings/iio/frequency/adf4371.yaml     |  4 ++++
 .../devicetree/bindings/iio/imu/adi,adis16460.yaml     |  4 ++++
 .../devicetree/bindings/iio/imu/adi,adis16475.yaml     |  2 ++
 .../devicetree/bindings/iio/imu/bosch,bmi160.yaml      |  4 ++++
 .../devicetree/bindings/iio/imu/nxp,fxos8700.yaml      |  4 ++++
 .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml |  2 ++
 Documentation/devicetree/bindings/input/input.yaml     |  2 ++
 .../devicetree/bindings/input/matrix-keymap.yaml       |  2 ++
 .../bindings/input/touchscreen/touchscreen.yaml        |  2 ++
 .../bindings/interrupt-controller/loongson,htpic.yaml  |  2 ++
 .../interrupt-controller/loongson,liointc.yaml         |  2 ++
 .../bindings/interrupt-controller/mti,gic.yaml         |  2 +-
 Documentation/devicetree/bindings/leds/common.yaml     |  2 ++
 .../bindings/leds/leds-class-multicolor.yaml           |  3 +++
 .../devicetree/bindings/leds/trigger-source.yaml       |  2 ++
 Documentation/devicetree/bindings/media/rc.yaml        |  2 ++
 .../bindings/memory-controllers/renesas,rpc-if.yaml    |  2 ++
 .../devicetree/bindings/mfd/cirrus,lochnagar.yaml      | 10 +++++++++-
 Documentation/devicetree/bindings/mfd/syscon.yaml      |  2 +-
 .../bindings/mfd/ti,j721e-system-controller.yaml       |  5 ++++-
 .../devicetree/bindings/mips/ingenic/devices.yaml      |  3 +++
 .../devicetree/bindings/mips/loongson/devices.yaml     |  3 +++
 .../devicetree/bindings/misc/olpc,xo1.75-ec.yaml       |  4 +++-
 .../devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml |  2 ++
 Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml  |  2 ++
 Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml |  2 ++
 .../devicetree/bindings/mmc/mmc-controller.yaml        |  2 ++
 Documentation/devicetree/bindings/mmc/owl-mmc.yaml     |  2 ++
 .../devicetree/bindings/mmc/rockchip-dw-mshc.yaml      |  2 ++
 Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml   |  2 ++
 .../devicetree/bindings/mmc/socionext,uniphier-sd.yaml |  2 ++
 .../bindings/mmc/synopsys-dw-mshc-common.yaml          |  2 ++
 .../devicetree/bindings/mmc/synopsys-dw-mshc.yaml      |  2 ++
 Documentation/devicetree/bindings/mtd/denali,nand.yaml |  2 ++
 .../devicetree/bindings/mtd/ingenic,nand.yaml          |  2 ++
 .../devicetree/bindings/mtd/nand-controller.yaml       |  2 ++
 .../devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml    |  2 ++
 Documentation/devicetree/bindings/net/adi,adin.yaml    |  2 ++
 .../devicetree/bindings/net/amlogic,meson-dwmac.yaml   |  2 ++
 .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml   |  2 ++
 .../devicetree/bindings/net/can/can-transceiver.yaml   |  2 ++
 Documentation/devicetree/bindings/net/dsa/dsa.yaml     |  2 ++
 .../devicetree/bindings/net/ethernet-controller.yaml   |  2 ++
 .../devicetree/bindings/net/ethernet-phy.yaml          |  2 ++
 .../devicetree/bindings/net/marvell,mvusb.yaml         |  2 ++
 Documentation/devicetree/bindings/net/mdio.yaml        |  2 ++
 .../devicetree/bindings/net/mediatek,star-emac.yaml    |  2 ++
 Documentation/devicetree/bindings/net/nxp,tja11xx.yaml |  2 ++
 Documentation/devicetree/bindings/net/qca,ar71xx.yaml  |  2 ++
 Documentation/devicetree/bindings/net/qca,ar803x.yaml  |  2 ++
 .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml     |  2 ++
 .../devicetree/bindings/net/qcom,ipq8064-mdio.yaml     |  2 ++
 .../devicetree/bindings/net/renesas,ether.yaml         |  2 ++
 Documentation/devicetree/bindings/net/snps,dwmac.yaml  |  2 ++
 Documentation/devicetree/bindings/net/stm32-dwmac.yaml |  2 ++
 .../devicetree/bindings/net/ti,davinci-mdio.yaml       |  2 ++
 Documentation/devicetree/bindings/net/ti,dp83867.yaml  |  2 ++
 Documentation/devicetree/bindings/net/ti,dp83869.yaml  |  2 ++
 Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml |  2 ++
 .../devicetree/bindings/nvmem/nvmem-consumer.yaml      |  2 ++
 Documentation/devicetree/bindings/nvmem/nvmem.yaml     |  2 ++
 .../devicetree/bindings/nvmem/qcom,qfprom.yaml         |  2 ++
 .../devicetree/bindings/nvmem/qcom,spmi-sdam.yaml      |  2 ++
 .../devicetree/bindings/nvmem/rockchip-efuse.yaml      |  2 ++
 .../devicetree/bindings/nvmem/st,stm32-romem.yaml      |  2 ++
 .../opp/allwinner,sun50i-h6-operating-points.yaml      |  4 +++-
 .../devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml     |  2 ++
 .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml   |  2 ++
 .../devicetree/bindings/pci/cdns-pcie-ep.yaml          |  2 ++
 .../devicetree/bindings/pci/cdns-pcie-host.yaml        |  2 ++
 Documentation/devicetree/bindings/pci/cdns-pcie.yaml   |  2 ++
 .../devicetree/bindings/pci/host-generic-pci.yaml      |  2 ++
 Documentation/devicetree/bindings/pci/loongson.yaml    |  2 ++
 Documentation/devicetree/bindings/pci/pci-ep.yaml      |  2 ++
 .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml       |  2 ++
 .../devicetree/bindings/pci/ti,j721e-pci-host.yaml     |  2 ++
 Documentation/devicetree/bindings/pci/versatile.yaml   |  2 ++
 .../devicetree/bindings/pinctrl/cirrus,madera.yaml     |  2 ++
 .../devicetree/bindings/pinctrl/pincfg-node.yaml       |  2 ++
 .../devicetree/bindings/pinctrl/pinmux-node.yaml       |  2 ++
 .../devicetree/bindings/power/pd-samsung.yaml          |  2 ++
 .../devicetree/bindings/power/power-domain.yaml        |  2 ++
 .../devicetree/bindings/power/supply/power-supply.yaml |  2 ++
 Documentation/devicetree/bindings/pwm/pwm.yaml         |  2 ++
 .../devicetree/bindings/regulator/fixed-regulator.yaml |  2 ++
 .../bindings/regulator/google,cros-ec-regulator.yaml   |  2 ++
 .../devicetree/bindings/regulator/gpio-regulator.yaml  |  2 ++
 .../bindings/regulator/qcom-labibb-regulator.yaml      |  2 +-
 .../devicetree/bindings/regulator/regulator.yaml       |  2 ++
 .../bindings/regulator/st,stm32-booster.yaml           |  2 ++
 .../bindings/regulator/st,stm32-vrefbuf.yaml           |  2 ++
 .../bindings/regulator/vqmmc-ipq4019-regulator.yaml    |  2 ++
 .../devicetree/bindings/regulator/wlf,arizona.yaml     |  2 ++
 Documentation/devicetree/bindings/riscv/cpus.yaml      |  2 ++
 Documentation/devicetree/bindings/riscv/sifive.yaml    |  3 +++
 Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml |  2 ++
 Documentation/devicetree/bindings/rtc/rtc.yaml         |  2 ++
 Documentation/devicetree/bindings/rtc/s3c-rtc.yaml     |  2 ++
 .../devicetree/bindings/serial/ingenic,uart.yaml       |  5 +++++
 .../devicetree/bindings/serial/renesas,hscif.yaml      |  2 ++
 .../devicetree/bindings/serial/renesas,sci.yaml        |  2 ++
 .../devicetree/bindings/serial/renesas,scif.yaml       |  2 ++
 .../devicetree/bindings/serial/renesas,scifa.yaml      |  2 ++
 .../devicetree/bindings/serial/renesas,scifb.yaml      |  2 ++
 Documentation/devicetree/bindings/serial/rs485.yaml    |  3 +++
 Documentation/devicetree/bindings/serial/serial.yaml   |  2 ++
 .../devicetree/bindings/serial/snps-dw-apb-uart.yaml   |  2 ++
 .../devicetree/bindings/soc/imx/fsl,aips-bus.yaml      |  2 ++
 .../devicetree/bindings/sound/amlogic,aiu.yaml         |  2 ++
 .../devicetree/bindings/sound/cirrus,madera.yaml       |  2 ++
 .../bindings/sound/nvidia,tegra210-ahub.yaml           |  3 +++
 .../devicetree/bindings/sound/wlf,arizona.yaml         |  2 ++
 .../bindings/soundwire/soundwire-controller.yaml       |  2 ++
 .../bindings/spi/amlogic,meson-gx-spicc.yaml           |  2 ++
 .../devicetree/bindings/spi/amlogic,meson6-spifc.yaml  |  2 ++
 .../devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml    |  2 ++
 .../devicetree/bindings/spi/qca,ar934x-spi.yaml        |  2 ++
 .../devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml    |  2 ++
 .../devicetree/bindings/spi/renesas,hspi.yaml          |  2 ++
 .../devicetree/bindings/spi/renesas,rspi.yaml          |  2 ++
 .../devicetree/bindings/spi/renesas,sh-msiof.yaml      |  2 ++
 .../bindings/spi/socionext,uniphier-spi.yaml           |  2 ++
 .../devicetree/bindings/spi/spi-controller.yaml        |  2 ++
 Documentation/devicetree/bindings/spi/spi-gpio.yaml    |  2 ++
 Documentation/devicetree/bindings/spi/spi-mux.yaml     |  2 ++
 Documentation/devicetree/bindings/spi/spi-pl022.yaml   |  2 ++
 .../devicetree/bindings/spi/spi-rockchip.yaml          |  2 ++
 Documentation/devicetree/bindings/spi/spi-sifive.yaml  |  2 ++
 .../devicetree/bindings/spi/st,stm32-qspi.yaml         |  2 ++
 .../devicetree/bindings/spi/st,stm32-spi.yaml          |  2 ++
 Documentation/devicetree/bindings/spmi/spmi.yaml       |  2 ++
 .../bindings/thermal/thermal-cooling-devices.yaml      |  2 ++
 .../devicetree/bindings/thermal/thermal-sensor.yaml    |  2 ++
 .../devicetree/bindings/timer/snps,dw-apb-timer.yaml   |  2 +-
 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml |  2 ++
 Documentation/devicetree/bindings/usb/usb-hcd.yaml     |  2 ++
 .../bindings/watchdog/amlogic,meson-gxbb-wdt.yaml      |  2 ++
 .../devicetree/bindings/watchdog/arm-smc-wdt.yaml      |  2 ++
 .../devicetree/bindings/watchdog/qcom-wdt.yaml         |  2 ++
 .../devicetree/bindings/watchdog/samsung-wdt.yaml      |  2 ++
 .../devicetree/bindings/watchdog/st,stm32-iwdg.yaml    |  2 ++
 .../devicetree/bindings/watchdog/ti,rti-wdt.yaml       |  2 ++
 .../devicetree/bindings/watchdog/watchdog.yaml         |  2 ++
 249 files changed, 570 insertions(+), 14 deletions(-)

--
2.25.1

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Rob Herring
@ 2020-10-05 18:38 ` Rob Herring
  2020-10-05 20:01   ` Mark Brown
                     ` (9 more replies)
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
                   ` (3 subsequent siblings)
  4 siblings, 10 replies; 37+ messages in thread
From: Rob Herring @ 2020-10-05 18:38 UTC (permalink / raw)
  To: devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

This doesn't yet do anything in the tools, but make it explicit so we can
check either 'unevaluatedProperties' or 'additionalProperties' is present
in schemas.

'unevaluatedProperties' is appropriate when including another schema (via
'$ref') and all possible properties and/or child nodes are not
explicitly listed in the schema with the '$ref'.

This is in preparation to add a meta-schema to check for missing
'unevaluatedProperties' or 'additionalProperties'. This has been a
constant source of review issues.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/coresight-cti.yaml     | 2 ++
 Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml    | 2 ++
 Documentation/devicetree/bindings/ata/faraday,ftide010.yaml  | 2 ++
 Documentation/devicetree/bindings/bus/renesas,bsc.yaml       | 2 ++
 .../devicetree/bindings/display/panel/tpo,tpg110.yaml        | 2 ++
 Documentation/devicetree/bindings/dma/ingenic,dma.yaml       | 2 ++
 Documentation/devicetree/bindings/dma/st,stm32-dma.yaml      | 2 ++
 Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml   | 2 ++
 Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml     | 2 ++
 Documentation/devicetree/bindings/dma/ti/k3-udma.yaml        | 2 ++
 .../devicetree/bindings/i2c/amlogic,meson6-i2c.yaml          | 2 ++
 Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml    | 2 ++
 Documentation/devicetree/bindings/i2c/i2c-gpio.yaml          | 2 ++
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml          | 2 ++
 .../devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml     | 2 ++
 .../devicetree/bindings/i2c/socionext,uniphier-i2c.yaml      | 2 ++
 Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml      | 2 ++
 .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml         | 2 ++
 .../devicetree/bindings/iio/accel/adi,adis16240.yaml         | 2 ++
 Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 ++
 Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml | 2 ++
 Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml    | 2 ++
 Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml    | 2 ++
 Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml    | 2 ++
 Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml    | 2 ++
 Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml    | 2 ++
 Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml | 2 ++
 Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml   | 2 ++
 Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 2 ++
 Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml | 2 ++
 Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml | 2 ++
 Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml  | 2 ++
 Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml  | 2 ++
 .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml       | 2 ++
 .../bindings/interrupt-controller/loongson,htpic.yaml        | 2 ++
 .../bindings/interrupt-controller/loongson,liointc.yaml      | 2 ++
 .../bindings/memory-controllers/renesas,rpc-if.yaml          | 2 ++
 .../devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml       | 2 ++
 Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml        | 2 ++
 Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml       | 2 ++
 Documentation/devicetree/bindings/mmc/owl-mmc.yaml           | 2 ++
 Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml  | 2 ++
 Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml         | 2 ++
 .../devicetree/bindings/mmc/socionext,uniphier-sd.yaml       | 2 ++
 Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml  | 2 ++
 Documentation/devicetree/bindings/mtd/denali,nand.yaml       | 2 ++
 Documentation/devicetree/bindings/mtd/ingenic,nand.yaml      | 2 ++
 .../devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml          | 2 ++
 Documentation/devicetree/bindings/net/adi,adin.yaml          | 2 ++
 .../devicetree/bindings/net/amlogic,meson-dwmac.yaml         | 2 ++
 .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml         | 2 ++
 Documentation/devicetree/bindings/net/marvell,mvusb.yaml     | 2 ++
 .../devicetree/bindings/net/mediatek,star-emac.yaml          | 2 ++
 Documentation/devicetree/bindings/net/nxp,tja11xx.yaml       | 2 ++
 Documentation/devicetree/bindings/net/qca,ar71xx.yaml        | 2 ++
 Documentation/devicetree/bindings/net/qca,ar803x.yaml        | 2 ++
 Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 2 ++
 Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml | 2 ++
 Documentation/devicetree/bindings/net/renesas,ether.yaml     | 2 ++
 Documentation/devicetree/bindings/net/stm32-dwmac.yaml       | 2 ++
 Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml   | 2 ++
 Documentation/devicetree/bindings/net/ti,dp83867.yaml        | 2 ++
 Documentation/devicetree/bindings/net/ti,dp83869.yaml        | 2 ++
 Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml       | 2 ++
 Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml     | 2 ++
 Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml  | 2 ++
 Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml  | 2 ++
 Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml  | 2 ++
 Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml | 2 ++
 .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml         | 2 ++
 Documentation/devicetree/bindings/pci/host-generic-pci.yaml  | 2 ++
 Documentation/devicetree/bindings/pci/loongson.yaml          | 2 ++
 Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml   | 2 ++
 Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml | 2 ++
 Documentation/devicetree/bindings/pci/versatile.yaml         | 2 ++
 Documentation/devicetree/bindings/power/pd-samsung.yaml      | 2 ++
 .../devicetree/bindings/regulator/fixed-regulator.yaml       | 2 ++
 .../bindings/regulator/google,cros-ec-regulator.yaml         | 2 ++
 .../devicetree/bindings/regulator/gpio-regulator.yaml        | 2 ++
 .../devicetree/bindings/regulator/st,stm32-booster.yaml      | 2 ++
 .../devicetree/bindings/regulator/st,stm32-vrefbuf.yaml      | 2 ++
 .../bindings/regulator/vqmmc-ipq4019-regulator.yaml          | 2 ++
 Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml       | 2 ++
 Documentation/devicetree/bindings/rtc/s3c-rtc.yaml           | 2 ++
 Documentation/devicetree/bindings/serial/ingenic,uart.yaml   | 5 +++++
 Documentation/devicetree/bindings/serial/renesas,hscif.yaml  | 2 ++
 Documentation/devicetree/bindings/serial/renesas,sci.yaml    | 2 ++
 Documentation/devicetree/bindings/serial/renesas,scif.yaml   | 2 ++
 Documentation/devicetree/bindings/serial/renesas,scifa.yaml  | 2 ++
 Documentation/devicetree/bindings/serial/renesas,scifb.yaml  | 2 ++
 .../devicetree/bindings/serial/snps-dw-apb-uart.yaml         | 2 ++
 .../devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml      | 2 ++
 .../devicetree/bindings/spi/amlogic,meson6-spifc.yaml        | 2 ++
 .../devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml          | 2 ++
 Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml    | 2 ++
 .../devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml          | 2 ++
 Documentation/devicetree/bindings/spi/renesas,hspi.yaml      | 2 ++
 Documentation/devicetree/bindings/spi/renesas,rspi.yaml      | 2 ++
 Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml  | 2 ++
 .../devicetree/bindings/spi/socionext,uniphier-spi.yaml      | 2 ++
 Documentation/devicetree/bindings/spi/spi-gpio.yaml          | 2 ++
 Documentation/devicetree/bindings/spi/spi-mux.yaml           | 2 ++
 Documentation/devicetree/bindings/spi/spi-pl022.yaml         | 2 ++
 Documentation/devicetree/bindings/spi/spi-rockchip.yaml      | 2 ++
 Documentation/devicetree/bindings/spi/spi-sifive.yaml        | 2 ++
 Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml     | 2 ++
 Documentation/devicetree/bindings/spi/st,stm32-spi.yaml      | 2 ++
 .../devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 2 ++
 Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml  | 2 ++
 Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml     | 2 ++
 Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml  | 2 ++
 .../devicetree/bindings/watchdog/st,stm32-iwdg.yaml          | 2 ++
 Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml   | 2 ++
 113 files changed, 229 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/coresight-cti.yaml b/Documentation/devicetree/bindings/arm/coresight-cti.yaml
index e42ff69d8bfb..21e3515491f4 100644
--- a/Documentation/devicetree/bindings/arm/coresight-cti.yaml
+++ b/Documentation/devicetree/bindings/arm/coresight-cti.yaml
@@ -220,6 +220,8 @@ then:
   required:
     - cpu
 
+unevaluatedProperties: false
+
 examples:
   # minimum CTI definition. DEVID register used to set number of triggers.
   - |
diff --git a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
index 9f276bc9efa0..8e711bd202fd 100644
--- a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
@@ -50,6 +50,8 @@ required:
   - '#size-cells'
   - dma-ranges
 
+unevaluatedProperties: false
+
 examples:
   - |
     mlahb: ahb@38000000 {
diff --git a/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml b/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
index 6451928dd2ce..fa16f3767c6a 100644
--- a/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
+++ b/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
@@ -64,6 +64,8 @@ allOf:
       required:
         - sata
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
diff --git a/Documentation/devicetree/bindings/bus/renesas,bsc.yaml b/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
index 7d10b62a52d5..f53a37785413 100644
--- a/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
+++ b/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
@@ -44,6 +44,8 @@ properties:
 required:
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
diff --git a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
index a51660b73f28..6f1f02044b4b 100644
--- a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
+++ b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
@@ -72,6 +72,8 @@ required:
   - spi-max-frequency
   - port
 
+unevaluatedProperties: false
+
 examples:
   - |+
     spi {
diff --git a/Documentation/devicetree/bindings/dma/ingenic,dma.yaml b/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
index 92794c500589..00f19b3cac31 100644
--- a/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
+++ b/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
@@ -62,6 +62,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/jz4780-cgu.h>
diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
index 71987878e4ae..2a5325f480f6 100644
--- a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
+++ b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
@@ -81,6 +81,8 @@ required:
   - clocks
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
index 915bc4af9568..c8d2b51d8410 100644
--- a/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
+++ b/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
@@ -33,6 +33,8 @@ required:
   - reg
   - dma-masters
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
index c66543d0c267..c30be840be1c 100644
--- a/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
+++ b/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
@@ -84,6 +84,8 @@ required:
   - clocks
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
index dd70ddab4fd1..9a87fd9041eb 100644
--- a/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
+++ b/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
@@ -141,6 +141,8 @@ then:
   required:
     - ti,udma-atype
 
+unevaluatedProperties: false
+
 examples:
   - |+
     cbass_main {
diff --git a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
index 49cad273c8e5..6ecb0270d88d 100644
--- a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
@@ -36,6 +36,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     i2c@c8100500 {
diff --git a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
index dc0952f3780f..1ca1cd19bd1d 100644
--- a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
+++ b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
@@ -44,6 +44,8 @@ required:
   - clocks
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
index 78ffcab2428c..cc3aa2a5e70b 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
@@ -70,4 +70,6 @@ required:
   - sda-gpios
   - scl-gpios
 
+unevaluatedProperties: false
+
 ...
diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
index 790aa7218ee0..7f254d79558c 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -117,6 +117,8 @@ then:
   required:
     - rockchip,grf
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/rk3188-cru-common.h>
diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
index 15abc022968e..c76131902b77 100644
--- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
@@ -37,6 +37,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     i2c0: i2c@58780000 {
diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
index ef998def554e..ddde08636ab0 100644
--- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
@@ -37,6 +37,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     i2c0: i2c@58400000 {
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index f2fcbb361180..d747f4990ad8 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -94,6 +94,8 @@ required:
   - resets
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/mfd/stm32f7-rcc.h>
diff --git a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
index 67c1c84ba3dc..ffb2ed039a5e 100644
--- a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
+++ b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
@@ -36,6 +36,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     axi_iic_0: i2c@40800000 {
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
index 4147f02b5e3c..8589b722028d 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
@@ -30,6 +30,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
index fd4eaa3d0ab4..591ca32181b0 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
@@ -40,6 +40,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
index e7daffec88d3..64f275c8e2d9 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
@@ -30,6 +30,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
         #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
index deb34deff0e8..d0d2880626c2 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
@@ -108,6 +108,8 @@ patternProperties:
       - reg
       - diff-channels
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi {
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
index d0913034b1d8..ed363a796e50 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
@@ -92,6 +92,8 @@ required:
   - spi-cpol
   - spi-cpha
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi0 {
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
index e1f6d64bdccd..55e973c6449c 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
@@ -63,6 +63,8 @@ patternProperties:
     required:
       - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi {
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
index cbb8819d7069..014b020ed0c2 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
@@ -102,6 +102,8 @@ required:
   - interrupts
   - adi,conversion-start-gpios
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
index a11b918e0016..2a17641faed5 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
@@ -47,6 +47,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi {
diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
index f562505f5ecd..181213b862db 100644
--- a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
@@ -45,6 +45,8 @@ required:
   - vdd-supply
   - vref-supply
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
index 82424e06be27..faef288b7148 100644
--- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
@@ -130,6 +130,8 @@ required:
   - channel@4
   - channel@5
 
+unevaluatedProperties: false
+
 examples:
   - |
         spi {
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
index 7ec3ec94356b..11d445f7010e 100644
--- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
+++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
@@ -46,6 +46,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi0 {
diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
index 0c53009ba7d6..07c8ed4ee0f1 100644
--- a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
@@ -33,6 +33,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
index 208faaffa58d..c29385697bbf 100644
--- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
@@ -116,6 +116,8 @@ allOf:
       dependencies:
         adi,sync-mode: [ clocks ]
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
index 33d8e9fd14b7..4f215399c8df 100644
--- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
@@ -50,6 +50,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     // Example for I2C
diff --git a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
index 63bcb73ae309..716731c2b794 100644
--- a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
@@ -40,6 +40,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml b/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
index 5b37be0be4e9..378a85c09d34 100644
--- a/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
+++ b/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
@@ -48,6 +48,8 @@ required:
   - vdd-supply
   - linux,keycodes
 
+unevaluatedProperties: false
+
 examples:
   - |
     // Example with interrupts
diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
index c8861cbbb8b5..d1d52d1db2be 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
@@ -41,6 +41,8 @@ required:
   - interrupt-controller
   - '#interrupt-cells'
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
index 03fc4f5b4b39..f38e0113f360 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
@@ -67,6 +67,8 @@ required:
   - 'loongson,parent_int_map'
 
 
+unevaluatedProperties: false
+
 examples:
   - |
     iointc: interrupt-controller@3ff01400 {
diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
index 7bfe120e14c3..6d6ba608fd22 100644
--- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
@@ -61,6 +61,8 @@ patternProperties:
           - cfi-flash
           - jedec,spi-nor
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/renesas-cpg-mssr.h>
diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml b/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
index 0cd74c3116f8..60955acb8e57 100644
--- a/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
@@ -50,6 +50,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
index d93f7794a85f..af7442f73881 100644
--- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
@@ -117,6 +117,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     emmc: mmc@5a000000 {
diff --git a/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml b/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
index 9b63df1c22fb..04ba8b7fc054 100644
--- a/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
+++ b/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
@@ -56,6 +56,8 @@ required:
   - dmas
   - dma-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/jz4780-cgu.h>
diff --git a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
index 1380501fb8f0..5cee3a82a712 100644
--- a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
+++ b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
@@ -43,6 +43,8 @@ required:
   - dmas
   - dma-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     mmc0: mmc@e0330000 {
diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
index 01316185e771..3762f1c8de96 100644
--- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
+++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
@@ -102,6 +102,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/rk3288-cru.h>
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
index a58715c860b7..aa12480648a5 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
@@ -73,6 +73,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/berlin2.h>
diff --git a/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml b/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
index 8d6413f48823..56f9ff12742d 100644
--- a/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
+++ b/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
@@ -77,6 +77,8 @@ required:
   - reset-names
   - resets
 
+unevaluatedProperties: false
+
 examples:
   - |
     sd: mmc@5a400000 {
diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
index dd2c1b147142..240abb6f102c 100644
--- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
+++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
@@ -42,6 +42,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     mmc@12200000 {
diff --git a/Documentation/devicetree/bindings/mtd/denali,nand.yaml b/Documentation/devicetree/bindings/mtd/denali,nand.yaml
index c07b91592cbd..1307ed7e7fc6 100644
--- a/Documentation/devicetree/bindings/mtd/denali,nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/denali,nand.yaml
@@ -128,6 +128,8 @@ required:
   - clock-names
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     nand-controller@ff900000 {
diff --git a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
index 8abb6d463cb6..89aa3ceda592 100644
--- a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
@@ -51,6 +51,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/jz4780-cgu.h>
diff --git a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
index 28a08ff407db..29c5ef24ac6a 100644
--- a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
@@ -94,6 +94,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml
index d95cc691a65f..1129f2b58e98 100644
--- a/Documentation/devicetree/bindings/net/adi,adin.yaml
+++ b/Documentation/devicetree/bindings/net/adi,adin.yaml
@@ -36,6 +36,8 @@ properties:
     enum: [ 4, 8, 12, 16, 20, 24 ]
     default: 8
 
+unevaluatedProperties: false
+
 examples:
   - |
     ethernet {
diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
index 85fefe3a0444..6b057b117aa0 100644
--- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
@@ -120,6 +120,8 @@ required:
   - clock-names
   - phy-mode
 
+unevaluatedProperties: false
+
 examples:
   - |
     ethmac: ethernet@c9410000 {
diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
index 71808e78a495..1c88820cbcdf 100644
--- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
@@ -30,6 +30,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+unevaluatedProperties: false
+
 examples:
   - |
     mdio0: mdio@1e650000 {
diff --git a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
index 68573762294b..8e288ab38fd7 100644
--- a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
+++ b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
@@ -35,6 +35,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+unevaluatedProperties: false
+
 examples:
   - |
     /* USB host controller */
diff --git a/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml b/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
index aea88e621792..0bbd598704e9 100644
--- a/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
+++ b/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
@@ -61,6 +61,8 @@ required:
   - mediatek,pericfg
   - phy-handle
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml b/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
index 42be0255512b..d51da24f3505 100644
--- a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
+++ b/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
@@ -34,6 +34,8 @@ patternProperties:
     required:
       - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     mdio {
diff --git a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
index f99a5aabe923..f0db22645d73 100644
--- a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
+++ b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
@@ -72,6 +72,8 @@ required:
   - resets
   - reset-names
 
+unevaluatedProperties: false
+
 examples:
   # Lager board
   - |
diff --git a/Documentation/devicetree/bindings/net/qca,ar803x.yaml b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
index 1788884b8c28..64b3357ade8a 100644
--- a/Documentation/devicetree/bindings/net/qca,ar803x.yaml
+++ b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
@@ -59,6 +59,8 @@ properties:
       regulator to VDDIO.
     $ref: /schemas/regulator/regulator.yaml
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/net/qca-ar803x.h>
diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
index 13555a89975f..0c973310ada0 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
@@ -31,6 +31,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+unevaluatedProperties: false
+
 examples:
   - |
     mdio@90000 {
diff --git a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
index 67df3fe861ee..948677ade6d1 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
@@ -33,6 +33,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml
index 08678af5ed93..32281fd1b96d 100644
--- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
@@ -85,6 +85,8 @@ required:
   - clocks
   - pinctrl-0
 
+unevaluatedProperties: false
+
 examples:
   # Lager board
   - |
diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
index e5dff66df481..27eb6066793f 100644
--- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
@@ -88,6 +88,8 @@ required:
   - clock-names
   - st,syscon
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml b/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
index d454c1fab930..5728fe23f530 100644
--- a/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
@@ -58,6 +58,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+unevaluatedProperties: false
+
 examples:
   - |
     davinci_mdio: mdio@4a101000 {
diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
index c6716ac6cbcc..4050a3608658 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
@@ -109,6 +109,8 @@ properties:
 required:
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/net/ti-dp83867.h>
diff --git a/Documentation/devicetree/bindings/net/ti,dp83869.yaml b/Documentation/devicetree/bindings/net/ti,dp83869.yaml
index cf40b469c719..c3235f08e326 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83869.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83869.yaml
@@ -79,6 +79,8 @@ properties:
 required:
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/net/ti-dp83869.h>
diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
index 5a7284737229..8a43dc1283fe 100644
--- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
@@ -76,6 +76,8 @@ patternProperties:
 
     additionalProperties: false
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/imx6sx-clock.h>
diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
index 59aca6d22ff9..1a18b6bab35e 100644
--- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
+++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
@@ -49,6 +49,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sc7180.h>
diff --git a/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml b/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
index 7bbd4e62044e..a835e64bc6f5 100644
--- a/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
+++ b/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
@@ -66,6 +66,8 @@ patternProperties:
 
     additionalProperties: false
 
+unevaluatedProperties: false
+
 examples:
   - |
       sdam_1: nvram@b000 {
diff --git a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
index 3ae00b0b23bc..104dd508565e 100644
--- a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
+++ b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
@@ -51,6 +51,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/rk3288-cru.h>
diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
index c11c99f085d7..0b80ce22a2f8 100644
--- a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
@@ -42,6 +42,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     efuse@1fff7800 {
diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
index 50ce5d79d2c7..651eee88989d 100644
--- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
@@ -29,6 +29,8 @@ required:
   - reg
   - reg-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     bus {
diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
index 6d67067843bf..293b8ec318bc 100644
--- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
@@ -31,6 +31,8 @@ required:
   - reg
   - reg-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     bus {
diff --git a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
index 47353d0cd394..6bcaa8f2c3cf 100644
--- a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
+++ b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
@@ -137,6 +137,8 @@ allOf:
         reg:
           maxItems: 1
 
+unevaluatedProperties: false
+
 examples:
   - |
 
diff --git a/Documentation/devicetree/bindings/pci/loongson.yaml b/Documentation/devicetree/bindings/pci/loongson.yaml
index 30e7cf1aeb87..81bae060cbde 100644
--- a/Documentation/devicetree/bindings/pci/loongson.yaml
+++ b/Documentation/devicetree/bindings/pci/loongson.yaml
@@ -39,6 +39,8 @@ required:
   - reg
   - ranges
 
+unevaluatedProperties: false
+
 examples:
   - |
 
diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
index b3c3d0c3c390..3ae3e1a2d4b0 100644
--- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
@@ -63,6 +63,8 @@ required:
   - phys
   - phy-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/soc/ti,sci_pm_domain.h>
diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
index 8200ba00bc09..ee7a8eade3f6 100644
--- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
+++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
@@ -72,6 +72,8 @@ required:
   - phys
   - phy-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/soc/ti,sci_pm_domain.h>
diff --git a/Documentation/devicetree/bindings/pci/versatile.yaml b/Documentation/devicetree/bindings/pci/versatile.yaml
index 07a48c27db1f..09748ef6b94f 100644
--- a/Documentation/devicetree/bindings/pci/versatile.yaml
+++ b/Documentation/devicetree/bindings/pci/versatile.yaml
@@ -48,6 +48,8 @@ required:
   - interrupt-map
   - interrupt-map-mask
 
+unevaluatedProperties: false
+
 examples:
   - |
     pci@10001000 {
diff --git a/Documentation/devicetree/bindings/power/pd-samsung.yaml b/Documentation/devicetree/bindings/power/pd-samsung.yaml
index 09bdd96c1ec1..9c2c51133457 100644
--- a/Documentation/devicetree/bindings/power/pd-samsung.yaml
+++ b/Documentation/devicetree/bindings/power/pd-samsung.yaml
@@ -49,6 +49,8 @@ required:
   - "#power-domain-cells"
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     lcd0_pd: power-domain@10023c80 {
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index 3dbb9cf86f15..92211f2b3b0c 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -73,6 +73,8 @@ required:
   - compatible
   - regulator-name
 
+unevaluatedProperties: false
+
 examples:
   - |
     reg_1v8: regulator-1v8 {
diff --git a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
index c9453d7ce227..69e5402da761 100644
--- a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
@@ -28,6 +28,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi0 {
diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
index 605590384b48..f7e3d8fd3bf3 100644
--- a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
@@ -91,6 +91,8 @@ required:
   - gpios
   - states
 
+unevaluatedProperties: false
+
 examples:
   - |
     gpio-regulator {
diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml b/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
index cb336b2c16af..9f1c70381b82 100644
--- a/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
+++ b/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
@@ -34,6 +34,8 @@ required:
   - st,syscfg
   - vdda-supply
 
+unevaluatedProperties: false
+
 examples:
   - |
     regulator-booster {
diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml b/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
index 33cdaeb25aee..3cd4a254e4cb 100644
--- a/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
+++ b/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
@@ -36,6 +36,8 @@ required:
   - clocks
   - vdda-supply
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/stm32mp1-clks.h>
diff --git a/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml b/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
index d1a79d2ffa1e..6f45582c914e 100644
--- a/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
@@ -28,6 +28,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     regulator@1948000 {
diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
index bc2c7e53a28e..60e93e86ad9d 100644
--- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
@@ -68,6 +68,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/jz4740-cgu.h>
diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
index 76bbf8b7555b..d51b236939bf 100644
--- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
@@ -74,6 +74,8 @@ allOf:
           items:
             - const: rtc
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/exynos5420.h>
diff --git a/Documentation/devicetree/bindings/serial/ingenic,uart.yaml b/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
index dc8349322c83..559213899d73 100644
--- a/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
@@ -9,6 +9,9 @@ title: Ingenic SoCs UART controller devicetree bindings
 maintainers:
   - Paul Cercueil <paul@crapouillou.net>
 
+allOf:
+  - $ref: /schemas/serial.yaml#
+
 properties:
   $nodename:
     pattern: "^serial@[0-9a-f]+$"
@@ -64,6 +67,8 @@ required:
   - dmas
   - dma-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/jz4780-cgu.h>
diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
index 6b04c0451d41..2f30dc79b444 100644
--- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
@@ -100,6 +100,8 @@ required:
   - clock-names
   - power-domains
 
+unevaluatedProperties: false
+
 if:
   properties:
     compatible:
diff --git a/Documentation/devicetree/bindings/serial/renesas,sci.yaml b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
index 4183b7311f37..22ed2f0b1dc3 100644
--- a/Documentation/devicetree/bindings/serial/renesas,sci.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
@@ -54,6 +54,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     aliases {
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
index 570b379f9f19..45042bf20b36 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
@@ -149,6 +149,8 @@ then:
   required:
     - resets
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
diff --git a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
index 78b8e20dd34d..dbffb9534835 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
@@ -75,6 +75,8 @@ required:
   - clock-names
   - power-domains
 
+unevaluatedProperties: false
+
 if:
   properties:
     compatible:
diff --git a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
index b083970c16a9..147f8a37e02a 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
@@ -75,6 +75,8 @@ required:
   - clock-names
   - power-domains
 
+unevaluatedProperties: false
+
 if:
   properties:
     compatible:
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
index b962f8db4ce9..87ef1e218152 100644
--- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
@@ -101,6 +101,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     serial@80230000 {
diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
index 38efb50081e3..667dedefd69f 100644
--- a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
+++ b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
@@ -77,6 +77,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi@c1108d80 {
diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
index 5f33c39d820b..54b6f15eca18 100644
--- a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
+++ b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
@@ -35,6 +35,8 @@ required:
   - reg
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi@c1108c80 {
diff --git a/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml b/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
index e0c55dd235d8..3fd0a8adfe9a 100644
--- a/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
@@ -24,6 +24,8 @@ required:
   - compatible
   - reg
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi: spi@1f000000 {
diff --git a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
index 2aa766759d59..7b19f2c1cb59 100644
--- a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
@@ -29,6 +29,8 @@ required:
   - '#address-cells'
   - '#size-cells'
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/ath79-clk.h>
diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
index 0178831b0662..ef5698f426b2 100644
--- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
@@ -56,6 +56,8 @@ required:
   - clock-names
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
diff --git a/Documentation/devicetree/bindings/spi/renesas,hspi.yaml b/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
index f492cb9fea12..c0eccf703039 100644
--- a/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
+++ b/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
@@ -40,6 +40,8 @@ required:
   - '#address-cells'
   - '#size-cells'
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/r8a7778-clock.h>
diff --git a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
index c54ac059043f..b56d76ec0364 100644
--- a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
+++ b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
@@ -123,6 +123,8 @@ allOf:
       required:
         - resets
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
diff --git a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
index 9f7b118adcaf..e8afd26bbeb2 100644
--- a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
+++ b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
@@ -140,6 +140,8 @@ required:
   - '#address-cells'
   - '#size-cells'
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/r8a7791-clock.h>
diff --git a/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml b/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
index c25409298bdf..597fc4e6b01c 100644
--- a/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
@@ -44,6 +44,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi0: spi@54006000 {
diff --git a/Documentation/devicetree/bindings/spi/spi-gpio.yaml b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
index 55c4f1705f07..0d0b6d9dad1c 100644
--- a/Documentation/devicetree/bindings/spi/spi-gpio.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
@@ -53,6 +53,8 @@ required:
   - num-chipselects
   - sck-gpios
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi {
diff --git a/Documentation/devicetree/bindings/spi/spi-mux.yaml b/Documentation/devicetree/bindings/spi/spi-mux.yaml
index 3d3fed63409b..6c21a132b51f 100644
--- a/Documentation/devicetree/bindings/spi/spi-mux.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-mux.yaml
@@ -48,6 +48,8 @@ required:
   - spi-max-frequency
   - mux-controls
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
index 22999024477f..a91d868e40c5 100644
--- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
@@ -128,6 +128,8 @@ required:
   - reg
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi@e0100000 {
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
index 74dc6185eced..1e6cf29e6388 100644
--- a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
@@ -85,6 +85,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/rk3188-cru-common.h>
diff --git a/Documentation/devicetree/bindings/spi/spi-sifive.yaml b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
index 4932205d1cba..56dcf1d35da4 100644
--- a/Documentation/devicetree/bindings/spi/spi-sifive.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
@@ -66,6 +66,8 @@ required:
   - interrupts
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     spi: spi@10040000 {
diff --git a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
index 1a342ce1f798..983c4e54c0be 100644
--- a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
@@ -53,6 +53,8 @@ required:
   - clocks
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
index e49ecbf715ba..d11806b1ede3 100644
--- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
@@ -76,6 +76,8 @@ required:
   - clocks
   - interrupts
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
index 4ddae6feef3b..c7459cf70e30 100644
--- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
@@ -31,6 +31,8 @@ required:
   - reg
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     watchdog@98d0 {
diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
index 8e4c7c69bc1c..e3a1d79574e2 100644
--- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
@@ -25,6 +25,8 @@ properties:
 required:
   - compatible
 
+unevaluatedProperties: false
+
 examples:
   - |
     watchdog {
diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
index 0709ddf0b6a5..8e3760a3822b 100644
--- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
@@ -38,6 +38,8 @@ required:
   - reg
   - clocks
 
+unevaluatedProperties: false
+
 examples:
   - |
     watchdog@208a038 {
diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
index 2fa40d8864b2..76cb9586ee00 100644
--- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
@@ -62,6 +62,8 @@ allOf:
       required:
         - samsung,syscon-phandle
 
+unevaluatedProperties: false
+
 examples:
   - |
     watchdog@101d0000 {
diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
index a27c504e2e4f..3f1ba1d6c6b5 100644
--- a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
+++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
@@ -43,6 +43,8 @@ required:
   - clocks
   - clock-names
 
+unevaluatedProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/stm32mp1-clks.h>
diff --git a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
index f0452791c598..c1348db59374 100644
--- a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
@@ -46,6 +46,8 @@ required:
   - clocks
   - power-domains
 
+unevaluatedProperties: false
+
 examples:
   - |
     /*
-- 
2.25.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'
  2020-10-05 18:38 [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Rob Herring
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
@ 2020-10-05 18:38 ` Rob Herring
  2020-10-05 20:02   ` Mark Brown
                     ` (4 more replies)
  2020-10-05 18:38 ` [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas Rob Herring
                   ` (2 subsequent siblings)
  4 siblings, 5 replies; 37+ messages in thread
From: Rob Herring @ 2020-10-05 18:38 UTC (permalink / raw)
  To: devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

In cases where we don't reference another schema, 'additionalProperties'
can be used instead. This is preferred for now as 'unevaluatedProperties'
support isn't implemented yet.

In a few cases, this means adding some missing property definitions of
which most are for SPI bus properties. 'unevaluatedProperties' is not going
to work for the SPI bus properties anyways as they are evaluated from the
parent node, not the SPI child node.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml  |  6 +++++-
 .../devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml  |  2 +-
 .../devicetree/bindings/clock/imx8m-clock.yaml         |  2 +-
 .../devicetree/bindings/hwmon/baikal,bt1-pvt.yaml      |  4 ++--
 .../devicetree/bindings/iio/accel/adi,adis16240.yaml   |  4 +++-
 .../devicetree/bindings/iio/accel/adi,adxl345.yaml     |  4 +++-
 .../devicetree/bindings/iio/accel/adi,adxl372.yaml     |  4 +++-
 .../devicetree/bindings/iio/adc/adi,ad7124.yaml        |  4 +++-
 .../devicetree/bindings/iio/adc/adi,ad7192.yaml        |  4 +++-
 .../devicetree/bindings/iio/adc/adi,ad7292.yaml        |  4 +++-
 .../devicetree/bindings/iio/adc/adi,ad7606.yaml        |  6 +++++-
 .../devicetree/bindings/iio/adc/adi,ad7923.yaml        |  4 +++-
 .../devicetree/bindings/iio/adc/maxim,max1241.yaml     |  4 +++-
 .../devicetree/bindings/iio/dac/adi,ad5770r.yaml       | 10 +++++++++-
 .../devicetree/bindings/iio/frequency/adf4371.yaml     |  4 +++-
 .../devicetree/bindings/iio/imu/adi,adis16460.yaml     |  4 +++-
 .../devicetree/bindings/iio/imu/adi,adis16475.yaml     |  2 +-
 .../devicetree/bindings/iio/imu/bosch,bmi160.yaml      |  4 +++-
 .../devicetree/bindings/iio/imu/nxp,fxos8700.yaml      |  4 +++-
 .../bindings/interrupt-controller/mti,gic.yaml         |  2 +-
 .../devicetree/bindings/mfd/cirrus,lochnagar.yaml      | 10 +++++++++-
 .../bindings/mfd/ti,j721e-system-controller.yaml       |  5 ++++-
 .../devicetree/bindings/misc/olpc,xo1.75-ec.yaml       |  4 +++-
 .../opp/allwinner,sun50i-h6-operating-points.yaml      |  4 +++-
 .../bindings/regulator/qcom-labibb-regulator.yaml      |  2 +-
 .../devicetree/bindings/timer/snps,dw-apb-timer.yaml   |  2 +-
 26 files changed, 82 insertions(+), 27 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
index 2821425ee445..bd4cefbb1244 100644
--- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
+++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
@@ -134,7 +134,11 @@ properties:
   "#reset-cells":
     const: 1
 
-unevaluatedProperties: false
+  clocks: true
+
+  clock-names: true
+
+additionalProperties: false
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
index 97131bfa6f87..624984d51c10 100644
--- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
+++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
@@ -101,7 +101,7 @@ properties:
   clock-names:
     const: ref_clk
 
-unevaluatedProperties: false
+additionalProperties: false
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
index 31e7cc9693c3..625f573a7b90 100644
--- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
@@ -96,7 +96,7 @@ allOf:
             - const: clk_ext3
             - const: clk_ext4
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   # Clock Control Module node:
diff --git a/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml b/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
index 84ae4cdd08ed..00a6511354e6 100644
--- a/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
+++ b/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
@@ -79,7 +79,7 @@ properties:
       minimum: 0
       maximum: 7130
 
-unevaluatedProperties: false
+additionalProperties: false
 
 required:
   - compatible
@@ -99,7 +99,7 @@ examples:
 
       interrupts = <GIC_SHARED 31 IRQ_TYPE_LEVEL_HIGH>;
 
-      baikal,pvt-temp-trim-millicelsius = <1000>;
+      baikal,pvt-temp-offset-millicelsius = <1000>;
 
       clocks = <&ccu_sys>, <&ccu_sys>;
       clock-names = "ref", "pclk";
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
index 8589b722028d..4fcbfd93e218 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
@@ -25,12 +25,14 @@ properties:
   interrupts:
     maxItems: 1
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
   - interrupts
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
index 591ca32181b0..11d32a288535 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
@@ -32,6 +32,8 @@ properties:
 
   spi-cpol: true
 
+  spi-max-frequency: true
+
   interrupts:
     maxItems: 1
 
@@ -40,7 +42,7 @@ required:
   - reg
   - interrupts
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
index 64f275c8e2d9..38b59b6454ce 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
@@ -25,12 +25,14 @@ properties:
   interrupts:
     maxItems: 1
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
   - interrupts
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
index d0d2880626c2..f1c574c896cb 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
@@ -52,6 +52,8 @@ properties:
   avdd-supply:
     description: avdd supply can be used as reference for conversion.
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
@@ -108,7 +110,7 @@ patternProperties:
       - reg
       - diff-channels
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
index ed363a796e50..e0cc3b2e8957 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
@@ -30,6 +30,8 @@ properties:
 
   spi-cpha: true
 
+  spi-max-frequency: true
+
   clocks:
     maxItems: 1
     description: phandle to the master clock (mclk)
@@ -92,7 +94,7 @@ required:
   - spi-cpol
   - spi-cpha
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
index 55e973c6449c..108d202b288f 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
@@ -30,6 +30,8 @@ properties:
 
   spi-cpha: true
 
+  spi-max-frequency: true
+
   '#address-cells':
     const: 1
 
@@ -63,7 +65,7 @@ patternProperties:
     required:
       - reg
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
index 014b020ed0c2..73775174cf57 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
@@ -31,6 +31,10 @@ properties:
 
   spi-cpha: true
 
+  spi-cpol: true
+
+  spi-max-frequency: true
+
   avcc-supply: true
 
   interrupts:
@@ -102,7 +106,7 @@ required:
   - interrupts
   - adi,conversion-start-gpios
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
index 2a17641faed5..e82194974eea 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
@@ -43,11 +43,13 @@ properties:
   '#size-cells':
     const: 0
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
index 181213b862db..4c7e0d94bff1 100644
--- a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
@@ -39,13 +39,15 @@ properties:
       thus enabling power-down mode.
     maxItems: 1
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
   - vdd-supply
   - vref-supply
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
index faef288b7148..fb2c48fc7ce4 100644
--- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
@@ -49,6 +49,14 @@ properties:
       asserted during driver probe.
     maxItems: 1
 
+  spi-max-frequency: true
+
+  '#address-cells':
+    const: 1
+
+  '#size-cells':
+    const: 0
+
   channel@0:
     description: Represents an external channel which are
       connected to the DAC. Channel 0 can act both as a current
@@ -130,7 +138,7 @@ required:
   - channel@4
   - channel@5
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
index 11d445f7010e..6b3a611e1cf1 100644
--- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
+++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
@@ -40,13 +40,15 @@ properties:
       output stage will shut down until the ADF4371/ADF4372 achieves lock as
       measured by the digital lock detect circuitry.
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
   - clocks
   - clock-names
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
index 07c8ed4ee0f1..340be256f283 100644
--- a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
@@ -25,6 +25,8 @@ properties:
 
   spi-cpol: true
 
+  spi-max-frequency: true
+
   interrupts:
     maxItems: 1
 
@@ -33,7 +35,7 @@ required:
   - reg
   - interrupts
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
index c29385697bbf..79fba1508e89 100644
--- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
@@ -116,7 +116,7 @@ allOf:
       dependencies:
         adi,sync-mode: [ clocks ]
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
index 4f215399c8df..6e73cd889b5c 100644
--- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
@@ -46,11 +46,13 @@ properties:
   mount-matrix:
     description: an optional 3x3 mounting rotation matrix
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
index 716731c2b794..479e7065d4eb 100644
--- a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
@@ -36,11 +36,13 @@ properties:
   drive-open-drain:
     type: boolean
 
+  spi-max-frequency: true
+
 required:
   - compatible
   - reg
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml b/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
index ce6aaff15214..039e08af98bb 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
@@ -95,7 +95,7 @@ properties:
 
     additionalProperties: false
 
-unevaluatedProperties: false
+additionalProperties: false
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml b/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
index 7a616577ac63..c00ad3e21c21 100644
--- a/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
+++ b/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
@@ -130,6 +130,14 @@ properties:
     type: object
     $ref: /schemas/pinctrl/cirrus,lochnagar.yaml#
 
+  lochnagar-hwmon:
+    type: object
+    $ref: /schemas/hwmon/cirrus,lochnagar.yaml#
+
+  lochnagar-sc:
+    type: object
+    $ref: /schemas/sound/cirrus,lochnagar.yaml#
+
   VDDCORE:
     description:
       Initialisation data for the VDDCORE regulator, which supplies the
@@ -249,7 +257,7 @@ required:
   - lochnagar-clk
   - lochnagar-pinctrl
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
index da3d9ab758b9..19fcf59fd2fe 100644
--- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
@@ -30,6 +30,9 @@ properties:
       - const: syscon
       - const: simple-mfd
 
+  reg:
+    maxItems: 1
+
   "#address-cells":
     const: 1
 
@@ -54,7 +57,7 @@ required:
   - "#size-cells"
   - ranges
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
index e75d77beec6a..ade733cd60f7 100644
--- a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
+++ b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
@@ -28,11 +28,13 @@ properties:
     description: GPIO uspecifier of the CMD pin
     maxItems: 1
 
+  spi-cpha: true
+
 required:
   - compatible
   - cmd-gpios
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml b/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
index aef87a33a7c9..aeff2bd774dd 100644
--- a/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
+++ b/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
@@ -31,6 +31,8 @@ properties:
       Documentation/devicetree/bindings/nvmem/nvmem.txt and also
       examples below.
 
+  opp-shared: true
+
 required:
   - compatible
   - nvmem-cells
@@ -53,7 +55,7 @@ patternProperties:
 
     unevaluatedProperties: false
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
index fb111e2d5b99..53853ec20fe2 100644
--- a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
@@ -47,7 +47,7 @@ properties:
 required:
   - compatible
 
-unevaluatedProperties: false
+additionalProperties: false
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
index 7b39e3204fb3..2fc617377e2c 100644
--- a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
@@ -45,7 +45,7 @@ properties:
       frequency in HZ, but is defined only for the backwards compatibility
       with the picoxcell platform.
 
-unevaluatedProperties: false
+additionalProperties: false
 
 required:
   - compatible
-- 
2.25.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas
  2020-10-05 18:38 [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Rob Herring
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
@ 2020-10-05 18:38 ` Rob Herring
  2020-10-05 20:34   ` Krzysztof Kozlowski
                     ` (2 more replies)
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
  2020-10-06  8:25 ` [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Srinivas Kandagatla
  4 siblings, 3 replies; 37+ messages in thread
From: Rob Herring @ 2020-10-05 18:38 UTC (permalink / raw)
  To: devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

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'.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/actions.yaml             | 2 ++
 Documentation/devicetree/bindings/arm/altera.yaml              | 3 +++
 Documentation/devicetree/bindings/arm/amazon,al.yaml           | 2 ++
 Documentation/devicetree/bindings/arm/amlogic.yaml             | 3 +++
 Documentation/devicetree/bindings/arm/arm,integrator.yaml      | 2 ++
 Documentation/devicetree/bindings/arm/arm,realview.yaml        | 2 ++
 Documentation/devicetree/bindings/arm/arm,versatile.yaml       | 2 ++
 Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml   | 2 ++
 Documentation/devicetree/bindings/arm/atmel-at91.yaml          | 2 ++
 Documentation/devicetree/bindings/arm/axxia.yaml               | 2 ++
 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml         | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml   | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml   | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml   | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml    | 3 +++
 Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml     | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml        | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml        | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml        | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml   | 2 ++
 Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml | 2 ++
 Documentation/devicetree/bindings/arm/bitmain.yaml             | 3 +++
 Documentation/devicetree/bindings/arm/calxeda.yaml             | 2 ++
 Documentation/devicetree/bindings/arm/digicolor.yaml           | 2 ++
 Documentation/devicetree/bindings/arm/fsl.yaml                 | 2 ++
 Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml | 3 +++
 Documentation/devicetree/bindings/arm/intel,keembay.yaml       | 3 +++
 Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml        | 2 ++
 .../devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml     | 2 ++
 .../devicetree/bindings/arm/marvell/armada-7k-8k.yaml          | 2 ++
 Documentation/devicetree/bindings/arm/mediatek.yaml            | 3 +++
 Documentation/devicetree/bindings/arm/microchip,sparx5.yaml    | 2 ++
 Documentation/devicetree/bindings/arm/moxart.yaml              | 1 +
 Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml           | 3 +++
 Documentation/devicetree/bindings/arm/mstar/mstar.yaml         | 2 ++
 Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml         | 2 ++
 Documentation/devicetree/bindings/arm/qcom.yaml                | 2 ++
 Documentation/devicetree/bindings/arm/rda.yaml                 | 2 ++
 Documentation/devicetree/bindings/arm/realtek.yaml             | 3 +++
 Documentation/devicetree/bindings/arm/renesas.yaml             | 2 ++
 Documentation/devicetree/bindings/arm/rockchip.yaml            | 3 +++
 .../devicetree/bindings/arm/samsung/samsung-boards.yaml        | 2 ++
 Documentation/devicetree/bindings/arm/sirf.yaml                | 3 +++
 Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml  | 3 +++
 Documentation/devicetree/bindings/arm/socionext/uniphier.yaml  | 2 ++
 Documentation/devicetree/bindings/arm/spear.yaml               | 3 +++
 Documentation/devicetree/bindings/arm/sprd/sprd.yaml           | 2 ++
 Documentation/devicetree/bindings/arm/sti.yaml                 | 3 +++
 Documentation/devicetree/bindings/arm/stm32/stm32.yaml         | 3 +++
 Documentation/devicetree/bindings/arm/sunxi.yaml               | 2 ++
 Documentation/devicetree/bindings/arm/tegra.yaml               | 2 ++
 Documentation/devicetree/bindings/arm/ti/nspire.yaml           | 3 +++
 Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml       | 3 +++
 Documentation/devicetree/bindings/arm/ux500.yaml               | 2 ++
 Documentation/devicetree/bindings/arm/vt8500.yaml              | 3 +++
 Documentation/devicetree/bindings/arm/xilinx.yaml              | 2 ++
 Documentation/devicetree/bindings/arm/zte.yaml                 | 2 ++
 Documentation/devicetree/bindings/mips/ingenic/devices.yaml    | 3 +++
 Documentation/devicetree/bindings/mips/loongson/devices.yaml   | 3 +++
 Documentation/devicetree/bindings/riscv/sifive.yaml            | 3 +++
 60 files changed, 140 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/actions.yaml b/Documentation/devicetree/bindings/arm/actions.yaml
index 14023f0a8552..9d12984691e4 100644
--- a/Documentation/devicetree/bindings/arm/actions.yaml
+++ b/Documentation/devicetree/bindings/arm/actions.yaml
@@ -38,3 +38,5 @@ properties:
           - enum:
               - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
           - const: actions,s900
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentation/devicetree/bindings/arm/altera.yaml
index 0bc5020b7539..c15c92fdf2ed 100644
--- a/Documentation/devicetree/bindings/arm/altera.yaml
+++ b/Documentation/devicetree/bindings/arm/altera.yaml
@@ -19,4 +19,7 @@ properties:
           - altr,socfpga-arria5
           - altr,socfpga-arria10
       - const: altr,socfpga
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/amazon,al.yaml b/Documentation/devicetree/bindings/arm/amazon,al.yaml
index a3a4d710bd02..0f03135d91b6 100644
--- a/Documentation/devicetree/bindings/arm/amazon,al.yaml
+++ b/Documentation/devicetree/bindings/arm/amazon,al.yaml
@@ -30,4 +30,6 @@ properties:
               - amazon,al-alpine-v3-evp
           - const: amazon,al-alpine-v3
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml
index 5eba9f48823e..51dea8844569 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.yaml
+++ b/Documentation/devicetree/bindings/arm/amlogic.yaml
@@ -171,4 +171,7 @@ properties:
           - enum:
               - amlogic,ad401
           - const: amlogic,a1
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/arm,integrator.yaml b/Documentation/devicetree/bindings/arm/arm,integrator.yaml
index f0daf990e077..528eee64290a 100644
--- a/Documentation/devicetree/bindings/arm/arm,integrator.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,integrator.yaml
@@ -83,4 +83,6 @@ required:
   - compatible
   - core-module@10000000
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/arm,realview.yaml b/Documentation/devicetree/bindings/arm/arm,realview.yaml
index 1d0b4e2bc7d2..4f9b21f49e84 100644
--- a/Documentation/devicetree/bindings/arm/arm,realview.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,realview.yaml
@@ -120,4 +120,6 @@ required:
   - compatible
   - soc
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/arm,versatile.yaml b/Documentation/devicetree/bindings/arm/arm,versatile.yaml
index 06efd2a075c9..34b437c72751 100644
--- a/Documentation/devicetree/bindings/arm/arm,versatile.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,versatile.yaml
@@ -68,4 +68,6 @@ required:
   - compatible
   - core-module@10000000
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
index 26829a803fda..55ef656d1192 100644
--- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml
@@ -216,4 +216,6 @@ allOf:
       required:
         - arm,hbi
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml
index 31b0c54fa2cf..df95d1068030 100644
--- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml
+++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml
@@ -183,4 +183,6 @@ properties:
           - const: atmel,samv71
           - const: atmel,samv7
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/axxia.yaml b/Documentation/devicetree/bindings/arm/axxia.yaml
index 3ea5f2fdcd96..e0d2bb71cf50 100644
--- a/Documentation/devicetree/bindings/arm/axxia.yaml
+++ b/Documentation/devicetree/bindings/arm/axxia.yaml
@@ -18,4 +18,6 @@ properties:
       - const: lsi,axm5516-amarillo
       - const: lsi,axm5516
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
index dd52e29b0642..812ae8cc5959 100644
--- a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
@@ -51,4 +51,6 @@ properties:
               - raspberrypi,3-compute-module-lite
           - const: brcm,bcm2837
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml
index 497600a2ffb9..c60324357435 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml
@@ -18,4 +18,6 @@ properties:
           - brcm,bcm28155-ap
       - const: brcm,bcm11351
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml
index e0ee931723dc..b3020757380f 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml
@@ -18,4 +18,6 @@ properties:
           - brcm,bcm21664-garnet
       - const: brcm,bcm21664
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml
index 40d12ea56e54..37f3a6fcde76 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml
@@ -18,4 +18,6 @@ properties:
           - brcm,bcm23550-sparrow
       - const: brcm,bcm23550
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml
index d48313c7ae45..86a1fe885387 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml
@@ -85,4 +85,7 @@ properties:
               - brcm,bcm953012k
           - const: brcm,brcm53012
           - const: brcm,bcm4708
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml
index 9ba7b16e1fc4..432ccf990f9e 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml
@@ -26,4 +26,6 @@ properties:
           - brcm,bcm58305
       - const: brcm,cygnus
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml
index ae614b6722c2..294948399f82 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml
@@ -25,4 +25,6 @@ properties:
       - const: brcm,bcm53342
       - const: brcm,hr2
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml
index 0749adf94c28..c4847abbecd8 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml
@@ -20,4 +20,6 @@ properties:
           - brcm,ns2-xmc
       - const: brcm,ns2
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
index 8c2cacb2bb4f..476bc23a7f75 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
@@ -33,4 +33,6 @@ properties:
           - brcm,bcm88312
       - const: brcm,nsp
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml
index c13cb96545a2..c638e04ebae0 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml
@@ -21,4 +21,6 @@ properties:
           - brcm,bcm958802a802x
       - const: brcm,stingray
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml
index ccdf9f99cb2b..4eba182abd53 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml
@@ -19,4 +19,6 @@ properties:
           - cavium,thunderx2-cn9900
       - const: brcm,vulcan-soc
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/bitmain.yaml b/Documentation/devicetree/bindings/arm/bitmain.yaml
index 5880083ab8d0..90ba02be48ce 100644
--- a/Documentation/devicetree/bindings/arm/bitmain.yaml
+++ b/Documentation/devicetree/bindings/arm/bitmain.yaml
@@ -17,4 +17,7 @@ properties:
       - enum:
           - bitmain,sophon-edge
       - const: bitmain,bm1880
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/calxeda.yaml b/Documentation/devicetree/bindings/arm/calxeda.yaml
index aa5571d23c39..46f78addebb0 100644
--- a/Documentation/devicetree/bindings/arm/calxeda.yaml
+++ b/Documentation/devicetree/bindings/arm/calxeda.yaml
@@ -20,3 +20,5 @@ properties:
       - enum:
           - calxeda,highbank
           - calxeda,ecx-2000
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/digicolor.yaml b/Documentation/devicetree/bindings/arm/digicolor.yaml
index 849e20518339..a35de3c9e284 100644
--- a/Documentation/devicetree/bindings/arm/digicolor.yaml
+++ b/Documentation/devicetree/bindings/arm/digicolor.yaml
@@ -15,4 +15,6 @@ properties:
   compatible:
     const: cnxt,cx92755
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index 6da9d734cdb7..43adf7241d79 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -526,4 +526,6 @@ properties:
               - fsl,s32v234-evb           # S32V234-EVB2 Customer Evaluation Board
           - const: fsl,s32v234
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml
index 43b8ce2227aa..b38458022946 100644
--- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml
+++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml
@@ -64,4 +64,7 @@ properties:
         items:
           - const: H836ASDJ
           - const: hisilicon,sd5203
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/intel,keembay.yaml b/Documentation/devicetree/bindings/arm/intel,keembay.yaml
index 06a7b05f435f..69cd30872928 100644
--- a/Documentation/devicetree/bindings/arm/intel,keembay.yaml
+++ b/Documentation/devicetree/bindings/arm/intel,keembay.yaml
@@ -16,4 +16,7 @@ properties:
       - enum:
           - intel,keembay-evm
       - const: intel,keembay
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml
index f18302efb90e..d72e92bdf7c1 100644
--- a/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml
+++ b/Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml
@@ -22,3 +22,5 @@ properties:
           - enum:
               - gateworks,gw2358
           - const: intel,ixp43x
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml
index 7597bc93a55f..5cbcacaeb441 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml
index a9828c50c0fb..e9bf3054529f 100644
--- a/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml
+++ b/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml
@@ -59,3 +59,5 @@ properties:
           - const: marvell,cn9130
           - const: marvell,armada-ap807-quad
           - const: marvell,armada-ap807
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index 30908963ae26..f736e8c859fa 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -119,4 +119,7 @@ properties:
           - const: google,krane-sku176
           - const: google,krane
           - const: mediatek,mt8183
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml b/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml
index ecf6fa12e6ad..6193388c6318 100644
--- a/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml
+++ b/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml
@@ -62,4 +62,6 @@ required:
   - compatible
   - axi@600000000
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/moxart.yaml b/Documentation/devicetree/bindings/arm/moxart.yaml
index c068df59fad2..670d24ce8ec5 100644
--- a/Documentation/devicetree/bindings/arm/moxart.yaml
+++ b/Documentation/devicetree/bindings/arm/moxart.yaml
@@ -16,4 +16,5 @@ properties:
       - const: moxa,moxart-uc-7112-lx
       - const: moxa,moxart
 
+additionalProperties: true
 ...
diff --git a/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml b/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml
index 3235ec9e9bad..d58116136154 100644
--- a/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml
+++ b/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml
@@ -35,4 +35,7 @@ properties:
           - enum:
               - dell,wyse-ariel
           - const: marvell,mmp3
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml
index c2f980b00b06..7c787405bb2f 100644
--- a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml
+++ b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml
@@ -31,3 +31,5 @@ properties:
           - enum:
               - 70mai,midrived08 # 70mai midrive d08
           - const: mstar,mercury5
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml b/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml
index f7f024910e71..214c97bc3063 100644
--- a/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml
+++ b/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml
@@ -21,4 +21,6 @@ properties:
               - ea,ea3250
               - phytec,phy3250
           - const: nxp,lpc3250
+
+additionalProperties: true
 ...
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index ae6284be9fef..8604f1f9266b 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -167,4 +167,6 @@ properties:
               - qcom,ipq6018-cp01-c1
           - const: qcom,ipq6018
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/rda.yaml b/Documentation/devicetree/bindings/arm/rda.yaml
index 9672aa0c760d..a5c0444aa2b4 100644
--- a/Documentation/devicetree/bindings/arm/rda.yaml
+++ b/Documentation/devicetree/bindings/arm/rda.yaml
@@ -19,4 +19,6 @@ properties:
           - xunlong,orangepi-i96        # Orange Pi i96
       - const: rda,8810pl
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/realtek.yaml b/Documentation/devicetree/bindings/arm/realtek.yaml
index 845f9c76d6f7..9fb0297fe1ce 100644
--- a/Documentation/devicetree/bindings/arm/realtek.yaml
+++ b/Documentation/devicetree/bindings/arm/realtek.yaml
@@ -54,4 +54,7 @@ properties:
           - enum:
               - realtek,mjolnir # Realtek Mjolnir EVB
           - const: realtek,rtd1619
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml
index 0d4dabb4a164..dfb31ad0061e 100644
--- a/Documentation/devicetree/bindings/arm/renesas.yaml
+++ b/Documentation/devicetree/bindings/arm/renesas.yaml
@@ -287,4 +287,6 @@ properties:
               - renesas,rzn1d400-db # RZN1D-DB (RZ/N1D Demo Board for the RZ/N1D 400 pins package)
           - const: renesas,r9a06g032
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index db2e35796795..8d5933a1cb16 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -555,4 +555,7 @@ properties:
         items:
           - const: tronsmart,orion-r68-meta
           - const: rockchip,rk3368
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml
index eb92f9eefaba..272508010b02 100644
--- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml
+++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml
@@ -180,3 +180,5 @@ properties:
 
 required:
   - compatible
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/sirf.yaml b/Documentation/devicetree/bindings/arm/sirf.yaml
index 0b597032c923..b25eb35d1b66 100644
--- a/Documentation/devicetree/bindings/arm/sirf.yaml
+++ b/Documentation/devicetree/bindings/arm/sirf.yaml
@@ -24,4 +24,7 @@ properties:
       - items:
           - const: sirf,prima2-cb
           - const: sirf,prima2
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml b/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml
index 2bd519d2e855..aa1d4afbc510 100644
--- a/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml
+++ b/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml
@@ -19,4 +19,7 @@ properties:
           - enum:
               - socionext,milbeaut-m10v-evb
           - const: socionext,sc2000a
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml b/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml
index 6caf1f9be390..8c0e91658474 100644
--- a/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml
+++ b/Documentation/devicetree/bindings/arm/socionext/uniphier.yaml
@@ -60,3 +60,5 @@ properties:
           - enum:
               - socionext,uniphier-pxs3-ref
           - const: socionext,uniphier-pxs3
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/spear.yaml b/Documentation/devicetree/bindings/arm/spear.yaml
index f6ec731c9531..605ad3f882ef 100644
--- a/Documentation/devicetree/bindings/arm/spear.yaml
+++ b/Documentation/devicetree/bindings/arm/spear.yaml
@@ -22,4 +22,7 @@ properties:
           - st,spear320
           - st,spear1310
           - st,spear1340
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/sprd/sprd.yaml b/Documentation/devicetree/bindings/arm/sprd/sprd.yaml
index 0258a96bfbde..7b6ae3070396 100644
--- a/Documentation/devicetree/bindings/arm/sprd/sprd.yaml
+++ b/Documentation/devicetree/bindings/arm/sprd/sprd.yaml
@@ -30,4 +30,6 @@ properties:
               - sprd,sp9863a-1h10
           - const: sprd,sc9863a
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml
index 47f9b8eebaa0..b1f28d16d3fb 100644
--- a/Documentation/devicetree/bindings/arm/sti.yaml
+++ b/Documentation/devicetree/bindings/arm/sti.yaml
@@ -20,4 +20,7 @@ properties:
           - st,stih407
           - st,stih410
           - st,stih418
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index 696a0101ebcc..6c3e7a9587a2 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -52,4 +52,7 @@ properties:
           - const: st,stm32mp157c-ev1
           - const: st,stm32mp157c-ed1
           - const: st,stm32mp157
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index efc9118233b4..e1f21a051ded 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -883,3 +883,5 @@ properties:
         items:
           - const: xunlong,orangepi-zero-plus2-h3
           - const: allwinner,sun8i-h3
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml
index b4d53290c5f0..0340d3f956a1 100644
--- a/Documentation/devicetree/bindings/arm/tegra.yaml
+++ b/Documentation/devicetree/bindings/arm/tegra.yaml
@@ -121,3 +121,5 @@ properties:
         items:
           - const: nvidia,p3509-0000+p3668-0000
           - const: nvidia,tegra194
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/ti/nspire.yaml b/Documentation/devicetree/bindings/arm/ti/nspire.yaml
index e372b43da62f..cc2023bb7fa6 100644
--- a/Documentation/devicetree/bindings/arm/ti/nspire.yaml
+++ b/Documentation/devicetree/bindings/arm/ti/nspire.yaml
@@ -21,4 +21,7 @@ properties:
           - ti,nspire-tp
           # Clickpad models
           - ti,nspire-clp
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml b/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml
index a8765ba29476..c022d325fc08 100644
--- a/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml
+++ b/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml
@@ -23,4 +23,7 @@ properties:
           - enbw,cmc        # EnBW AM1808 based CMC board
           - lego,ev3        # LEGO MINDSTORMS EV3 (AM1808 based)
       - const: ti,da850
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/ux500.yaml b/Documentation/devicetree/bindings/arm/ux500.yaml
index accaee906050..5db7cfba81a4 100644
--- a/Documentation/devicetree/bindings/arm/ux500.yaml
+++ b/Documentation/devicetree/bindings/arm/ux500.yaml
@@ -34,3 +34,5 @@ properties:
         items:
           - const: samsung,golden
           - const: st-ericsson,u8500
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/arm/vt8500.yaml b/Documentation/devicetree/bindings/arm/vt8500.yaml
index 7b25b6fa34e9..29ff399551ca 100644
--- a/Documentation/devicetree/bindings/arm/vt8500.yaml
+++ b/Documentation/devicetree/bindings/arm/vt8500.yaml
@@ -21,3 +21,6 @@ properties:
           - wm,wm8650
           - wm,wm8750
           - wm,wm8850
+          
+additionalProperties: true
+
diff --git a/Documentation/devicetree/bindings/arm/xilinx.yaml b/Documentation/devicetree/bindings/arm/xilinx.yaml
index c73b1f5c7f49..e0c6787f6e94 100644
--- a/Documentation/devicetree/bindings/arm/xilinx.yaml
+++ b/Documentation/devicetree/bindings/arm/xilinx.yaml
@@ -111,4 +111,6 @@ properties:
           - const: xlnx,zynqmp-zcu111
           - const: xlnx,zynqmp
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/arm/zte.yaml b/Documentation/devicetree/bindings/arm/zte.yaml
index 2d3fefdccdff..672f8129cd31 100644
--- a/Documentation/devicetree/bindings/arm/zte.yaml
+++ b/Documentation/devicetree/bindings/arm/zte.yaml
@@ -23,4 +23,6 @@ properties:
               - zte,zx296718-evb
           - const: zte,zx296718
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/mips/ingenic/devices.yaml b/Documentation/devicetree/bindings/mips/ingenic/devices.yaml
index 83c86cbe4716..bd5fbc973cca 100644
--- a/Documentation/devicetree/bindings/mips/ingenic/devices.yaml
+++ b/Documentation/devicetree/bindings/mips/ingenic/devices.yaml
@@ -47,4 +47,7 @@ properties:
         items:
           - const: yna,cu1830-neo
           - const: ingenic,x1830
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
index d25e80aa8b2a..9fee6708e6f5 100644
--- a/Documentation/devicetree/bindings/mips/loongson/devices.yaml
+++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
@@ -36,4 +36,7 @@ properties:
       - description: Virtual Loongson64 Quad Core + VirtIO
         items:
           - const: loongson,loongson64v-4core-virtio
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/riscv/sifive.yaml b/Documentation/devicetree/bindings/riscv/sifive.yaml
index 3ab532713dc1..3a8647d1da4c 100644
--- a/Documentation/devicetree/bindings/riscv/sifive.yaml
+++ b/Documentation/devicetree/bindings/riscv/sifive.yaml
@@ -22,4 +22,7 @@ properties:
           - sifive,hifive-unleashed-a00
       - const: sifive,fu540-c000
       - const: sifive,fu540
+
+additionalProperties: true
+
 ...
-- 
2.25.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Rob Herring
                   ` (2 preceding siblings ...)
  2020-10-05 18:38 ` [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas Rob Herring
@ 2020-10-05 18:38 ` Rob Herring
  2020-10-05 20:04   ` Mark Brown
                     ` (12 more replies)
  2020-10-06  8:25 ` [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Srinivas Kandagatla
  4 siblings, 13 replies; 37+ messages in thread
From: Rob Herring @ 2020-10-05 18:38 UTC (permalink / raw)
  To: devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/cpus.yaml              | 2 ++
 .../devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml      | 2 ++
 Documentation/devicetree/bindings/ata/pata-common.yaml       | 2 ++
 Documentation/devicetree/bindings/ata/sata-common.yaml       | 2 ++
 Documentation/devicetree/bindings/bus/simple-pm-bus.yaml     | 2 ++
 .../devicetree/bindings/chrome/google,cros-ec-typec.yaml     | 2 ++
 .../devicetree/bindings/connector/usb-connector.yaml         | 2 ++
 .../devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml | 2 ++
 .../devicetree/bindings/display/dsi-controller.yaml          | 2 ++
 Documentation/devicetree/bindings/display/panel/lvds.yaml    | 2 ++
 .../devicetree/bindings/display/panel/panel-common.yaml      | 2 ++
 Documentation/devicetree/bindings/dma/dma-common.yaml        | 2 ++
 Documentation/devicetree/bindings/dma/dma-controller.yaml    | 2 ++
 Documentation/devicetree/bindings/dma/dma-router.yaml        | 2 ++
 Documentation/devicetree/bindings/extcon/wlf,arizona.yaml    | 2 ++
 .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml      | 5 ++++-
 Documentation/devicetree/bindings/iio/common.yaml            | 2 ++
 Documentation/devicetree/bindings/input/input.yaml           | 2 ++
 Documentation/devicetree/bindings/input/matrix-keymap.yaml   | 2 ++
 .../devicetree/bindings/input/touchscreen/touchscreen.yaml   | 2 ++
 Documentation/devicetree/bindings/leds/common.yaml           | 2 ++
 .../devicetree/bindings/leds/leds-class-multicolor.yaml      | 3 +++
 Documentation/devicetree/bindings/leds/trigger-source.yaml   | 2 ++
 Documentation/devicetree/bindings/media/rc.yaml              | 2 ++
 Documentation/devicetree/bindings/mfd/syscon.yaml            | 2 +-
 Documentation/devicetree/bindings/mmc/mmc-controller.yaml    | 2 ++
 .../devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml     | 2 ++
 Documentation/devicetree/bindings/mtd/nand-controller.yaml   | 2 ++
 .../devicetree/bindings/net/can/can-transceiver.yaml         | 2 ++
 Documentation/devicetree/bindings/net/dsa/dsa.yaml           | 2 ++
 .../devicetree/bindings/net/ethernet-controller.yaml         | 2 ++
 Documentation/devicetree/bindings/net/ethernet-phy.yaml      | 2 ++
 Documentation/devicetree/bindings/net/mdio.yaml              | 2 ++
 Documentation/devicetree/bindings/net/snps,dwmac.yaml        | 2 ++
 Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 ++
 Documentation/devicetree/bindings/nvmem/nvmem.yaml           | 2 ++
 Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml      | 2 ++
 Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml    | 2 ++
 Documentation/devicetree/bindings/pci/cdns-pcie.yaml         | 2 ++
 Documentation/devicetree/bindings/pci/pci-ep.yaml            | 2 ++
 Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml | 2 ++
 Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml   | 2 ++
 Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml   | 2 ++
 Documentation/devicetree/bindings/power/power-domain.yaml    | 2 ++
 .../devicetree/bindings/power/supply/power-supply.yaml       | 2 ++
 Documentation/devicetree/bindings/pwm/pwm.yaml               | 2 ++
 Documentation/devicetree/bindings/regulator/regulator.yaml   | 2 ++
 Documentation/devicetree/bindings/regulator/wlf,arizona.yaml | 2 ++
 Documentation/devicetree/bindings/riscv/cpus.yaml            | 2 ++
 Documentation/devicetree/bindings/rtc/rtc.yaml               | 2 ++
 Documentation/devicetree/bindings/serial/rs485.yaml          | 3 +++
 Documentation/devicetree/bindings/serial/serial.yaml         | 2 ++
 Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml  | 2 ++
 Documentation/devicetree/bindings/sound/amlogic,aiu.yaml     | 2 ++
 Documentation/devicetree/bindings/sound/cirrus,madera.yaml   | 2 ++
 .../devicetree/bindings/sound/nvidia,tegra210-ahub.yaml      | 3 +++
 Documentation/devicetree/bindings/sound/wlf,arizona.yaml     | 2 ++
 .../devicetree/bindings/soundwire/soundwire-controller.yaml  | 2 ++
 Documentation/devicetree/bindings/spi/spi-controller.yaml    | 2 ++
 Documentation/devicetree/bindings/spmi/spmi.yaml             | 2 ++
 .../devicetree/bindings/thermal/thermal-cooling-devices.yaml | 2 ++
 .../devicetree/bindings/thermal/thermal-sensor.yaml          | 2 ++
 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml       | 2 ++
 Documentation/devicetree/bindings/usb/usb-hcd.yaml           | 2 ++
 Documentation/devicetree/bindings/watchdog/watchdog.yaml     | 2 ++
 65 files changed, 134 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index 1222bf1831fa..14cd727d3c4b 100644
--- a/Documentation/devicetree/bindings/arm/cpus.yaml
+++ b/Documentation/devicetree/bindings/arm/cpus.yaml
@@ -341,6 +341,8 @@ required:
 dependencies:
   rockchip,pmu: [enable-method]
 
+additionalProperties: true
+
 examples:
   - |
     cpus {
diff --git a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
index 1043e4be4fca..c9675c4cdc1b 100644
--- a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
+++ b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
@@ -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 {
diff --git a/Documentation/devicetree/bindings/ata/pata-common.yaml b/Documentation/devicetree/bindings/ata/pata-common.yaml
index fc5ebbe7108d..2412894a255d 100644
--- a/Documentation/devicetree/bindings/ata/pata-common.yaml
+++ b/Documentation/devicetree/bindings/ata/pata-common.yaml
@@ -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
+
 ...
diff --git a/Documentation/devicetree/bindings/ata/sata-common.yaml b/Documentation/devicetree/bindings/ata/sata-common.yaml
index 6783a4dec6b5..7ac77b1c5850 100644
--- a/Documentation/devicetree/bindings/ata/sata-common.yaml
+++ b/Documentation/devicetree/bindings/ata/sata-common.yaml
@@ -47,4 +47,6 @@ patternProperties:
           multiplier making it possible to connect up to 15 disks to a single
           SATA port.
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml b/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
index 33326ffdb266..182134d7a6a3 100644
--- a/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
+++ b/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
@@ -61,6 +61,8 @@ anyOf:
   - required:
       - power-domains
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/clock/qcom,gcc-msm8996.h>
diff --git a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
index 6d7396ab8bee..2d98f7c4d3bc 100644
--- a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
+++ b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
@@ -26,6 +26,8 @@ properties:
 required:
   - compatible
 
+additionalProperties: true #fixme
+
 examples:
   - |+
     spi0 {
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index dc6ff64422d4..f037d65b018e 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -172,6 +172,8 @@ allOf:
         type:
           const: micro
 
+additionalProperties: true
+
 examples:
   # Micro-USB connector with HS lines routed via controller (MUIC).
   - |
diff --git a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
index 012aa8e7cb8c..e42cb610f545 100644
--- a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
@@ -66,3 +66,5 @@ required:
   - clocks
   - ports
   - reg
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/display/dsi-controller.yaml b/Documentation/devicetree/bindings/display/dsi-controller.yaml
index a02039e3aca0..ca21671f6bdd 100644
--- a/Documentation/devicetree/bindings/display/dsi-controller.yaml
+++ b/Documentation/devicetree/bindings/display/dsi-controller.yaml
@@ -73,6 +73,8 @@ patternProperties:
     required:
       - reg
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/display/panel/lvds.yaml b/Documentation/devicetree/bindings/display/panel/lvds.yaml
index 946dd354256c..31164608ba1d 100644
--- a/Documentation/devicetree/bindings/display/panel/lvds.yaml
+++ b/Documentation/devicetree/bindings/display/panel/lvds.yaml
@@ -112,4 +112,6 @@ oneOf:
   - required:
       - ports
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml
index 45fe8fe5faba..cd6dc5461721 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml
@@ -163,4 +163,6 @@ dependencies:
   width-mm: [ height-mm ]
   height-mm: [ width-mm ]
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/dma/dma-common.yaml b/Documentation/devicetree/bindings/dma/dma-common.yaml
index c36592683340..307b499e8968 100644
--- a/Documentation/devicetree/bindings/dma/dma-common.yaml
+++ b/Documentation/devicetree/bindings/dma/dma-common.yaml
@@ -49,3 +49,5 @@ properties:
 
 required:
   - "#dma-cells"
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/dma/dma-controller.yaml b/Documentation/devicetree/bindings/dma/dma-controller.yaml
index c39f6de76670..0043b91da95e 100644
--- a/Documentation/devicetree/bindings/dma/dma-controller.yaml
+++ b/Documentation/devicetree/bindings/dma/dma-controller.yaml
@@ -17,6 +17,8 @@ properties:
   $nodename:
     pattern: "^dma-controller(@.*)?$"
 
+additionalProperties: true
+
 examples:
   - |
     dma: dma-controller@48000000 {
diff --git a/Documentation/devicetree/bindings/dma/dma-router.yaml b/Documentation/devicetree/bindings/dma/dma-router.yaml
index 5b5f07393135..4cee5667b8a8 100644
--- a/Documentation/devicetree/bindings/dma/dma-router.yaml
+++ b/Documentation/devicetree/bindings/dma/dma-router.yaml
@@ -36,6 +36,8 @@ required:
   - "#dma-cells"
   - dma-masters
 
+additionalProperties: true
+
 examples:
   - |
     sdma_xbar: dma-router@4a002b78 {
diff --git a/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml b/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
index f9845dc2f5ae..5fe784f487c5 100644
--- a/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
+++ b/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
@@ -123,3 +123,5 @@ properties:
     $ref: "/schemas/types.yaml#/definitions/uint32"
     minimum: 0
     maximum: 3
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
index 16d76482b4ff..cfb66ba45ee8 100644
--- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
@@ -46,6 +46,8 @@ properties:
   "#io-channel-cells":
     const: 1
 
+  io-channel-ranges: true
+
   vdd-supply: true
 
   samsung,syscon-phandle:
@@ -107,7 +109,8 @@ allOf:
           items:
             - const: adc
 
-additionalProperties: false
+additionalProperties:
+  type: object
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/iio/common.yaml b/Documentation/devicetree/bindings/iio/common.yaml
index 97ffcb77043d..f845b41d74c4 100644
--- a/Documentation/devicetree/bindings/iio/common.yaml
+++ b/Documentation/devicetree/bindings/iio/common.yaml
@@ -32,4 +32,6 @@ properties:
       considered 'near' to the device (an object is near to the
       sensor).
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml
index 8edcb3c31270..ab407f266bef 100644
--- a/Documentation/devicetree/bindings/input/input.yaml
+++ b/Documentation/devicetree/bindings/input/input.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/input/matrix-keymap.yaml b/Documentation/devicetree/bindings/input/matrix-keymap.yaml
index c3bf09156783..6699d5e32dca 100644
--- a/Documentation/devicetree/bindings/input/matrix-keymap.yaml
+++ b/Documentation/devicetree/bindings/input/matrix-keymap.yaml
@@ -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 {
diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
index 36dc7b56a453..a771a15f053f 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index a2a541bca73c..08b6700ca61e 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -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>
diff --git a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
index b55e1f1308a4..b1a53f054b89 100644
--- a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
@@ -34,4 +34,7 @@ patternProperties:
 
     required:
       - color
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/leds/trigger-source.yaml b/Documentation/devicetree/bindings/leds/trigger-source.yaml
index 0618003e40bd..89a1cde2b8aa 100644
--- a/Documentation/devicetree/bindings/leds/trigger-source.yaml
+++ b/Documentation/devicetree/bindings/leds/trigger-source.yaml
@@ -21,4 +21,6 @@ properties:
       trigger sources (e.g. a specific USB port).
     enum: [ 0, 1 ]
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/media/rc.yaml b/Documentation/devicetree/bindings/media/rc.yaml
index ded2ac43237d..8ad2cba5f61f 100644
--- a/Documentation/devicetree/bindings/media/rc.yaml
+++ b/Documentation/devicetree/bindings/media/rc.yaml
@@ -150,3 +150,5 @@ properties:
       - rc-x96max
       - rc-xbox-dvd
       - rc-zx-irdec
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 844ee2a6ce05..5317a7d69aa5 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -71,7 +71,7 @@ required:
   - compatible
   - reg
 
-unevaluatedProperties: false
+additionalProperties: true
 
 examples:
   - |
diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
index b96da0c7f819..57319b425eaa 100644
--- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
+++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
@@ -349,6 +349,8 @@ dependencies:
   cd-debounce-delay-ms: [ cd-gpios ]
   fixed-emmc-driver-type: [ non-removable ]
 
+additionalProperties: true
+
 examples:
   - |
     mmc@ab000000 {
diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
index 85bd528e9a14..8dfad89c78a7 100644
--- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
+++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
@@ -62,3 +62,5 @@ properties:
 
   dma-names:
     const: rx-tx
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
index 40fc5b0b2b8c..274bbe6a365e 100644
--- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml
+++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
@@ -128,6 +128,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: true
+
 examples:
   - |
     nand-controller {
diff --git a/Documentation/devicetree/bindings/net/can/can-transceiver.yaml b/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
index 6396977d29e5..d1ef1fe6ab29 100644
--- a/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
+++ b/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
index 6a1ec50ad4fd..a765ceba28c6 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
@@ -89,4 +89,6 @@ oneOf:
   - required:
       - ethernet-ports
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index fa2baca8c726..3fd85ce37e9c 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -205,4 +205,6 @@ properties:
           required:
             - speed
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index a9e547ac7905..6dd72faebd89 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -177,6 +177,8 @@ properties:
 required:
   - reg
 
+additionalProperties: true
+
 examples:
   - |
     ethernet {
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
index 26afb556dfae..e811e0fd851c 100644
--- a/Documentation/devicetree/bindings/net/mdio.yaml
+++ b/Documentation/devicetree/bindings/net/mdio.yaml
@@ -100,6 +100,8 @@ patternProperties:
     required:
       - reg
 
+additionalProperties: true
+
 examples:
   - |
     davinci_mdio: mdio@5c030000 {
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 30a1efd26626..11a6fdb657c9 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -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 {
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
index b7c00ed31085..d5d7f113bade 100644
--- a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
+++ b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
@@ -36,6 +36,8 @@ dependencies:
   nvmem-names: [ nvmem ]
   nvmem-cell-names: [ nvmem-cells ]
 
+additionalProperties: true
+
 examples:
   - |
     tsens {
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
index b459f9dba6c9..7481a9e48f19 100644
--- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
@@ -67,6 +67,8 @@ patternProperties:
     required:
       - reg
 
+additionalProperties: true
+
 examples:
   - |
       #include <dt-bindings/gpio/gpio.h>
diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
index 016a5f61592d..60b8baf299bb 100644
--- a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
@@ -22,3 +22,5 @@ properties:
 
 required:
   - cdns,max-outbound-regions
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
index 303078a7b7a8..a944f9bfffff 100644
--- a/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
@@ -33,3 +33,5 @@ properties:
     deprecated: true
 
   msi-parent: true
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
index 02553d5e6c51..df4fe28222b0 100644
--- a/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
@@ -21,3 +21,5 @@ properties:
     items:
       - const: pcie-phy
     # FIXME: names when more than 1
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/pci/pci-ep.yaml b/Documentation/devicetree/bindings/pci/pci-ep.yaml
index 0f8e575ac01a..7847bbcd4a03 100644
--- a/Documentation/devicetree/bindings/pci/pci-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/pci-ep.yaml
@@ -36,3 +36,5 @@ properties:
 
 required:
   - compatible
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
index 6bfc25d0e1b3..4cb174bf31ff 100644
--- a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
@@ -120,3 +120,5 @@ properties:
 required:
   - pinctrl-0
   - pinctrl-names
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
index 13b7ab9dd6d5..71ed0a9def84 100644
--- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml b/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
index ef8877ddb1eb..551df3d9b809 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
@@ -129,3 +129,5 @@ properties:
 
   pinctrl-pin-array:
     $ref: /schemas/types.yaml#/definitions/uint32-array
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/power/power-domain.yaml b/Documentation/devicetree/bindings/power/power-domain.yaml
index dd564349aa53..aed51e9dcb11 100644
--- a/Documentation/devicetree/bindings/power/power-domain.yaml
+++ b/Documentation/devicetree/bindings/power/power-domain.yaml
@@ -69,6 +69,8 @@ properties:
 required:
   - "#power-domain-cells"
 
+additionalProperties: true
+
 examples:
   - |
     power: power-controller@12340000 {
diff --git a/Documentation/devicetree/bindings/power/supply/power-supply.yaml b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
index 3bb02bb3a2d8..c5c55f627251 100644
--- a/Documentation/devicetree/bindings/power/supply/power-supply.yaml
+++ b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
@@ -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 {
diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/devicetree/bindings/pwm/pwm.yaml
index fa4f9de92090..7d1f687cee9c 100644
--- a/Documentation/devicetree/bindings/pwm/pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm.yaml
@@ -20,6 +20,8 @@ properties:
 required:
   - "#pwm-cells"
 
+additionalProperties: true
+
 examples:
   - |
     pwm: pwm@7000a000 {
diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml
index ec505dbbf87c..6d0bc9cd4040 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/regulator.yaml
@@ -188,6 +188,8 @@ patternProperties:
 
     additionalProperties: false
 
+additionalProperties: true
+
 examples:
   - |
     xyzreg: regulator {
diff --git a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
index a0aea73bf412..7b4ae5d23351 100644
--- a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
+++ b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
@@ -35,3 +35,5 @@ properties:
       Initial data for the MICVDD regulator.
     $ref: "regulator.yaml#"
     type: object
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
index f80ba2c66f71..c6925e0b16e4 100644
--- a/Documentation/devicetree/bindings/riscv/cpus.yaml
+++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
@@ -91,6 +91,8 @@ required:
   - riscv,isa
   - interrupt-controller
 
+additionalProperties: true
+
 examples:
   - |
     // Example 1: SiFive Freedom U540G Development Kit
diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
index ee237b2ed66a..2d055e37e6f7 100644
--- a/Documentation/devicetree/bindings/rtc/rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
@@ -47,4 +47,6 @@ properties:
     description:
       Enables wake up of host system on alarm.
 
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/serial/rs485.yaml b/Documentation/devicetree/bindings/serial/rs485.yaml
index fe90569475e1..0c9fa694f85c 100644
--- a/Documentation/devicetree/bindings/serial/rs485.yaml
+++ b/Documentation/devicetree/bindings/serial/rs485.yaml
@@ -45,4 +45,7 @@ properties:
   rs485-term-gpios:
     description: GPIO pin to enable RS485 bus termination.
     maxItems: 1
+
+additionalProperties: true
+
 ...
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index 8645d0e526b4..65e75d040521 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -124,6 +124,8 @@ patternProperties:
       required:
         - compatible
 
+additionalProperties: true
+
 examples:
   - |
     serial@1234 {
diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
index 3cbf2d28a188..80d99861fec5 100644
--- a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
+++ b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
@@ -35,6 +35,8 @@ required:
   - compatible
   - reg
 
+additionalProperties: true
+
 examples:
   - |
     bus@30000000 {
diff --git a/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml b/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
index 7a7f28469624..f50558ed914f 100644
--- a/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
+++ b/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
@@ -75,6 +75,8 @@ required:
   - reg
   - resets
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/clock/gxbb-clkc.h>
diff --git a/Documentation/devicetree/bindings/sound/cirrus,madera.yaml b/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
index c4cd58b5acd4..23138ddcb62d 100644
--- a/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
+++ b/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
@@ -111,3 +111,5 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     minItems: 2
     maxItems: 2
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
index 44ee9d844ae0..d77219727768 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
@@ -67,6 +67,9 @@ required:
   - "#size-cells"
   - ranges
 
+additionalProperties:
+  type: object
+
 examples:
   - |
     #include<dt-bindings/clock/tegra210-car.h>
diff --git a/Documentation/devicetree/bindings/sound/wlf,arizona.yaml b/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
index 22d54be7900a..1627c0bb69be 100644
--- a/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
+++ b/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
@@ -112,3 +112,5 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     minItems: 1
     maxItems: 12
+
+additionalProperties: true
diff --git a/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml b/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
index 330924b8618e..4aad121eff3f 100644
--- a/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
+++ b/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
@@ -57,6 +57,8 @@ required:
   - "#address-cells"
   - "#size-cells"
 
+additionalProperties: true
+
 examples:
   - |
     soundwire@c2d0000 {
diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml
index c6a2f543648b..2b154803b181 100644
--- a/Documentation/devicetree/bindings/spi/spi-controller.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml
@@ -140,6 +140,8 @@ patternProperties:
       - compatible
       - reg
 
+additionalProperties: true
+
 examples:
   - |
     spi@f00 {
diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
index 0cfbf56ba825..173940930719 100644
--- a/Documentation/devicetree/bindings/spmi/spmi.yaml
+++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
@@ -55,6 +55,8 @@ patternProperties:
 required:
   - reg
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/spmi/spmi.h>
diff --git a/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml b/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
index ad4beaf02842..f004779ba9b3 100644
--- a/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
+++ b/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
@@ -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>
diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
index 727d04550324..9f747921e851 100644
--- a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
+++ b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
@@ -36,6 +36,8 @@ properties:
       containing several internal sensors.
     enum: [0, 1]
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
index 8eaf4b6c4735..f6819bf2a3b5 100644
--- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
@@ -32,6 +32,8 @@ required:
   - interrupts
   - interrupt-names
 
+additionalProperties: true
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
index 7263b7f2b510..b545b087b342 100644
--- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
@@ -22,6 +22,8 @@ properties:
     description:
       Name specifier for the USB PHY
 
+additionalProperties: true
+
 examples:
   - |
     usb {
diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
index 187bf6cb62bf..4e2c26cd981d 100644
--- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
+++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
@@ -23,4 +23,6 @@ properties:
     description:
       Contains the watchdog timeout in seconds.
 
+additionalProperties: true
+
 ...
-- 
2.25.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
@ 2020-10-05 20:01   ` Mark Brown
  2020-10-05 20:29   ` Wolfram Sang
                     ` (8 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Mark Brown @ 2020-10-05 20:01 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Marc Kleine-Budde, Sebastian Reichel,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

[-- Attachment #1.1: Type: text/plain, Size: 270 bytes --]

On Mon, Oct 05, 2020 at 01:38:27PM -0500, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.

Acked-by: Mark Brown <broonie@kernel.org>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
@ 2020-10-05 20:02   ` Mark Brown
  2020-10-05 20:33   ` Krzysztof Kozlowski
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 37+ messages in thread
From: Mark Brown @ 2020-10-05 20:02 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Marc Kleine-Budde, Sebastian Reichel,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

[-- Attachment #1.1: Type: text/plain, Size: 288 bytes --]

On Mon, Oct 05, 2020 at 01:38:28PM -0500, Rob Herring wrote:
> In cases where we don't reference another schema, 'additionalProperties'
> can be used instead. This is preferred for now as 'unevaluatedProperties'
> support isn't implemented yet.

Acked-by: Mark Brown <broonie@kernel.org>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
@ 2020-10-05 20:04   ` Mark Brown
  2020-10-05 20:35   ` Krzysztof Kozlowski
                     ` (11 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Mark Brown @ 2020-10-05 20:04 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Marc Kleine-Budde, Sebastian Reichel,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

[-- Attachment #1.1: Type: text/plain, Size: 344 bytes --]

On Mon, Oct 05, 2020 at 01:38:30PM -0500, Rob Herring wrote:
> 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>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
  2020-10-05 20:01   ` Mark Brown
@ 2020-10-05 20:29   ` Wolfram Sang
  2020-10-05 20:31   ` Krzysztof Kozlowski
                     ` (7 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Wolfram Sang @ 2020-10-05 20:29 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

On Mon, Oct 05, 2020 at 01:38:27PM -0500, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
> 
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
> 
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

I trust you, so for I2C:

Acked-by: Wolfram Sang <wsa@kernel.org>


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
  2020-10-05 20:01   ` Mark Brown
  2020-10-05 20:29   ` Wolfram Sang
@ 2020-10-05 20:31   ` Krzysztof Kozlowski
  2020-10-06  5:29   ` Vinod Koul
                     ` (6 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Krzysztof Kozlowski @ 2020-10-05 20:31 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Chanwoo Choi, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, devicetree,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Sebastian Reichel, Paul Walmsley,
	Bjorn Helgaas, Thomas Gleixner, Mauro Carvalho Chehab,
	linux-arm-kernel, Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, linux-kernel,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, linux-mtd,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 05, 2020 at 01:38:27PM -0500, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
> 
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
> 
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
  2020-10-05 20:02   ` Mark Brown
@ 2020-10-05 20:33   ` Krzysztof Kozlowski
  2020-10-06  6:59   ` Lee Jones
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 37+ messages in thread
From: Krzysztof Kozlowski @ 2020-10-05 20:33 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Chanwoo Choi, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, devicetree,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Sebastian Reichel, Paul Walmsley,
	Bjorn Helgaas, Thomas Gleixner, Mauro Carvalho Chehab,
	linux-arm-kernel, Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, linux-kernel,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, linux-mtd,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 05, 2020 at 01:38:28PM -0500, Rob Herring wrote:
> In cases where we don't reference another schema, 'additionalProperties'
> can be used instead. This is preferred for now as 'unevaluatedProperties'
> support isn't implemented yet.
> 
> In a few cases, this means adding some missing property definitions of
> which most are for SPI bus properties. 'unevaluatedProperties' is not going
> to work for the SPI bus properties anyways as they are evaluated from the
> parent node, not the SPI child node.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas
  2020-10-05 18:38 ` [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas Rob Herring
@ 2020-10-05 20:34   ` Krzysztof Kozlowski
  2020-10-06  5:42   ` Viresh Kumar
  2020-10-06  7:42   ` Geert Uytterhoeven
  2 siblings, 0 replies; 37+ messages in thread
From: Krzysztof Kozlowski @ 2020-10-05 20:34 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Chanwoo Choi, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, devicetree,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Sebastian Reichel, Paul Walmsley,
	Bjorn Helgaas, Thomas Gleixner, Mauro Carvalho Chehab,
	linux-arm-kernel, Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, linux-kernel,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, linux-mtd,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 05, 2020 at 01:38:29PM -0500, Rob Herring wrote:
> 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'.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
  2020-10-05 20:04   ` Mark Brown
@ 2020-10-05 20:35   ` Krzysztof Kozlowski
  2020-10-05 20:55   ` Sebastian Reichel
                     ` (10 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Krzysztof Kozlowski @ 2020-10-05 20:35 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Chanwoo Choi, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, devicetree,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Sebastian Reichel, Paul Walmsley,
	Bjorn Helgaas, Thomas Gleixner, Mauro Carvalho Chehab,
	linux-arm-kernel, Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, linux-kernel,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, linux-mtd,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 05, 2020 at 01:38:30PM -0500, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
  2020-10-05 20:04   ` Mark Brown
  2020-10-05 20:35   ` Krzysztof Kozlowski
@ 2020-10-05 20:55   ` Sebastian Reichel
  2020-10-06  1:23   ` Chanwoo Choi
                     ` (9 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Sebastian Reichel @ 2020-10-05 20:55 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]

Hi,

On Mon, Oct 05, 2020 at 01:38:30PM -0500, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  [...]
>  .../devicetree/bindings/power/supply/power-supply.yaml       | 2 ++
>  [...]

Acked-by: Sebastian Reichel <sre@kernel.org>

-- Sebastian

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (2 preceding siblings ...)
  2020-10-05 20:55   ` Sebastian Reichel
@ 2020-10-06  1:23   ` Chanwoo Choi
  2020-10-06  5:30   ` Vinod Koul
                     ` (8 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Chanwoo Choi @ 2020-10-06  1:23 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, linux-hwmon,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Paul Walmsley, Bjorn Helgaas,
	Thomas Gleixner, Mauro Carvalho Chehab, linux-arm-kernel,
	Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, Liam Girdwood,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, linux-mtd,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On 10/6/20 3:38 AM, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
(snip)

>  Documentation/devicetree/bindings/extcon/wlf,arizona.yaml    | 2 ++
(snip)

For the extcon part,
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (2 preceding siblings ...)
  2020-10-05 20:31   ` Krzysztof Kozlowski
@ 2020-10-06  5:29   ` Vinod Koul
  2020-10-06  7:37   ` Geert Uytterhoeven
                     ` (5 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Vinod Koul @ 2020-10-06  5:29 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On 05-10-20, 13:38, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
> 
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
> 
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.

Acked-By: Vinod Koul <vkoul@kernel.org>

-- 
~Vinod

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (3 preceding siblings ...)
  2020-10-06  1:23   ` Chanwoo Choi
@ 2020-10-06  5:30   ` Vinod Koul
  2020-10-06  6:58   ` Lee Jones
                     ` (7 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Vinod Koul @ 2020-10-06  5:30 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On 05-10-20, 13:38, Rob Herring wrote:
> 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: Vinod Koul <vkoul@kernel.org>

-- 
~Vinod

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas
  2020-10-05 18:38 ` [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas Rob Herring
  2020-10-05 20:34   ` Krzysztof Kozlowski
@ 2020-10-06  5:42   ` Viresh Kumar
  2020-10-06  7:42   ` Geert Uytterhoeven
  2 siblings, 0 replies; 37+ messages in thread
From: Viresh Kumar @ 2020-10-06  5:42 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On 05-10-20, 13:38, Rob Herring wrote:
> 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'.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/spear.yaml               | 3 +++

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (4 preceding siblings ...)
  2020-10-06  5:30   ` Vinod Koul
@ 2020-10-06  6:58   ` Lee Jones
  2020-10-06  7:43   ` Geert Uytterhoeven
                     ` (6 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Lee Jones @ 2020-10-06  6:58 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	linux-pwm, linux-iio, Viresh Kumar, Linus Walleij, linux-pci,
	dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Sam Ravnborg, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On Mon, 05 Oct 2020, Rob Herring wrote:

> 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: Lee Jones <lee.jones@linaro.org>

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
  2020-10-05 20:02   ` Mark Brown
  2020-10-05 20:33   ` Krzysztof Kozlowski
@ 2020-10-06  6:59   ` Lee Jones
  2020-10-06  9:58   ` Jonathan Cameron
  2020-10-06 14:32   ` Guenter Roeck
  4 siblings, 0 replies; 37+ messages in thread
From: Lee Jones @ 2020-10-06  6:59 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	linux-pwm, linux-iio, Viresh Kumar, Linus Walleij, linux-pci,
	dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Sam Ravnborg, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On Mon, 05 Oct 2020, Rob Herring wrote:

> In cases where we don't reference another schema, 'additionalProperties'
> can be used instead. This is preferred for now as 'unevaluatedProperties'
> support isn't implemented yet.
> 
> In a few cases, this means adding some missing property definitions of
> which most are for SPI bus properties. 'unevaluatedProperties' is not going
> to work for the SPI bus properties anyways as they are evaluated from the
> parent node, not the SPI child node.

Acked-by: Lee Jones <lee.jones@linaro.org>

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (3 preceding siblings ...)
  2020-10-06  5:29   ` Vinod Koul
@ 2020-10-06  7:37   ` Geert Uytterhoeven
  2020-10-06  9:12   ` Ulf Hansson
                     ` (4 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Geert Uytterhoeven @ 2020-10-06  7:37 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, Dmitry Torokhov,
	Peter Meerwald-Stadler, Sam Ravnborg, Linux PWM List, linux-iio,
	linux-pci, Linus Walleij, DRI Development, Sebastian Reichel,
	linux-ide, Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Viresh Kumar, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, open list:SERIAL DRIVERS, linux-input,
	Jakub Kicinski, Zhang Rui, open list:BROADCOM NVRAM DRIVER,
	Jens Axboe, Vivien Didelot, Wolfgang Grandegger,
	Linux Media Mailing List,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Albert Ou, Jason Cooper, Linux PM list, Liam Girdwood, linux-can,
	open list:GPIO SUBSYSTEM, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, Linux ARM, linux-hwmon, Alessandro Zummo,
	Linux Watchdog Mailing List, Thomas Bogendoerfer,
	Richard Weinberger, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, USB list, Linux MMC List,
	Linux Kernel Mailing List, linux-spi, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Marc Zyngier, dmaengine, MTD Maling List,
	Heiner Kallweit, David S. Miller, Jonathan Cameron, Linux I2C

Hi Rob,

On Mon, Oct 5, 2020 at 8:39 PM Rob Herring <robh@kernel.org> wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
>
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
>
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

Thanks for your patch!

>  Documentation/devicetree/bindings/bus/renesas,bsc.yaml       | 2 ++
>  .../bindings/memory-controllers/renesas,rpc-if.yaml          | 2 ++
>  Documentation/devicetree/bindings/net/renesas,ether.yaml     | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,hscif.yaml  | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,sci.yaml    | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scif.yaml   | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scifa.yaml  | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scifb.yaml  | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,hspi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,rspi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml  | 2 ++

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

> --- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
> +++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> @@ -85,6 +85,8 @@ required:
>    - clocks
>    - pinctrl-0
>
> +unevaluatedProperties: false

This one has received an "additionalProperties: false" in commit
41506bff84f1563e ("dt-bindings: net: renesas, ether: Improve schema validation")
in net-next, which you probably want to remove.

> +
>  examples:
>    # Lager board
>    - |

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas
  2020-10-05 18:38 ` [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas Rob Herring
  2020-10-05 20:34   ` Krzysztof Kozlowski
  2020-10-06  5:42   ` Viresh Kumar
@ 2020-10-06  7:42   ` Geert Uytterhoeven
  2 siblings, 0 replies; 37+ messages in thread
From: Geert Uytterhoeven @ 2020-10-06  7:42 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, USB list, Peter Meerwald-Stadler,
	Sam Ravnborg, Linux PWM List, linux-iio, Viresh Kumar,
	Linus Walleij, linux-pci, DRI Development, Liam Girdwood,
	linux-ide, Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones,
	linux-clk, linux-leds, Vignesh Raghavendra, linux-rtc,
	Lars-Peter Clausen, Marc Zyngier, Daniel Lezcano,
	Krzysztof Kozlowski, Chanwoo Choi, MyungJoo Ham,
	open list:SERIAL DRIVERS, linux-input, Jakub Kicinski, Zhang Rui,
	open list:BROADCOM NVRAM DRIVER, Vivien Didelot,
	Wolfgang Grandegger, Linux Media Mailing List,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Albert Ou, Jason Cooper, Linux PM list, linux-can,
	open list:GPIO SUBSYSTEM, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, Linux ARM, Jens Axboe, Alessandro Zummo,
	Linux Watchdog Mailing List, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, Linux MMC List, Linux Kernel Mailing List,
	linux-spi, Linux I2C, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, MTD Maling List,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 5, 2020 at 8:39 PM Rob Herring <robh@kernel.org> wrote:
> 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'.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

>  Documentation/devicetree/bindings/arm/renesas.yaml             | 2 ++

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (5 preceding siblings ...)
  2020-10-06  6:58   ` Lee Jones
@ 2020-10-06  7:43   ` Geert Uytterhoeven
  2020-10-06  8:22   ` Srinivas Kandagatla
                     ` (5 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Geert Uytterhoeven @ 2020-10-06  7:43 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, USB list, Peter Meerwald-Stadler,
	Sam Ravnborg, Linux PWM List, linux-iio, Viresh Kumar,
	Linus Walleij, linux-pci, DRI Development, Liam Girdwood,
	linux-ide, Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones,
	linux-clk, linux-leds, Vignesh Raghavendra, linux-rtc,
	Lars-Peter Clausen, Marc Zyngier, Daniel Lezcano,
	Krzysztof Kozlowski, Chanwoo Choi, MyungJoo Ham,
	open list:SERIAL DRIVERS, linux-input, Jakub Kicinski, Zhang Rui,
	open list:BROADCOM NVRAM DRIVER, Vivien Didelot,
	Wolfgang Grandegger, Linux Media Mailing List,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Albert Ou, Jason Cooper, Linux PM list, linux-can,
	open list:GPIO SUBSYSTEM, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, Linux ARM, Jens Axboe, Alessandro Zummo,
	Linux Watchdog Mailing List, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, Linux MMC List, Linux Kernel Mailing List,
	linux-spi, Linux I2C, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, MTD Maling List,
	David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 5, 2020 at 8:39 PM Rob Herring <robh@kernel.org> wrote:
> 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.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

>  Documentation/devicetree/bindings/bus/simple-pm-bus.yaml     | 2 ++

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (6 preceding siblings ...)
  2020-10-06  7:43   ` Geert Uytterhoeven
@ 2020-10-06  8:22   ` Srinivas Kandagatla
  2020-10-06  9:12   ` Ulf Hansson
                     ` (4 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Srinivas Kandagatla @ 2020-10-06  8:22 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, linux-mtd, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, Lee Jones, linux-clk, linux-leds,
	Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen, Marc Zyngier,
	Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, linux-hwmon,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Paul Walmsley, Bjorn Helgaas,
	Thomas Gleixner, Mauro Carvalho Chehab, linux-arm-kernel,
	Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, Liam Girdwood,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, David S. Miller,
	Jonathan Cameron, Heiner Kallweit



On 05/10/2020 19:38, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring<robh@kernel.org>
> 
>   Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 ++
>   Documentation/devicetree/bindings/nvmem/nvmem.yaml           | 2 ++

for nvmem parts,

Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

thanks,
srini

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups
  2020-10-05 18:38 [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Rob Herring
                   ` (3 preceding siblings ...)
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
@ 2020-10-06  8:25 ` Srinivas Kandagatla
  4 siblings, 0 replies; 37+ messages in thread
From: Srinivas Kandagatla @ 2020-10-06  8:25 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, linux-mtd, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, Lee Jones, linux-clk, linux-leds,
	Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen, Marc Zyngier,
	Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi, MyungJoo Ham,
	linux-serial, linux-input, Jakub Kicinski, Zhang Rui, linux-mips,
	Vivien Didelot, Wolfgang Grandegger, linux-media, linux-hwmon,
	Albert Ou, Jason Cooper, linux-pm, linux-can, linux-gpio,
	Mark Brown, Marc Kleine-Budde, Paul Walmsley, Bjorn Helgaas,
	Thomas Gleixner, Mauro Carvalho Chehab, linux-arm-kernel,
	Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc, Liam Girdwood,
	linux-spi, linux-i2c, Vinod Koul, Palmer Dabbelt,
	Wim Van Sebroeck, Richard Weinberger, dmaengine, David S. Miller,
	Jonathan Cameron, Heiner Kallweit



On 05/10/2020 19:38, Rob Herring wrote:
> The default behavior for json-schema is any unknown property is allowed.
> T
> 
> hat is generally not the behavior we want for DT. In order to disallow
> extra properties, schemas need to define 'additionalProperties: false'
> typically. Ideally, we'd just add that automatically with the tools, but
> there are some exceptions so only making things explicit everywhere
> really works. Missing 'additionalProperties' or 'unevaluatedProperties'
> has been a constant source of review comments, so a meta-schema check is
> really needed here.
> 
>   Documentation/devicetree/bindings/nvmem/nvmem.yaml     |  2 ++
>   .../devicetree/bindings/nvmem/qcom,qfprom.yaml         |  2 ++

for nvmem parts,

Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>


thanks,
--srini

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (4 preceding siblings ...)
  2020-10-06  7:37   ` Geert Uytterhoeven
@ 2020-10-06  9:12   ` Ulf Hansson
  2020-10-06 14:33   ` Guenter Roeck
                     ` (3 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Ulf Hansson @ 2020-10-06  9:12 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Linux USB List, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	Linux PCI, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	Linux Media Mailing List, DTML, Albert Ou, Jason Cooper,
	Linux PM, linux-can, open list:GPIO SUBSYSTEM, Mark Brown,
	Marc Kleine-Budde, Sebastian Reichel, Paul Walmsley,
	Bjorn Helgaas, Thomas Gleixner, Mauro Carvalho Chehab, Linux ARM,
	Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc,
	Linux Kernel Mailing List, linux-spi, linux-i2c, Vinod Koul,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, 5 Oct 2020 at 20:38, Rob Herring <robh@kernel.org> wrote:
>
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
>
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
>
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

[...]

>  .../devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml        | 2 ++
>  Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/owl-mmc.yaml           | 2 ++
>  Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml  | 2 ++
>  Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml         | 2 ++
>  .../devicetree/bindings/mmc/socionext,uniphier-sd.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml  | 2 ++

For mmc:

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

[...]

Kind regards
Uffe

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (7 preceding siblings ...)
  2020-10-06  8:22   ` Srinivas Kandagatla
@ 2020-10-06  9:12   ` Ulf Hansson
  2020-10-06 10:00   ` Jonathan Cameron
                     ` (3 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Ulf Hansson @ 2020-10-06  9:12 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Linux USB List, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	Linux PCI, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	Linux Media Mailing List, DTML, Albert Ou, Jason Cooper,
	Linux PM, linux-can, open list:GPIO SUBSYSTEM, Mark Brown,
	Marc Kleine-Budde, Sebastian Reichel, Paul Walmsley,
	Bjorn Helgaas, Thomas Gleixner, Mauro Carvalho Chehab, Linux ARM,
	Jens Axboe, Alessandro Zummo, linux-watchdog,
	Thomas Bogendoerfer, Mathieu Poirier, Stephen Boyd,
	Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc,
	Linux Kernel Mailing List, linux-spi, linux-i2c, Vinod Koul,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, 5 Oct 2020 at 20:38, Rob Herring <robh@kernel.org> wrote:
>
> 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.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

[...]

>  Documentation/devicetree/bindings/mmc/mmc-controller.yaml    | 2 ++
>  .../devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml     | 2 ++
>  Documentation/devicetree/bindings/mtd/nand-controller.yaml   | 2 ++

[...]

>  Documentation/devicetree/bindings/power/power-domain.yaml    | 2 ++

For mmc and power-domain:

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

[...]

Kind regards
Uffe

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
                     ` (2 preceding siblings ...)
  2020-10-06  6:59   ` Lee Jones
@ 2020-10-06  9:58   ` Jonathan Cameron
  2020-10-06 14:32   ` Guenter Roeck
  4 siblings, 0 replies; 37+ messages in thread
From: Jonathan Cameron @ 2020-10-06  9:58 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On Mon, 5 Oct 2020 13:38:28 -0500
Rob Herring <robh@kernel.org> wrote:

> In cases where we don't reference another schema, 'additionalProperties'
> can be used instead. This is preferred for now as 'unevaluatedProperties'
> support isn't implemented yet.
> 
> In a few cases, this means adding some missing property definitions of
> which most are for SPI bus properties. 'unevaluatedProperties' is not going
> to work for the SPI bus properties anyways as they are evaluated from the
> parent node, not the SPI child node.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> ---
>  .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml  |  6 +++++-
>  .../devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml  |  2 +-
>  .../devicetree/bindings/clock/imx8m-clock.yaml         |  2 +-
>  .../devicetree/bindings/hwmon/baikal,bt1-pvt.yaml      |  4 ++--
>  .../devicetree/bindings/iio/accel/adi,adis16240.yaml   |  4 +++-
>  .../devicetree/bindings/iio/accel/adi,adxl345.yaml     |  4 +++-
>  .../devicetree/bindings/iio/accel/adi,adxl372.yaml     |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7124.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7192.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7292.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7606.yaml        |  6 +++++-
>  .../devicetree/bindings/iio/adc/adi,ad7923.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/maxim,max1241.yaml     |  4 +++-
>  .../devicetree/bindings/iio/dac/adi,ad5770r.yaml       | 10 +++++++++-
>  .../devicetree/bindings/iio/frequency/adf4371.yaml     |  4 +++-
>  .../devicetree/bindings/iio/imu/adi,adis16460.yaml     |  4 +++-
>  .../devicetree/bindings/iio/imu/adi,adis16475.yaml     |  2 +-
>  .../devicetree/bindings/iio/imu/bosch,bmi160.yaml      |  4 +++-
>  .../devicetree/bindings/iio/imu/nxp,fxos8700.yaml      |  4 +++-
>  .../bindings/interrupt-controller/mti,gic.yaml         |  2 +-
>  .../devicetree/bindings/mfd/cirrus,lochnagar.yaml      | 10 +++++++++-
>  .../bindings/mfd/ti,j721e-system-controller.yaml       |  5 ++++-
>  .../devicetree/bindings/misc/olpc,xo1.75-ec.yaml       |  4 +++-
>  .../opp/allwinner,sun50i-h6-operating-points.yaml      |  4 +++-
>  .../bindings/regulator/qcom-labibb-regulator.yaml      |  2 +-
>  .../devicetree/bindings/timer/snps,dw-apb-timer.yaml   |  2 +-
>  26 files changed, 82 insertions(+), 27 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> index 2821425ee445..bd4cefbb1244 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> @@ -134,7 +134,11 @@ properties:
>    "#reset-cells":
>      const: 1
>  
> -unevaluatedProperties: false
> +  clocks: true
> +
> +  clock-names: true
> +
> +additionalProperties: false
>  
>  required:
>    - compatible
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
> index 97131bfa6f87..624984d51c10 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
> @@ -101,7 +101,7 @@ properties:
>    clock-names:
>      const: ref_clk
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> index 31e7cc9693c3..625f573a7b90 100644
> --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> @@ -96,7 +96,7 @@ allOf:
>              - const: clk_ext3
>              - const: clk_ext4
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    # Clock Control Module node:
> diff --git a/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml b/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
> index 84ae4cdd08ed..00a6511354e6 100644
> --- a/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
> @@ -79,7 +79,7 @@ properties:
>        minimum: 0
>        maximum: 7130
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> @@ -99,7 +99,7 @@ examples:
>  
>        interrupts = <GIC_SHARED 31 IRQ_TYPE_LEVEL_HIGH>;
>  
> -      baikal,pvt-temp-trim-millicelsius = <1000>;
> +      baikal,pvt-temp-offset-millicelsius = <1000>;
>  
>        clocks = <&ccu_sys>, <&ccu_sys>;
>        clock-names = "ref", "pclk";
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> index 8589b722028d..4fcbfd93e218 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> @@ -25,12 +25,14 @@ properties:
>    interrupts:
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> index 591ca32181b0..11d32a288535 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> @@ -32,6 +32,8 @@ properties:
>  
>    spi-cpol: true
>  
> +  spi-max-frequency: true
> +
>    interrupts:
>      maxItems: 1
>  
> @@ -40,7 +42,7 @@ required:
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> index 64f275c8e2d9..38b59b6454ce 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> @@ -25,12 +25,14 @@ properties:
>    interrupts:
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> index d0d2880626c2..f1c574c896cb 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> @@ -52,6 +52,8 @@ properties:
>    avdd-supply:
>      description: avdd supply can be used as reference for conversion.
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
> @@ -108,7 +110,7 @@ patternProperties:
>        - reg
>        - diff-channels
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> index ed363a796e50..e0cc3b2e8957 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> @@ -30,6 +30,8 @@ properties:
>  
>    spi-cpha: true
>  
> +  spi-max-frequency: true
> +
>    clocks:
>      maxItems: 1
>      description: phandle to the master clock (mclk)
> @@ -92,7 +94,7 @@ required:
>    - spi-cpol
>    - spi-cpha
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> index 55e973c6449c..108d202b288f 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> @@ -30,6 +30,8 @@ properties:
>  
>    spi-cpha: true
>  
> +  spi-max-frequency: true
> +
>    '#address-cells':
>      const: 1
>  
> @@ -63,7 +65,7 @@ patternProperties:
>      required:
>        - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> index 014b020ed0c2..73775174cf57 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> @@ -31,6 +31,10 @@ properties:
>  
>    spi-cpha: true
>  
> +  spi-cpol: true
> +
> +  spi-max-frequency: true
> +
>    avcc-supply: true
>  
>    interrupts:
> @@ -102,7 +106,7 @@ required:
>    - interrupts
>    - adi,conversion-start-gpios
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> index 2a17641faed5..e82194974eea 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> @@ -43,11 +43,13 @@ properties:
>    '#size-cells':
>      const: 0
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> index 181213b862db..4c7e0d94bff1 100644
> --- a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> @@ -39,13 +39,15 @@ properties:
>        thus enabling power-down mode.
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - vdd-supply
>    - vref-supply
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> index faef288b7148..fb2c48fc7ce4 100644
> --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> @@ -49,6 +49,14 @@ properties:
>        asserted during driver probe.
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
> +  '#address-cells':
> +    const: 1
> +
> +  '#size-cells':
> +    const: 0
> +
>    channel@0:
>      description: Represents an external channel which are
>        connected to the DAC. Channel 0 can act both as a current
> @@ -130,7 +138,7 @@ required:
>    - channel@4
>    - channel@5
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> index 11d445f7010e..6b3a611e1cf1 100644
> --- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> @@ -40,13 +40,15 @@ properties:
>        output stage will shut down until the ADF4371/ADF4372 achieves lock as
>        measured by the digital lock detect circuitry.
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - clocks
>    - clock-names
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> index 07c8ed4ee0f1..340be256f283 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> @@ -25,6 +25,8 @@ properties:
>  
>    spi-cpol: true
>  
> +  spi-max-frequency: true
> +
>    interrupts:
>      maxItems: 1
>  
> @@ -33,7 +35,7 @@ required:
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> index c29385697bbf..79fba1508e89 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> @@ -116,7 +116,7 @@ allOf:
>        dependencies:
>          adi,sync-mode: [ clocks ]
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> index 4f215399c8df..6e73cd889b5c 100644
> --- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> @@ -46,11 +46,13 @@ properties:
>    mount-matrix:
>      description: an optional 3x3 mounting rotation matrix
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> index 716731c2b794..479e7065d4eb 100644
> --- a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> @@ -36,11 +36,13 @@ properties:
>    drive-open-drain:
>      type: boolean
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml b/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
> index ce6aaff15214..039e08af98bb 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
> @@ -95,7 +95,7 @@ properties:
>  
>      additionalProperties: false
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> diff --git a/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml b/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
> index 7a616577ac63..c00ad3e21c21 100644
> --- a/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
> +++ b/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
> @@ -130,6 +130,14 @@ properties:
>      type: object
>      $ref: /schemas/pinctrl/cirrus,lochnagar.yaml#
>  
> +  lochnagar-hwmon:
> +    type: object
> +    $ref: /schemas/hwmon/cirrus,lochnagar.yaml#
> +
> +  lochnagar-sc:
> +    type: object
> +    $ref: /schemas/sound/cirrus,lochnagar.yaml#
> +
>    VDDCORE:
>      description:
>        Initialisation data for the VDDCORE regulator, which supplies the
> @@ -249,7 +257,7 @@ required:
>    - lochnagar-clk
>    - lochnagar-pinctrl
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
> index da3d9ab758b9..19fcf59fd2fe 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
> @@ -30,6 +30,9 @@ properties:
>        - const: syscon
>        - const: simple-mfd
>  
> +  reg:
> +    maxItems: 1
> +
>    "#address-cells":
>      const: 1
>  
> @@ -54,7 +57,7 @@ required:
>    - "#size-cells"
>    - ranges
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
> index e75d77beec6a..ade733cd60f7 100644
> --- a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
> +++ b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
> @@ -28,11 +28,13 @@ properties:
>      description: GPIO uspecifier of the CMD pin
>      maxItems: 1
>  
> +  spi-cpha: true
> +
>  required:
>    - compatible
>    - cmd-gpios
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml b/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
> index aef87a33a7c9..aeff2bd774dd 100644
> --- a/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
> +++ b/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
> @@ -31,6 +31,8 @@ properties:
>        Documentation/devicetree/bindings/nvmem/nvmem.txt and also
>        examples below.
>  
> +  opp-shared: true
> +
>  required:
>    - compatible
>    - nvmem-cells
> @@ -53,7 +55,7 @@ patternProperties:
>  
>      unevaluatedProperties: false
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
> index fb111e2d5b99..53853ec20fe2 100644
> --- a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
> @@ -47,7 +47,7 @@ properties:
>  required:
>    - compatible
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
> index 7b39e3204fb3..2fc617377e2c 100644
> --- a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
> +++ b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
> @@ -45,7 +45,7 @@ properties:
>        frequency in HZ, but is defined only for the backwards compatibility
>        with the picoxcell platform.
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (8 preceding siblings ...)
  2020-10-06  9:12   ` Ulf Hansson
@ 2020-10-06 10:00   ` Jonathan Cameron
  2020-10-06 14:30   ` Guenter Roeck
                     ` (2 subsequent siblings)
  12 siblings, 0 replies; 37+ messages in thread
From: Jonathan Cameron @ 2020-10-06 10:00 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On Mon, 5 Oct 2020 13:38:30 -0500
Rob Herring <robh@kernel.org> wrote:

> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

>  Documentation/devicetree/bindings/iio/common.yaml            | 2 ++
For IIO

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>  ...



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (9 preceding siblings ...)
  2020-10-06 10:00   ` Jonathan Cameron
@ 2020-10-06 14:30   ` Guenter Roeck
  2020-10-07  1:04   ` Dmitry Torokhov
  2020-10-07 22:40   ` Alexandre Belloni
  12 siblings, 0 replies; 37+ messages in thread
From: Guenter Roeck @ 2020-10-06 14:30 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On 10/5/20 11:38 AM, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/cpus.yaml              | 2 ++
>  .../devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml      | 2 ++
>  Documentation/devicetree/bindings/ata/pata-common.yaml       | 2 ++
>  Documentation/devicetree/bindings/ata/sata-common.yaml       | 2 ++
>  Documentation/devicetree/bindings/bus/simple-pm-bus.yaml     | 2 ++
>  .../devicetree/bindings/chrome/google,cros-ec-typec.yaml     | 2 ++
>  .../devicetree/bindings/connector/usb-connector.yaml         | 2 ++
>  .../devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml | 2 ++
>  .../devicetree/bindings/display/dsi-controller.yaml          | 2 ++
>  Documentation/devicetree/bindings/display/panel/lvds.yaml    | 2 ++
>  .../devicetree/bindings/display/panel/panel-common.yaml      | 2 ++
>  Documentation/devicetree/bindings/dma/dma-common.yaml        | 2 ++
>  Documentation/devicetree/bindings/dma/dma-controller.yaml    | 2 ++
>  Documentation/devicetree/bindings/dma/dma-router.yaml        | 2 ++
>  Documentation/devicetree/bindings/extcon/wlf,arizona.yaml    | 2 ++
>  .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml      | 5 ++++-
>  Documentation/devicetree/bindings/iio/common.yaml            | 2 ++
>  Documentation/devicetree/bindings/input/input.yaml           | 2 ++
>  Documentation/devicetree/bindings/input/matrix-keymap.yaml   | 2 ++
>  .../devicetree/bindings/input/touchscreen/touchscreen.yaml   | 2 ++
>  Documentation/devicetree/bindings/leds/common.yaml           | 2 ++
>  .../devicetree/bindings/leds/leds-class-multicolor.yaml      | 3 +++
>  Documentation/devicetree/bindings/leds/trigger-source.yaml   | 2 ++
>  Documentation/devicetree/bindings/media/rc.yaml              | 2 ++
>  Documentation/devicetree/bindings/mfd/syscon.yaml            | 2 +-
>  Documentation/devicetree/bindings/mmc/mmc-controller.yaml    | 2 ++
>  .../devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml     | 2 ++
>  Documentation/devicetree/bindings/mtd/nand-controller.yaml   | 2 ++
>  .../devicetree/bindings/net/can/can-transceiver.yaml         | 2 ++
>  Documentation/devicetree/bindings/net/dsa/dsa.yaml           | 2 ++
>  .../devicetree/bindings/net/ethernet-controller.yaml         | 2 ++
>  Documentation/devicetree/bindings/net/ethernet-phy.yaml      | 2 ++
>  Documentation/devicetree/bindings/net/mdio.yaml              | 2 ++
>  Documentation/devicetree/bindings/net/snps,dwmac.yaml        | 2 ++
>  Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 ++
>  Documentation/devicetree/bindings/nvmem/nvmem.yaml           | 2 ++
>  Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml      | 2 ++
>  Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml    | 2 ++
>  Documentation/devicetree/bindings/pci/cdns-pcie.yaml         | 2 ++
>  Documentation/devicetree/bindings/pci/pci-ep.yaml            | 2 ++
>  Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml | 2 ++
>  Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml   | 2 ++
>  Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml   | 2 ++
>  Documentation/devicetree/bindings/power/power-domain.yaml    | 2 ++
>  .../devicetree/bindings/power/supply/power-supply.yaml       | 2 ++
>  Documentation/devicetree/bindings/pwm/pwm.yaml               | 2 ++
>  Documentation/devicetree/bindings/regulator/regulator.yaml   | 2 ++
>  Documentation/devicetree/bindings/regulator/wlf,arizona.yaml | 2 ++
>  Documentation/devicetree/bindings/riscv/cpus.yaml            | 2 ++
>  Documentation/devicetree/bindings/rtc/rtc.yaml               | 2 ++
>  Documentation/devicetree/bindings/serial/rs485.yaml          | 3 +++
>  Documentation/devicetree/bindings/serial/serial.yaml         | 2 ++
>  Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml  | 2 ++
>  Documentation/devicetree/bindings/sound/amlogic,aiu.yaml     | 2 ++
>  Documentation/devicetree/bindings/sound/cirrus,madera.yaml   | 2 ++
>  .../devicetree/bindings/sound/nvidia,tegra210-ahub.yaml      | 3 +++
>  Documentation/devicetree/bindings/sound/wlf,arizona.yaml     | 2 ++
>  .../devicetree/bindings/soundwire/soundwire-controller.yaml  | 2 ++
>  Documentation/devicetree/bindings/spi/spi-controller.yaml    | 2 ++
>  Documentation/devicetree/bindings/spmi/spmi.yaml             | 2 ++
>  .../devicetree/bindings/thermal/thermal-cooling-devices.yaml | 2 ++
>  .../devicetree/bindings/thermal/thermal-sensor.yaml          | 2 ++
>  Documentation/devicetree/bindings/usb/ti,tps6598x.yaml       | 2 ++
>  Documentation/devicetree/bindings/usb/usb-hcd.yaml           | 2 ++
>  Documentation/devicetree/bindings/watchdog/watchdog.yaml     | 2 ++

For watchdog:

Acked-by: Guenter Roeck <linux@roeck-us.net>

>  65 files changed, 134 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
> index 1222bf1831fa..14cd727d3c4b 100644
> --- a/Documentation/devicetree/bindings/arm/cpus.yaml
> +++ b/Documentation/devicetree/bindings/arm/cpus.yaml
> @@ -341,6 +341,8 @@ required:
>  dependencies:
>    rockchip,pmu: [enable-method]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      cpus {
> diff --git a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
> index 1043e4be4fca..c9675c4cdc1b 100644
> --- a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
> +++ b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/ata/pata-common.yaml b/Documentation/devicetree/bindings/ata/pata-common.yaml
> index fc5ebbe7108d..2412894a255d 100644
> --- a/Documentation/devicetree/bindings/ata/pata-common.yaml
> +++ b/Documentation/devicetree/bindings/ata/pata-common.yaml
> @@ -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
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/ata/sata-common.yaml b/Documentation/devicetree/bindings/ata/sata-common.yaml
> index 6783a4dec6b5..7ac77b1c5850 100644
> --- a/Documentation/devicetree/bindings/ata/sata-common.yaml
> +++ b/Documentation/devicetree/bindings/ata/sata-common.yaml
> @@ -47,4 +47,6 @@ patternProperties:
>            multiplier making it possible to connect up to 15 disks to a single
>            SATA port.
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml b/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
> index 33326ffdb266..182134d7a6a3 100644
> --- a/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
> +++ b/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
> @@ -61,6 +61,8 @@ anyOf:
>    - required:
>        - power-domains
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-msm8996.h>
> diff --git a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
> index 6d7396ab8bee..2d98f7c4d3bc 100644
> --- a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
> +++ b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
> @@ -26,6 +26,8 @@ properties:
>  required:
>    - compatible
>  
> +additionalProperties: true #fixme
> +
>  examples:
>    - |+
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
> index dc6ff64422d4..f037d65b018e 100644
> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
> @@ -172,6 +172,8 @@ allOf:
>          type:
>            const: micro
>  
> +additionalProperties: true
> +
>  examples:
>    # Micro-USB connector with HS lines routed via controller (MUIC).
>    - |
> diff --git a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
> index 012aa8e7cb8c..e42cb610f545 100644
> --- a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
> @@ -66,3 +66,5 @@ required:
>    - clocks
>    - ports
>    - reg
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/display/dsi-controller.yaml b/Documentation/devicetree/bindings/display/dsi-controller.yaml
> index a02039e3aca0..ca21671f6bdd 100644
> --- a/Documentation/devicetree/bindings/display/dsi-controller.yaml
> +++ b/Documentation/devicetree/bindings/display/dsi-controller.yaml
> @@ -73,6 +73,8 @@ patternProperties:
>      required:
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/lvds.yaml b/Documentation/devicetree/bindings/display/panel/lvds.yaml
> index 946dd354256c..31164608ba1d 100644
> --- a/Documentation/devicetree/bindings/display/panel/lvds.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/lvds.yaml
> @@ -112,4 +112,6 @@ oneOf:
>    - required:
>        - ports
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml
> index 45fe8fe5faba..cd6dc5461721 100644
> --- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml
> @@ -163,4 +163,6 @@ dependencies:
>    width-mm: [ height-mm ]
>    height-mm: [ width-mm ]
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/dma/dma-common.yaml b/Documentation/devicetree/bindings/dma/dma-common.yaml
> index c36592683340..307b499e8968 100644
> --- a/Documentation/devicetree/bindings/dma/dma-common.yaml
> +++ b/Documentation/devicetree/bindings/dma/dma-common.yaml
> @@ -49,3 +49,5 @@ properties:
>  
>  required:
>    - "#dma-cells"
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/dma/dma-controller.yaml b/Documentation/devicetree/bindings/dma/dma-controller.yaml
> index c39f6de76670..0043b91da95e 100644
> --- a/Documentation/devicetree/bindings/dma/dma-controller.yaml
> +++ b/Documentation/devicetree/bindings/dma/dma-controller.yaml
> @@ -17,6 +17,8 @@ properties:
>    $nodename:
>      pattern: "^dma-controller(@.*)?$"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      dma: dma-controller@48000000 {
> diff --git a/Documentation/devicetree/bindings/dma/dma-router.yaml b/Documentation/devicetree/bindings/dma/dma-router.yaml
> index 5b5f07393135..4cee5667b8a8 100644
> --- a/Documentation/devicetree/bindings/dma/dma-router.yaml
> +++ b/Documentation/devicetree/bindings/dma/dma-router.yaml
> @@ -36,6 +36,8 @@ required:
>    - "#dma-cells"
>    - dma-masters
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      sdma_xbar: dma-router@4a002b78 {
> diff --git a/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml b/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
> index f9845dc2f5ae..5fe784f487c5 100644
> --- a/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
> @@ -123,3 +123,5 @@ properties:
>      $ref: "/schemas/types.yaml#/definitions/uint32"
>      minimum: 0
>      maximum: 3
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> index 16d76482b4ff..cfb66ba45ee8 100644
> --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> @@ -46,6 +46,8 @@ properties:
>    "#io-channel-cells":
>      const: 1
>  
> +  io-channel-ranges: true
> +
>    vdd-supply: true
>  
>    samsung,syscon-phandle:
> @@ -107,7 +109,8 @@ allOf:
>            items:
>              - const: adc
>  
> -additionalProperties: false
> +additionalProperties:
> +  type: object
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/common.yaml b/Documentation/devicetree/bindings/iio/common.yaml
> index 97ffcb77043d..f845b41d74c4 100644
> --- a/Documentation/devicetree/bindings/iio/common.yaml
> +++ b/Documentation/devicetree/bindings/iio/common.yaml
> @@ -32,4 +32,6 @@ properties:
>        considered 'near' to the device (an object is near to the
>        sensor).
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml
> index 8edcb3c31270..ab407f266bef 100644
> --- a/Documentation/devicetree/bindings/input/input.yaml
> +++ b/Documentation/devicetree/bindings/input/input.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/input/matrix-keymap.yaml b/Documentation/devicetree/bindings/input/matrix-keymap.yaml
> index c3bf09156783..6699d5e32dca 100644
> --- a/Documentation/devicetree/bindings/input/matrix-keymap.yaml
> +++ b/Documentation/devicetree/bindings/input/matrix-keymap.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> index 36dc7b56a453..a771a15f053f 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
> index a2a541bca73c..08b6700ca61e 100644
> --- a/Documentation/devicetree/bindings/leds/common.yaml
> +++ b/Documentation/devicetree/bindings/leds/common.yaml
> @@ -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>
> diff --git a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> index b55e1f1308a4..b1a53f054b89 100644
> --- a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> +++ b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> @@ -34,4 +34,7 @@ patternProperties:
>  
>      required:
>        - color
> +
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/leds/trigger-source.yaml b/Documentation/devicetree/bindings/leds/trigger-source.yaml
> index 0618003e40bd..89a1cde2b8aa 100644
> --- a/Documentation/devicetree/bindings/leds/trigger-source.yaml
> +++ b/Documentation/devicetree/bindings/leds/trigger-source.yaml
> @@ -21,4 +21,6 @@ properties:
>        trigger sources (e.g. a specific USB port).
>      enum: [ 0, 1 ]
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/media/rc.yaml b/Documentation/devicetree/bindings/media/rc.yaml
> index ded2ac43237d..8ad2cba5f61f 100644
> --- a/Documentation/devicetree/bindings/media/rc.yaml
> +++ b/Documentation/devicetree/bindings/media/rc.yaml
> @@ -150,3 +150,5 @@ properties:
>        - rc-x96max
>        - rc-xbox-dvd
>        - rc-zx-irdec
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
> index 844ee2a6ce05..5317a7d69aa5 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
> @@ -71,7 +71,7 @@ required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: true
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> index b96da0c7f819..57319b425eaa 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> @@ -349,6 +349,8 @@ dependencies:
>    cd-debounce-delay-ms: [ cd-gpios ]
>    fixed-emmc-driver-type: [ non-removable ]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      mmc@ab000000 {
> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
> index 85bd528e9a14..8dfad89c78a7 100644
> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
> @@ -62,3 +62,5 @@ properties:
>  
>    dma-names:
>      const: rx-tx
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
> index 40fc5b0b2b8c..274bbe6a365e 100644
> --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml
> +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
> @@ -128,6 +128,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      nand-controller {
> diff --git a/Documentation/devicetree/bindings/net/can/can-transceiver.yaml b/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
> index 6396977d29e5..d1ef1fe6ab29 100644
> --- a/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
> +++ b/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
> index 6a1ec50ad4fd..a765ceba28c6 100644
> --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml
> +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
> @@ -89,4 +89,6 @@ oneOf:
>    - required:
>        - ethernet-ports
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> index fa2baca8c726..3fd85ce37e9c 100644
> --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> @@ -205,4 +205,6 @@ properties:
>            required:
>              - speed
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> index a9e547ac7905..6dd72faebd89 100644
> --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> @@ -177,6 +177,8 @@ properties:
>  required:
>    - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      ethernet {
> diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
> index 26afb556dfae..e811e0fd851c 100644
> --- a/Documentation/devicetree/bindings/net/mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/mdio.yaml
> @@ -100,6 +100,8 @@ patternProperties:
>      required:
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      davinci_mdio: mdio@5c030000 {
> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> index 30a1efd26626..11a6fdb657c9 100644
> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> index b7c00ed31085..d5d7f113bade 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> @@ -36,6 +36,8 @@ dependencies:
>    nvmem-names: [ nvmem ]
>    nvmem-cell-names: [ nvmem-cells ]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      tsens {
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> index b459f9dba6c9..7481a9e48f19 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> @@ -67,6 +67,8 @@ patternProperties:
>      required:
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>        #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
> index 016a5f61592d..60b8baf299bb 100644
> --- a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
> @@ -22,3 +22,5 @@ properties:
>  
>  required:
>    - cdns,max-outbound-regions
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
> index 303078a7b7a8..a944f9bfffff 100644
> --- a/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
> @@ -33,3 +33,5 @@ properties:
>      deprecated: true
>  
>    msi-parent: true
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
> index 02553d5e6c51..df4fe28222b0 100644
> --- a/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
> @@ -21,3 +21,5 @@ properties:
>      items:
>        - const: pcie-phy
>      # FIXME: names when more than 1
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pci/pci-ep.yaml b/Documentation/devicetree/bindings/pci/pci-ep.yaml
> index 0f8e575ac01a..7847bbcd4a03 100644
> --- a/Documentation/devicetree/bindings/pci/pci-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/pci-ep.yaml
> @@ -36,3 +36,5 @@ properties:
>  
>  required:
>    - compatible
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
> index 6bfc25d0e1b3..4cb174bf31ff 100644
> --- a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
> @@ -120,3 +120,5 @@ properties:
>  required:
>    - pinctrl-0
>    - pinctrl-names
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> index 13b7ab9dd6d5..71ed0a9def84 100644
> --- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml b/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
> index ef8877ddb1eb..551df3d9b809 100644
> --- a/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
> @@ -129,3 +129,5 @@ properties:
>  
>    pinctrl-pin-array:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/power/power-domain.yaml b/Documentation/devicetree/bindings/power/power-domain.yaml
> index dd564349aa53..aed51e9dcb11 100644
> --- a/Documentation/devicetree/bindings/power/power-domain.yaml
> +++ b/Documentation/devicetree/bindings/power/power-domain.yaml
> @@ -69,6 +69,8 @@ properties:
>  required:
>    - "#power-domain-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      power: power-controller@12340000 {
> diff --git a/Documentation/devicetree/bindings/power/supply/power-supply.yaml b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
> index 3bb02bb3a2d8..c5c55f627251 100644
> --- a/Documentation/devicetree/bindings/power/supply/power-supply.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/devicetree/bindings/pwm/pwm.yaml
> index fa4f9de92090..7d1f687cee9c 100644
> --- a/Documentation/devicetree/bindings/pwm/pwm.yaml
> +++ b/Documentation/devicetree/bindings/pwm/pwm.yaml
> @@ -20,6 +20,8 @@ properties:
>  required:
>    - "#pwm-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      pwm: pwm@7000a000 {
> diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml
> index ec505dbbf87c..6d0bc9cd4040 100644
> --- a/Documentation/devicetree/bindings/regulator/regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml
> @@ -188,6 +188,8 @@ patternProperties:
>  
>      additionalProperties: false
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      xyzreg: regulator {
> diff --git a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
> index a0aea73bf412..7b4ae5d23351 100644
> --- a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
> @@ -35,3 +35,5 @@ properties:
>        Initial data for the MICVDD regulator.
>      $ref: "regulator.yaml#"
>      type: object
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
> index f80ba2c66f71..c6925e0b16e4 100644
> --- a/Documentation/devicetree/bindings/riscv/cpus.yaml
> +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
> @@ -91,6 +91,8 @@ required:
>    - riscv,isa
>    - interrupt-controller
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      // Example 1: SiFive Freedom U540G Development Kit
> diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
> index ee237b2ed66a..2d055e37e6f7 100644
> --- a/Documentation/devicetree/bindings/rtc/rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
> @@ -47,4 +47,6 @@ properties:
>      description:
>        Enables wake up of host system on alarm.
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/serial/rs485.yaml b/Documentation/devicetree/bindings/serial/rs485.yaml
> index fe90569475e1..0c9fa694f85c 100644
> --- a/Documentation/devicetree/bindings/serial/rs485.yaml
> +++ b/Documentation/devicetree/bindings/serial/rs485.yaml
> @@ -45,4 +45,7 @@ properties:
>    rs485-term-gpios:
>      description: GPIO pin to enable RS485 bus termination.
>      maxItems: 1
> +
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
> index 8645d0e526b4..65e75d040521 100644
> --- a/Documentation/devicetree/bindings/serial/serial.yaml
> +++ b/Documentation/devicetree/bindings/serial/serial.yaml
> @@ -124,6 +124,8 @@ patternProperties:
>        required:
>          - compatible
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      serial@1234 {
> diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> index 3cbf2d28a188..80d99861fec5 100644
> --- a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> +++ b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> @@ -35,6 +35,8 @@ required:
>    - compatible
>    - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      bus@30000000 {
> diff --git a/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml b/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
> index 7a7f28469624..f50558ed914f 100644
> --- a/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
> +++ b/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
> @@ -75,6 +75,8 @@ required:
>    - reg
>    - resets
>  
> +additionalProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/gxbb-clkc.h>
> diff --git a/Documentation/devicetree/bindings/sound/cirrus,madera.yaml b/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
> index c4cd58b5acd4..23138ddcb62d 100644
> --- a/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
> +++ b/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
> @@ -111,3 +111,5 @@ properties:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
>      minItems: 2
>      maxItems: 2
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
> index 44ee9d844ae0..d77219727768 100644
> --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
> +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
> @@ -67,6 +67,9 @@ required:
>    - "#size-cells"
>    - ranges
>  
> +additionalProperties:
> +  type: object
> +
>  examples:
>    - |
>      #include<dt-bindings/clock/tegra210-car.h>
> diff --git a/Documentation/devicetree/bindings/sound/wlf,arizona.yaml b/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
> index 22d54be7900a..1627c0bb69be 100644
> --- a/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
> @@ -112,3 +112,5 @@ properties:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
>      minItems: 1
>      maxItems: 12
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml b/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
> index 330924b8618e..4aad121eff3f 100644
> --- a/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
> +++ b/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
> @@ -57,6 +57,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      soundwire@c2d0000 {
> diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml
> index c6a2f543648b..2b154803b181 100644
> --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml
> @@ -140,6 +140,8 @@ patternProperties:
>        - compatible
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      spi@f00 {
> diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
> index 0cfbf56ba825..173940930719 100644
> --- a/Documentation/devicetree/bindings/spmi/spmi.yaml
> +++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
> @@ -55,6 +55,8 @@ patternProperties:
>  required:
>    - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/spmi/spmi.h>
> diff --git a/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml b/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
> index ad4beaf02842..f004779ba9b3 100644
> --- a/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
> +++ b/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
> @@ -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>
> diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
> index 727d04550324..9f747921e851 100644
> --- a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
> +++ b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
> @@ -36,6 +36,8 @@ properties:
>        containing several internal sensors.
>      enum: [0, 1]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
> index 8eaf4b6c4735..f6819bf2a3b5 100644
> --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
> @@ -32,6 +32,8 @@ required:
>    - interrupts
>    - interrupt-names
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> index 7263b7f2b510..b545b087b342 100644
> --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> @@ -22,6 +22,8 @@ properties:
>      description:
>        Name specifier for the USB PHY
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      usb {
> diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> index 187bf6cb62bf..4e2c26cd981d 100644
> --- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> @@ -23,4 +23,6 @@ properties:
>      description:
>        Contains the watchdog timeout in seconds.
>  
> +additionalProperties: true
> +
>  ...
> 


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
                     ` (3 preceding siblings ...)
  2020-10-06  9:58   ` Jonathan Cameron
@ 2020-10-06 14:32   ` Guenter Roeck
  4 siblings, 0 replies; 37+ messages in thread
From: Guenter Roeck @ 2020-10-06 14:32 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On 10/5/20 11:38 AM, Rob Herring wrote:
> In cases where we don't reference another schema, 'additionalProperties'
> can be used instead. This is preferred for now as 'unevaluatedProperties'
> support isn't implemented yet.
> 
> In a few cases, this means adding some missing property definitions of
> which most are for SPI bus properties. 'unevaluatedProperties' is not going
> to work for the SPI bus properties anyways as they are evaluated from the
> parent node, not the SPI child node.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml  |  6 +++++-
>  .../devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml  |  2 +-
>  .../devicetree/bindings/clock/imx8m-clock.yaml         |  2 +-
>  .../devicetree/bindings/hwmon/baikal,bt1-pvt.yaml      |  4 ++--

For hwmon:

Acked-by: Guenter Roeck <linux@roeck-us.net>

>  .../devicetree/bindings/iio/accel/adi,adis16240.yaml   |  4 +++-
>  .../devicetree/bindings/iio/accel/adi,adxl345.yaml     |  4 +++-
>  .../devicetree/bindings/iio/accel/adi,adxl372.yaml     |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7124.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7192.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7292.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/adi,ad7606.yaml        |  6 +++++-
>  .../devicetree/bindings/iio/adc/adi,ad7923.yaml        |  4 +++-
>  .../devicetree/bindings/iio/adc/maxim,max1241.yaml     |  4 +++-
>  .../devicetree/bindings/iio/dac/adi,ad5770r.yaml       | 10 +++++++++-
>  .../devicetree/bindings/iio/frequency/adf4371.yaml     |  4 +++-
>  .../devicetree/bindings/iio/imu/adi,adis16460.yaml     |  4 +++-
>  .../devicetree/bindings/iio/imu/adi,adis16475.yaml     |  2 +-
>  .../devicetree/bindings/iio/imu/bosch,bmi160.yaml      |  4 +++-
>  .../devicetree/bindings/iio/imu/nxp,fxos8700.yaml      |  4 +++-
>  .../bindings/interrupt-controller/mti,gic.yaml         |  2 +-
>  .../devicetree/bindings/mfd/cirrus,lochnagar.yaml      | 10 +++++++++-
>  .../bindings/mfd/ti,j721e-system-controller.yaml       |  5 ++++-
>  .../devicetree/bindings/misc/olpc,xo1.75-ec.yaml       |  4 +++-
>  .../opp/allwinner,sun50i-h6-operating-points.yaml      |  4 +++-
>  .../bindings/regulator/qcom-labibb-regulator.yaml      |  2 +-
>  .../devicetree/bindings/timer/snps,dw-apb-timer.yaml   |  2 +-
>  26 files changed, 82 insertions(+), 27 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> index 2821425ee445..bd4cefbb1244 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> @@ -134,7 +134,11 @@ properties:
>    "#reset-cells":
>      const: 1
>  
> -unevaluatedProperties: false
> +  clocks: true
> +
> +  clock-names: true
> +
> +additionalProperties: false
>  
>  required:
>    - compatible
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
> index 97131bfa6f87..624984d51c10 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
> @@ -101,7 +101,7 @@ properties:
>    clock-names:
>      const: ref_clk
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> index 31e7cc9693c3..625f573a7b90 100644
> --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml
> @@ -96,7 +96,7 @@ allOf:
>              - const: clk_ext3
>              - const: clk_ext4
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    # Clock Control Module node:
> diff --git a/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml b/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
> index 84ae4cdd08ed..00a6511354e6 100644
> --- a/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
> @@ -79,7 +79,7 @@ properties:
>        minimum: 0
>        maximum: 7130
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> @@ -99,7 +99,7 @@ examples:
>  
>        interrupts = <GIC_SHARED 31 IRQ_TYPE_LEVEL_HIGH>;
>  
> -      baikal,pvt-temp-trim-millicelsius = <1000>;
> +      baikal,pvt-temp-offset-millicelsius = <1000>;
>  
>        clocks = <&ccu_sys>, <&ccu_sys>;
>        clock-names = "ref", "pclk";
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> index 8589b722028d..4fcbfd93e218 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> @@ -25,12 +25,14 @@ properties:
>    interrupts:
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> index 591ca32181b0..11d32a288535 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> @@ -32,6 +32,8 @@ properties:
>  
>    spi-cpol: true
>  
> +  spi-max-frequency: true
> +
>    interrupts:
>      maxItems: 1
>  
> @@ -40,7 +42,7 @@ required:
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> index 64f275c8e2d9..38b59b6454ce 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> @@ -25,12 +25,14 @@ properties:
>    interrupts:
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> index d0d2880626c2..f1c574c896cb 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> @@ -52,6 +52,8 @@ properties:
>    avdd-supply:
>      description: avdd supply can be used as reference for conversion.
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
> @@ -108,7 +110,7 @@ patternProperties:
>        - reg
>        - diff-channels
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> index ed363a796e50..e0cc3b2e8957 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> @@ -30,6 +30,8 @@ properties:
>  
>    spi-cpha: true
>  
> +  spi-max-frequency: true
> +
>    clocks:
>      maxItems: 1
>      description: phandle to the master clock (mclk)
> @@ -92,7 +94,7 @@ required:
>    - spi-cpol
>    - spi-cpha
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> index 55e973c6449c..108d202b288f 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> @@ -30,6 +30,8 @@ properties:
>  
>    spi-cpha: true
>  
> +  spi-max-frequency: true
> +
>    '#address-cells':
>      const: 1
>  
> @@ -63,7 +65,7 @@ patternProperties:
>      required:
>        - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> index 014b020ed0c2..73775174cf57 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> @@ -31,6 +31,10 @@ properties:
>  
>    spi-cpha: true
>  
> +  spi-cpol: true
> +
> +  spi-max-frequency: true
> +
>    avcc-supply: true
>  
>    interrupts:
> @@ -102,7 +106,7 @@ required:
>    - interrupts
>    - adi,conversion-start-gpios
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> index 2a17641faed5..e82194974eea 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> @@ -43,11 +43,13 @@ properties:
>    '#size-cells':
>      const: 0
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> index 181213b862db..4c7e0d94bff1 100644
> --- a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> @@ -39,13 +39,15 @@ properties:
>        thus enabling power-down mode.
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - vdd-supply
>    - vref-supply
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> index faef288b7148..fb2c48fc7ce4 100644
> --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> @@ -49,6 +49,14 @@ properties:
>        asserted during driver probe.
>      maxItems: 1
>  
> +  spi-max-frequency: true
> +
> +  '#address-cells':
> +    const: 1
> +
> +  '#size-cells':
> +    const: 0
> +
>    channel@0:
>      description: Represents an external channel which are
>        connected to the DAC. Channel 0 can act both as a current
> @@ -130,7 +138,7 @@ required:
>    - channel@4
>    - channel@5
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> index 11d445f7010e..6b3a611e1cf1 100644
> --- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> @@ -40,13 +40,15 @@ properties:
>        output stage will shut down until the ADF4371/ADF4372 achieves lock as
>        measured by the digital lock detect circuitry.
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>    - clocks
>    - clock-names
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> index 07c8ed4ee0f1..340be256f283 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> @@ -25,6 +25,8 @@ properties:
>  
>    spi-cpol: true
>  
> +  spi-max-frequency: true
> +
>    interrupts:
>      maxItems: 1
>  
> @@ -33,7 +35,7 @@ required:
>    - reg
>    - interrupts
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> index c29385697bbf..79fba1508e89 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> @@ -116,7 +116,7 @@ allOf:
>        dependencies:
>          adi,sync-mode: [ clocks ]
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> index 4f215399c8df..6e73cd889b5c 100644
> --- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> @@ -46,11 +46,13 @@ properties:
>    mount-matrix:
>      description: an optional 3x3 mounting rotation matrix
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> index 716731c2b794..479e7065d4eb 100644
> --- a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> @@ -36,11 +36,13 @@ properties:
>    drive-open-drain:
>      type: boolean
>  
> +  spi-max-frequency: true
> +
>  required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml b/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
> index ce6aaff15214..039e08af98bb 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
> @@ -95,7 +95,7 @@ properties:
>  
>      additionalProperties: false
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> diff --git a/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml b/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
> index 7a616577ac63..c00ad3e21c21 100644
> --- a/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
> +++ b/Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
> @@ -130,6 +130,14 @@ properties:
>      type: object
>      $ref: /schemas/pinctrl/cirrus,lochnagar.yaml#
>  
> +  lochnagar-hwmon:
> +    type: object
> +    $ref: /schemas/hwmon/cirrus,lochnagar.yaml#
> +
> +  lochnagar-sc:
> +    type: object
> +    $ref: /schemas/sound/cirrus,lochnagar.yaml#
> +
>    VDDCORE:
>      description:
>        Initialisation data for the VDDCORE regulator, which supplies the
> @@ -249,7 +257,7 @@ required:
>    - lochnagar-clk
>    - lochnagar-pinctrl
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
> index da3d9ab758b9..19fcf59fd2fe 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
> @@ -30,6 +30,9 @@ properties:
>        - const: syscon
>        - const: simple-mfd
>  
> +  reg:
> +    maxItems: 1
> +
>    "#address-cells":
>      const: 1
>  
> @@ -54,7 +57,7 @@ required:
>    - "#size-cells"
>    - ranges
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
> index e75d77beec6a..ade733cd60f7 100644
> --- a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
> +++ b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
> @@ -28,11 +28,13 @@ properties:
>      description: GPIO uspecifier of the CMD pin
>      maxItems: 1
>  
> +  spi-cpha: true
> +
>  required:
>    - compatible
>    - cmd-gpios
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml b/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
> index aef87a33a7c9..aeff2bd774dd 100644
> --- a/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
> +++ b/Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
> @@ -31,6 +31,8 @@ properties:
>        Documentation/devicetree/bindings/nvmem/nvmem.txt and also
>        examples below.
>  
> +  opp-shared: true
> +
>  required:
>    - compatible
>    - nvmem-cells
> @@ -53,7 +55,7 @@ patternProperties:
>  
>      unevaluatedProperties: false
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
> index fb111e2d5b99..53853ec20fe2 100644
> --- a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
> @@ -47,7 +47,7 @@ properties:
>  required:
>    - compatible
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
> index 7b39e3204fb3..2fc617377e2c 100644
> --- a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
> +++ b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
> @@ -45,7 +45,7 @@ properties:
>        frequency in HZ, but is defined only for the backwards compatibility
>        with the picoxcell platform.
>  
> -unevaluatedProperties: false
> +additionalProperties: false
>  
>  required:
>    - compatible
> 


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (5 preceding siblings ...)
  2020-10-06  9:12   ` Ulf Hansson
@ 2020-10-06 14:33   ` Guenter Roeck
  2020-10-06 16:57   ` Mathieu Poirier
                     ` (2 subsequent siblings)
  9 siblings, 0 replies; 37+ messages in thread
From: Guenter Roeck @ 2020-10-06 14:33 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Sebastian Reichel, linux-ide,
	Thierry Reding, Srinivas Kandagatla, Laurent Pinchart,
	Pavel Machek, Miquel Raynal, linux-riscv, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, linux-hwmon, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, Liam Girdwood, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On 10/5/20 11:38 AM, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
> 
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
> 
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/coresight-cti.yaml     | 2 ++
>  Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml    | 2 ++
>  Documentation/devicetree/bindings/ata/faraday,ftide010.yaml  | 2 ++
>  Documentation/devicetree/bindings/bus/renesas,bsc.yaml       | 2 ++
>  .../devicetree/bindings/display/panel/tpo,tpg110.yaml        | 2 ++
>  Documentation/devicetree/bindings/dma/ingenic,dma.yaml       | 2 ++
>  Documentation/devicetree/bindings/dma/st,stm32-dma.yaml      | 2 ++
>  Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml   | 2 ++
>  Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml     | 2 ++
>  Documentation/devicetree/bindings/dma/ti/k3-udma.yaml        | 2 ++
>  .../devicetree/bindings/i2c/amlogic,meson6-i2c.yaml          | 2 ++
>  Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml    | 2 ++
>  Documentation/devicetree/bindings/i2c/i2c-gpio.yaml          | 2 ++
>  Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml          | 2 ++
>  .../devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml     | 2 ++
>  .../devicetree/bindings/i2c/socionext,uniphier-i2c.yaml      | 2 ++
>  Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml      | 2 ++
>  .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml         | 2 ++
>  .../devicetree/bindings/iio/accel/adi,adis16240.yaml         | 2 ++
>  Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml   | 2 ++
>  Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml  | 2 ++
>  Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml  | 2 ++
>  .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml       | 2 ++
>  .../bindings/interrupt-controller/loongson,htpic.yaml        | 2 ++
>  .../bindings/interrupt-controller/loongson,liointc.yaml      | 2 ++
>  .../bindings/memory-controllers/renesas,rpc-if.yaml          | 2 ++
>  .../devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml        | 2 ++
>  Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/owl-mmc.yaml           | 2 ++
>  Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml  | 2 ++
>  Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml         | 2 ++
>  .../devicetree/bindings/mmc/socionext,uniphier-sd.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml  | 2 ++
>  Documentation/devicetree/bindings/mtd/denali,nand.yaml       | 2 ++
>  Documentation/devicetree/bindings/mtd/ingenic,nand.yaml      | 2 ++
>  .../devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml          | 2 ++
>  Documentation/devicetree/bindings/net/adi,adin.yaml          | 2 ++
>  .../devicetree/bindings/net/amlogic,meson-dwmac.yaml         | 2 ++
>  .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml         | 2 ++
>  Documentation/devicetree/bindings/net/marvell,mvusb.yaml     | 2 ++
>  .../devicetree/bindings/net/mediatek,star-emac.yaml          | 2 ++
>  Documentation/devicetree/bindings/net/nxp,tja11xx.yaml       | 2 ++
>  Documentation/devicetree/bindings/net/qca,ar71xx.yaml        | 2 ++
>  Documentation/devicetree/bindings/net/qca,ar803x.yaml        | 2 ++
>  Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 2 ++
>  Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml | 2 ++
>  Documentation/devicetree/bindings/net/renesas,ether.yaml     | 2 ++
>  Documentation/devicetree/bindings/net/stm32-dwmac.yaml       | 2 ++
>  Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml   | 2 ++
>  Documentation/devicetree/bindings/net/ti,dp83867.yaml        | 2 ++
>  Documentation/devicetree/bindings/net/ti,dp83869.yaml        | 2 ++
>  Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml       | 2 ++
>  Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml     | 2 ++
>  Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml  | 2 ++
>  Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml  | 2 ++
>  Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml  | 2 ++
>  Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml | 2 ++
>  .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml         | 2 ++
>  Documentation/devicetree/bindings/pci/host-generic-pci.yaml  | 2 ++
>  Documentation/devicetree/bindings/pci/loongson.yaml          | 2 ++
>  Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml   | 2 ++
>  Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml | 2 ++
>  Documentation/devicetree/bindings/pci/versatile.yaml         | 2 ++
>  Documentation/devicetree/bindings/power/pd-samsung.yaml      | 2 ++
>  .../devicetree/bindings/regulator/fixed-regulator.yaml       | 2 ++
>  .../bindings/regulator/google,cros-ec-regulator.yaml         | 2 ++
>  .../devicetree/bindings/regulator/gpio-regulator.yaml        | 2 ++
>  .../devicetree/bindings/regulator/st,stm32-booster.yaml      | 2 ++
>  .../devicetree/bindings/regulator/st,stm32-vrefbuf.yaml      | 2 ++
>  .../bindings/regulator/vqmmc-ipq4019-regulator.yaml          | 2 ++
>  Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml       | 2 ++
>  Documentation/devicetree/bindings/rtc/s3c-rtc.yaml           | 2 ++
>  Documentation/devicetree/bindings/serial/ingenic,uart.yaml   | 5 +++++
>  Documentation/devicetree/bindings/serial/renesas,hscif.yaml  | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,sci.yaml    | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scif.yaml   | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scifa.yaml  | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scifb.yaml  | 2 ++
>  .../devicetree/bindings/serial/snps-dw-apb-uart.yaml         | 2 ++
>  .../devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml      | 2 ++
>  .../devicetree/bindings/spi/amlogic,meson6-spifc.yaml        | 2 ++
>  .../devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml          | 2 ++
>  Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml    | 2 ++
>  .../devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml          | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,hspi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,rspi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml  | 2 ++
>  .../devicetree/bindings/spi/socionext,uniphier-spi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/spi-gpio.yaml          | 2 ++
>  Documentation/devicetree/bindings/spi/spi-mux.yaml           | 2 ++
>  Documentation/devicetree/bindings/spi/spi-pl022.yaml         | 2 ++
>  Documentation/devicetree/bindings/spi/spi-rockchip.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/spi-sifive.yaml        | 2 ++
>  Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml     | 2 ++
>  Documentation/devicetree/bindings/spi/st,stm32-spi.yaml      | 2 ++
>  .../devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 2 ++
>  Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml  | 2 ++
>  Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml     | 2 ++
>  Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml  | 2 ++
>  .../devicetree/bindings/watchdog/st,stm32-iwdg.yaml          | 2 ++
>  Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml   | 2 ++

For watchdog:

Acked-by: Guenter Roeck <linux@roeck-us.net>

Guenter

>  113 files changed, 229 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/coresight-cti.yaml b/Documentation/devicetree/bindings/arm/coresight-cti.yaml
> index e42ff69d8bfb..21e3515491f4 100644
> --- a/Documentation/devicetree/bindings/arm/coresight-cti.yaml
> +++ b/Documentation/devicetree/bindings/arm/coresight-cti.yaml
> @@ -220,6 +220,8 @@ then:
>    required:
>      - cpu
>  
> +unevaluatedProperties: false
> +
>  examples:
>    # minimum CTI definition. DEVID register used to set number of triggers.
>    - |
> diff --git a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
> index 9f276bc9efa0..8e711bd202fd 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
> @@ -50,6 +50,8 @@ required:
>    - '#size-cells'
>    - dma-ranges
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mlahb: ahb@38000000 {
> diff --git a/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml b/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
> index 6451928dd2ce..fa16f3767c6a 100644
> --- a/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
> +++ b/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
> @@ -64,6 +64,8 @@ allOf:
>        required:
>          - sata
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/bus/renesas,bsc.yaml b/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
> index 7d10b62a52d5..f53a37785413 100644
> --- a/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
> +++ b/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
> @@ -44,6 +44,8 @@ properties:
>  required:
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
> index a51660b73f28..6f1f02044b4b 100644
> --- a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
> @@ -72,6 +72,8 @@ required:
>    - spi-max-frequency
>    - port
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |+
>      spi {
> diff --git a/Documentation/devicetree/bindings/dma/ingenic,dma.yaml b/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
> index 92794c500589..00f19b3cac31 100644
> --- a/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
> +++ b/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
> @@ -62,6 +62,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
> index 71987878e4ae..2a5325f480f6 100644
> --- a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
> +++ b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
> @@ -81,6 +81,8 @@ required:
>    - clocks
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
> index 915bc4af9568..c8d2b51d8410 100644
> --- a/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
> +++ b/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
> @@ -33,6 +33,8 @@ required:
>    - reg
>    - dma-masters
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
> index c66543d0c267..c30be840be1c 100644
> --- a/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
> +++ b/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
> @@ -84,6 +84,8 @@ required:
>    - clocks
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
> index dd70ddab4fd1..9a87fd9041eb 100644
> --- a/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
> +++ b/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
> @@ -141,6 +141,8 @@ then:
>    required:
>      - ti,udma-atype
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |+
>      cbass_main {
> diff --git a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
> index 49cad273c8e5..6ecb0270d88d 100644
> --- a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
> @@ -36,6 +36,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      i2c@c8100500 {
> diff --git a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
> index dc0952f3780f..1ca1cd19bd1d 100644
> --- a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
> +++ b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
> @@ -44,6 +44,8 @@ required:
>    - clocks
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
> index 78ffcab2428c..cc3aa2a5e70b 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
> +++ b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
> @@ -70,4 +70,6 @@ required:
>    - sda-gpios
>    - scl-gpios
>  
> +unevaluatedProperties: false
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> index 790aa7218ee0..7f254d79558c 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> +++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> @@ -117,6 +117,8 @@ then:
>    required:
>      - rockchip,grf
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3188-cru-common.h>
> diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
> index 15abc022968e..c76131902b77 100644
> --- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
> @@ -37,6 +37,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      i2c0: i2c@58780000 {
> diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
> index ef998def554e..ddde08636ab0 100644
> --- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
> @@ -37,6 +37,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      i2c0: i2c@58400000 {
> diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
> index f2fcbb361180..d747f4990ad8 100644
> --- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
> @@ -94,6 +94,8 @@ required:
>    - resets
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/mfd/stm32f7-rcc.h>
> diff --git a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
> index 67c1c84ba3dc..ffb2ed039a5e 100644
> --- a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
> +++ b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
> @@ -36,6 +36,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      axi_iic_0: i2c@40800000 {
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> index 4147f02b5e3c..8589b722028d 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> @@ -30,6 +30,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> index fd4eaa3d0ab4..591ca32181b0 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> @@ -40,6 +40,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> index e7daffec88d3..64f275c8e2d9 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> @@ -30,6 +30,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>          #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> index deb34deff0e8..d0d2880626c2 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> @@ -108,6 +108,8 @@ patternProperties:
>        - reg
>        - diff-channels
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> index d0913034b1d8..ed363a796e50 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> @@ -92,6 +92,8 @@ required:
>    - spi-cpol
>    - spi-cpha
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> index e1f6d64bdccd..55e973c6449c 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> @@ -63,6 +63,8 @@ patternProperties:
>      required:
>        - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> index cbb8819d7069..014b020ed0c2 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> @@ -102,6 +102,8 @@ required:
>    - interrupts
>    - adi,conversion-start-gpios
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> index a11b918e0016..2a17641faed5 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> @@ -47,6 +47,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> index f562505f5ecd..181213b862db 100644
> --- a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> @@ -45,6 +45,8 @@ required:
>    - vdd-supply
>    - vref-supply
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> index 82424e06be27..faef288b7148 100644
> --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> @@ -130,6 +130,8 @@ required:
>    - channel@4
>    - channel@5
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>          spi {
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> index 7ec3ec94356b..11d445f7010e 100644
> --- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> @@ -46,6 +46,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> index 0c53009ba7d6..07c8ed4ee0f1 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> @@ -33,6 +33,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> index 208faaffa58d..c29385697bbf 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> @@ -116,6 +116,8 @@ allOf:
>        dependencies:
>          adi,sync-mode: [ clocks ]
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> index 33d8e9fd14b7..4f215399c8df 100644
> --- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> @@ -50,6 +50,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      // Example for I2C
> diff --git a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> index 63bcb73ae309..716731c2b794 100644
> --- a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> @@ -40,6 +40,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml b/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
> index 5b37be0be4e9..378a85c09d34 100644
> --- a/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
> +++ b/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
> @@ -48,6 +48,8 @@ required:
>    - vdd-supply
>    - linux,keycodes
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      // Example with interrupts
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
> index c8861cbbb8b5..d1d52d1db2be 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
> @@ -41,6 +41,8 @@ required:
>    - interrupt-controller
>    - '#interrupt-cells'
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> index 03fc4f5b4b39..f38e0113f360 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> @@ -67,6 +67,8 @@ required:
>    - 'loongson,parent_int_map'
>  
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      iointc: interrupt-controller@3ff01400 {
> diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
> index 7bfe120e14c3..6d6ba608fd22 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
> +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
> @@ -61,6 +61,8 @@ patternProperties:
>            - cfi-flash
>            - jedec,spi-nor
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/renesas-cpg-mssr.h>
> diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml b/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
> index 0cd74c3116f8..60955acb8e57 100644
> --- a/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
> @@ -50,6 +50,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> index d93f7794a85f..af7442f73881 100644
> --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> @@ -117,6 +117,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      emmc: mmc@5a000000 {
> diff --git a/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml b/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
> index 9b63df1c22fb..04ba8b7fc054 100644
> --- a/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
> @@ -56,6 +56,8 @@ required:
>    - dmas
>    - dma-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
> index 1380501fb8f0..5cee3a82a712 100644
> --- a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
> @@ -43,6 +43,8 @@ required:
>    - dmas
>    - dma-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mmc0: mmc@e0330000 {
> diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> index 01316185e771..3762f1c8de96 100644
> --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> @@ -102,6 +102,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3288-cru.h>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> index a58715c860b7..aa12480648a5 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> @@ -73,6 +73,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/berlin2.h>
> diff --git a/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml b/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
> index 8d6413f48823..56f9ff12742d 100644
> --- a/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
> +++ b/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
> @@ -77,6 +77,8 @@ required:
>    - reset-names
>    - resets
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      sd: mmc@5a400000 {
> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
> index dd2c1b147142..240abb6f102c 100644
> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
> @@ -42,6 +42,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mmc@12200000 {
> diff --git a/Documentation/devicetree/bindings/mtd/denali,nand.yaml b/Documentation/devicetree/bindings/mtd/denali,nand.yaml
> index c07b91592cbd..1307ed7e7fc6 100644
> --- a/Documentation/devicetree/bindings/mtd/denali,nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/denali,nand.yaml
> @@ -128,6 +128,8 @@ required:
>    - clock-names
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      nand-controller@ff900000 {
> diff --git a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
> index 8abb6d463cb6..89aa3ceda592 100644
> --- a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
> @@ -51,6 +51,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
> index 28a08ff407db..29c5ef24ac6a 100644
> --- a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
> @@ -94,6 +94,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml
> index d95cc691a65f..1129f2b58e98 100644
> --- a/Documentation/devicetree/bindings/net/adi,adin.yaml
> +++ b/Documentation/devicetree/bindings/net/adi,adin.yaml
> @@ -36,6 +36,8 @@ properties:
>      enum: [ 4, 8, 12, 16, 20, 24 ]
>      default: 8
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      ethernet {
> diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
> index 85fefe3a0444..6b057b117aa0 100644
> --- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
> @@ -120,6 +120,8 @@ required:
>    - clock-names
>    - phy-mode
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      ethmac: ethernet@c9410000 {
> diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
> index 71808e78a495..1c88820cbcdf 100644
> --- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
> @@ -30,6 +30,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mdio0: mdio@1e650000 {
> diff --git a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
> index 68573762294b..8e288ab38fd7 100644
> --- a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
> +++ b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
> @@ -35,6 +35,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      /* USB host controller */
> diff --git a/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml b/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
> index aea88e621792..0bbd598704e9 100644
> --- a/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
> +++ b/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
> @@ -61,6 +61,8 @@ required:
>    - mediatek,pericfg
>    - phy-handle
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml b/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
> index 42be0255512b..d51da24f3505 100644
> --- a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
> +++ b/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
> @@ -34,6 +34,8 @@ patternProperties:
>      required:
>        - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mdio {
> diff --git a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> index f99a5aabe923..f0db22645d73 100644
> --- a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> +++ b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> @@ -72,6 +72,8 @@ required:
>    - resets
>    - reset-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    # Lager board
>    - |
> diff --git a/Documentation/devicetree/bindings/net/qca,ar803x.yaml b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
> index 1788884b8c28..64b3357ade8a 100644
> --- a/Documentation/devicetree/bindings/net/qca,ar803x.yaml
> +++ b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
> @@ -59,6 +59,8 @@ properties:
>        regulator to VDDIO.
>      $ref: /schemas/regulator/regulator.yaml
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/net/qca-ar803x.h>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
> index 13555a89975f..0c973310ada0 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
> @@ -31,6 +31,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mdio@90000 {
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
> index 67df3fe861ee..948677ade6d1 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
> @@ -33,6 +33,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
> diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> index 08678af5ed93..32281fd1b96d 100644
> --- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
> +++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> @@ -85,6 +85,8 @@ required:
>    - clocks
>    - pinctrl-0
>  
> +unevaluatedProperties: false
> +
>  examples:
>    # Lager board
>    - |
> diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> index e5dff66df481..27eb6066793f 100644
> --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> @@ -88,6 +88,8 @@ required:
>    - clock-names
>    - st,syscon
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml b/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
> index d454c1fab930..5728fe23f530 100644
> --- a/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
> @@ -58,6 +58,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      davinci_mdio: mdio@4a101000 {
> diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> index c6716ac6cbcc..4050a3608658 100644
> --- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> @@ -109,6 +109,8 @@ properties:
>  required:
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/net/ti-dp83867.h>
> diff --git a/Documentation/devicetree/bindings/net/ti,dp83869.yaml b/Documentation/devicetree/bindings/net/ti,dp83869.yaml
> index cf40b469c719..c3235f08e326 100644
> --- a/Documentation/devicetree/bindings/net/ti,dp83869.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,dp83869.yaml
> @@ -79,6 +79,8 @@ properties:
>  required:
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/net/ti-dp83869.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> index 5a7284737229..8a43dc1283fe 100644
> --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> @@ -76,6 +76,8 @@ patternProperties:
>  
>      additionalProperties: false
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/imx6sx-clock.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> index 59aca6d22ff9..1a18b6bab35e 100644
> --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> @@ -49,6 +49,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-sc7180.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml b/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
> index 7bbd4e62044e..a835e64bc6f5 100644
> --- a/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
> @@ -66,6 +66,8 @@ patternProperties:
>  
>      additionalProperties: false
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>        sdam_1: nvram@b000 {
> diff --git a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
> index 3ae00b0b23bc..104dd508565e 100644
> --- a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
> @@ -51,6 +51,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3288-cru.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
> index c11c99f085d7..0b80ce22a2f8 100644
> --- a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
> @@ -42,6 +42,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      efuse@1fff7800 {
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> index 50ce5d79d2c7..651eee88989d 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> @@ -29,6 +29,8 @@ required:
>    - reg
>    - reg-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      bus {
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> index 6d67067843bf..293b8ec318bc 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> @@ -31,6 +31,8 @@ required:
>    - reg
>    - reg-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      bus {
> diff --git a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
> index 47353d0cd394..6bcaa8f2c3cf 100644
> --- a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
> +++ b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
> @@ -137,6 +137,8 @@ allOf:
>          reg:
>            maxItems: 1
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>  
> diff --git a/Documentation/devicetree/bindings/pci/loongson.yaml b/Documentation/devicetree/bindings/pci/loongson.yaml
> index 30e7cf1aeb87..81bae060cbde 100644
> --- a/Documentation/devicetree/bindings/pci/loongson.yaml
> +++ b/Documentation/devicetree/bindings/pci/loongson.yaml
> @@ -39,6 +39,8 @@ required:
>    - reg
>    - ranges
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>  
> diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
> index b3c3d0c3c390..3ae3e1a2d4b0 100644
> --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
> @@ -63,6 +63,8 @@ required:
>    - phys
>    - phy-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/soc/ti,sci_pm_domain.h>
> diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
> index 8200ba00bc09..ee7a8eade3f6 100644
> --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
> @@ -72,6 +72,8 @@ required:
>    - phys
>    - phy-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/soc/ti,sci_pm_domain.h>
> diff --git a/Documentation/devicetree/bindings/pci/versatile.yaml b/Documentation/devicetree/bindings/pci/versatile.yaml
> index 07a48c27db1f..09748ef6b94f 100644
> --- a/Documentation/devicetree/bindings/pci/versatile.yaml
> +++ b/Documentation/devicetree/bindings/pci/versatile.yaml
> @@ -48,6 +48,8 @@ required:
>    - interrupt-map
>    - interrupt-map-mask
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      pci@10001000 {
> diff --git a/Documentation/devicetree/bindings/power/pd-samsung.yaml b/Documentation/devicetree/bindings/power/pd-samsung.yaml
> index 09bdd96c1ec1..9c2c51133457 100644
> --- a/Documentation/devicetree/bindings/power/pd-samsung.yaml
> +++ b/Documentation/devicetree/bindings/power/pd-samsung.yaml
> @@ -49,6 +49,8 @@ required:
>    - "#power-domain-cells"
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      lcd0_pd: power-domain@10023c80 {
> diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
> index 3dbb9cf86f15..92211f2b3b0c 100644
> --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
> @@ -73,6 +73,8 @@ required:
>    - compatible
>    - regulator-name
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      reg_1v8: regulator-1v8 {
> diff --git a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
> index c9453d7ce227..69e5402da761 100644
> --- a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
> @@ -28,6 +28,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
> index 605590384b48..f7e3d8fd3bf3 100644
> --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
> @@ -91,6 +91,8 @@ required:
>    - gpios
>    - states
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      gpio-regulator {
> diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml b/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
> index cb336b2c16af..9f1c70381b82 100644
> --- a/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
> +++ b/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
> @@ -34,6 +34,8 @@ required:
>    - st,syscfg
>    - vdda-supply
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      regulator-booster {
> diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml b/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
> index 33cdaeb25aee..3cd4a254e4cb 100644
> --- a/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
> +++ b/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
> @@ -36,6 +36,8 @@ required:
>    - clocks
>    - vdda-supply
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/stm32mp1-clks.h>
> diff --git a/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml b/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
> index d1a79d2ffa1e..6f45582c914e 100644
> --- a/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
> @@ -28,6 +28,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      regulator@1948000 {
> diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> index bc2c7e53a28e..60e93e86ad9d 100644
> --- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> @@ -68,6 +68,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4740-cgu.h>
> diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> index 76bbf8b7555b..d51b236939bf 100644
> --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> @@ -74,6 +74,8 @@ allOf:
>            items:
>              - const: rtc
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/exynos5420.h>
> diff --git a/Documentation/devicetree/bindings/serial/ingenic,uart.yaml b/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
> index dc8349322c83..559213899d73 100644
> --- a/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
> @@ -9,6 +9,9 @@ title: Ingenic SoCs UART controller devicetree bindings
>  maintainers:
>    - Paul Cercueil <paul@crapouillou.net>
>  
> +allOf:
> +  - $ref: /schemas/serial.yaml#
> +
>  properties:
>    $nodename:
>      pattern: "^serial@[0-9a-f]+$"
> @@ -64,6 +67,8 @@ required:
>    - dmas
>    - dma-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> index 6b04c0451d41..2f30dc79b444 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> @@ -100,6 +100,8 @@ required:
>    - clock-names
>    - power-domains
>  
> +unevaluatedProperties: false
> +
>  if:
>    properties:
>      compatible:
> diff --git a/Documentation/devicetree/bindings/serial/renesas,sci.yaml b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> index 4183b7311f37..22ed2f0b1dc3 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> @@ -54,6 +54,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      aliases {
> diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> index 570b379f9f19..45042bf20b36 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> @@ -149,6 +149,8 @@ then:
>    required:
>      - resets
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
> diff --git a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
> index 78b8e20dd34d..dbffb9534835 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
> @@ -75,6 +75,8 @@ required:
>    - clock-names
>    - power-domains
>  
> +unevaluatedProperties: false
> +
>  if:
>    properties:
>      compatible:
> diff --git a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
> index b083970c16a9..147f8a37e02a 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
> @@ -75,6 +75,8 @@ required:
>    - clock-names
>    - power-domains
>  
> +unevaluatedProperties: false
> +
>  if:
>    properties:
>      compatible:
> diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> index b962f8db4ce9..87ef1e218152 100644
> --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> @@ -101,6 +101,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      serial@80230000 {
> diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
> index 38efb50081e3..667dedefd69f 100644
> --- a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
> +++ b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
> @@ -77,6 +77,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi@c1108d80 {
> diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
> index 5f33c39d820b..54b6f15eca18 100644
> --- a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
> +++ b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
> @@ -35,6 +35,8 @@ required:
>    - reg
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi@c1108c80 {
> diff --git a/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml b/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
> index e0c55dd235d8..3fd0a8adfe9a 100644
> --- a/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
> @@ -24,6 +24,8 @@ required:
>    - compatible
>    - reg
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi: spi@1f000000 {
> diff --git a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
> index 2aa766759d59..7b19f2c1cb59 100644
> --- a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
> @@ -29,6 +29,8 @@ required:
>    - '#address-cells'
>    - '#size-cells'
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/ath79-clk.h>
> diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
> index 0178831b0662..ef5698f426b2 100644
> --- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
> @@ -56,6 +56,8 @@ required:
>    - clock-names
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-sdm845.h>
> diff --git a/Documentation/devicetree/bindings/spi/renesas,hspi.yaml b/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
> index f492cb9fea12..c0eccf703039 100644
> --- a/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
> @@ -40,6 +40,8 @@ required:
>    - '#address-cells'
>    - '#size-cells'
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7778-clock.h>
> diff --git a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
> index c54ac059043f..b56d76ec0364 100644
> --- a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
> @@ -123,6 +123,8 @@ allOf:
>        required:
>          - resets
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
> diff --git a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
> index 9f7b118adcaf..e8afd26bbeb2 100644
> --- a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
> +++ b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
> @@ -140,6 +140,8 @@ required:
>    - '#address-cells'
>    - '#size-cells'
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7791-clock.h>
> diff --git a/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml b/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
> index c25409298bdf..597fc4e6b01c 100644
> --- a/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
> @@ -44,6 +44,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0: spi@54006000 {
> diff --git a/Documentation/devicetree/bindings/spi/spi-gpio.yaml b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
> index 55c4f1705f07..0d0b6d9dad1c 100644
> --- a/Documentation/devicetree/bindings/spi/spi-gpio.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
> @@ -53,6 +53,8 @@ required:
>    - num-chipselects
>    - sck-gpios
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/spi/spi-mux.yaml b/Documentation/devicetree/bindings/spi/spi-mux.yaml
> index 3d3fed63409b..6c21a132b51f 100644
> --- a/Documentation/devicetree/bindings/spi/spi-mux.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-mux.yaml
> @@ -48,6 +48,8 @@ required:
>    - spi-max-frequency
>    - mux-controls
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
> index 22999024477f..a91d868e40c5 100644
> --- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
> @@ -128,6 +128,8 @@ required:
>    - reg
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi@e0100000 {
> diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
> index 74dc6185eced..1e6cf29e6388 100644
> --- a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
> @@ -85,6 +85,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3188-cru-common.h>
> diff --git a/Documentation/devicetree/bindings/spi/spi-sifive.yaml b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
> index 4932205d1cba..56dcf1d35da4 100644
> --- a/Documentation/devicetree/bindings/spi/spi-sifive.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
> @@ -66,6 +66,8 @@ required:
>    - interrupts
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi: spi@10040000 {
> diff --git a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
> index 1a342ce1f798..983c4e54c0be 100644
> --- a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
> @@ -53,6 +53,8 @@ required:
>    - clocks
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
> index e49ecbf715ba..d11806b1ede3 100644
> --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
> @@ -76,6 +76,8 @@ required:
>    - clocks
>    - interrupts
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> index 4ddae6feef3b..c7459cf70e30 100644
> --- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> @@ -31,6 +31,8 @@ required:
>    - reg
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog@98d0 {
> diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> index 8e4c7c69bc1c..e3a1d79574e2 100644
> --- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> @@ -25,6 +25,8 @@ properties:
>  required:
>    - compatible
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog {
> diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> index 0709ddf0b6a5..8e3760a3822b 100644
> --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> @@ -38,6 +38,8 @@ required:
>    - reg
>    - clocks
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog@208a038 {
> diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
> index 2fa40d8864b2..76cb9586ee00 100644
> --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
> @@ -62,6 +62,8 @@ allOf:
>        required:
>          - samsung,syscon-phandle
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog@101d0000 {
> diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
> index a27c504e2e4f..3f1ba1d6c6b5 100644
> --- a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
> @@ -43,6 +43,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/stm32mp1-clks.h>
> diff --git a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
> index f0452791c598..c1348db59374 100644
> --- a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
> @@ -46,6 +46,8 @@ required:
>    - clocks
>    - power-domains
>  
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      /*
> 


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (6 preceding siblings ...)
  2020-10-06 14:33   ` Guenter Roeck
@ 2020-10-06 16:57   ` Mathieu Poirier
  2020-10-07  1:03   ` Dmitry Torokhov
  2020-10-07 22:48   ` Alexandre Belloni
  9 siblings, 0 replies; 37+ messages in thread
From: Mathieu Poirier @ 2020-10-06 16:57 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Stephen Boyd, Greg Kroah-Hartman, Dmitry Torokhov, linux-mmc,
	Linux Kernel Mailing List, linux-spi, linux-i2c, Vinod Koul,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, 5 Oct 2020 at 12:38, Rob Herring <robh@kernel.org> wrote:
>
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
>
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
>
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/coresight-cti.yaml     | 2 ++

For CoreSight:

Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>

>  Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml    | 2 ++
>  Documentation/devicetree/bindings/ata/faraday,ftide010.yaml  | 2 ++
>  Documentation/devicetree/bindings/bus/renesas,bsc.yaml       | 2 ++
>  .../devicetree/bindings/display/panel/tpo,tpg110.yaml        | 2 ++
>  Documentation/devicetree/bindings/dma/ingenic,dma.yaml       | 2 ++
>  Documentation/devicetree/bindings/dma/st,stm32-dma.yaml      | 2 ++
>  Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml   | 2 ++
>  Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml     | 2 ++
>  Documentation/devicetree/bindings/dma/ti/k3-udma.yaml        | 2 ++
>  .../devicetree/bindings/i2c/amlogic,meson6-i2c.yaml          | 2 ++
>  Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml    | 2 ++
>  Documentation/devicetree/bindings/i2c/i2c-gpio.yaml          | 2 ++
>  Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml          | 2 ++
>  .../devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml     | 2 ++
>  .../devicetree/bindings/i2c/socionext,uniphier-i2c.yaml      | 2 ++
>  Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml      | 2 ++
>  .../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml         | 2 ++
>  .../devicetree/bindings/iio/accel/adi,adis16240.yaml         | 2 ++
>  Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml    | 2 ++
>  Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml   | 2 ++
>  Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml | 2 ++
>  Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml  | 2 ++
>  Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml  | 2 ++
>  .../devicetree/bindings/input/fsl,mpr121-touchkey.yaml       | 2 ++
>  .../bindings/interrupt-controller/loongson,htpic.yaml        | 2 ++
>  .../bindings/interrupt-controller/loongson,liointc.yaml      | 2 ++
>  .../bindings/memory-controllers/renesas,rpc-if.yaml          | 2 ++
>  .../devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml        | 2 ++
>  Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/owl-mmc.yaml           | 2 ++
>  Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml  | 2 ++
>  Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml         | 2 ++
>  .../devicetree/bindings/mmc/socionext,uniphier-sd.yaml       | 2 ++
>  Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml  | 2 ++
>  Documentation/devicetree/bindings/mtd/denali,nand.yaml       | 2 ++
>  Documentation/devicetree/bindings/mtd/ingenic,nand.yaml      | 2 ++
>  .../devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml          | 2 ++
>  Documentation/devicetree/bindings/net/adi,adin.yaml          | 2 ++
>  .../devicetree/bindings/net/amlogic,meson-dwmac.yaml         | 2 ++
>  .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml         | 2 ++
>  Documentation/devicetree/bindings/net/marvell,mvusb.yaml     | 2 ++
>  .../devicetree/bindings/net/mediatek,star-emac.yaml          | 2 ++
>  Documentation/devicetree/bindings/net/nxp,tja11xx.yaml       | 2 ++
>  Documentation/devicetree/bindings/net/qca,ar71xx.yaml        | 2 ++
>  Documentation/devicetree/bindings/net/qca,ar803x.yaml        | 2 ++
>  Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 2 ++
>  Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml | 2 ++
>  Documentation/devicetree/bindings/net/renesas,ether.yaml     | 2 ++
>  Documentation/devicetree/bindings/net/stm32-dwmac.yaml       | 2 ++
>  Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml   | 2 ++
>  Documentation/devicetree/bindings/net/ti,dp83867.yaml        | 2 ++
>  Documentation/devicetree/bindings/net/ti,dp83869.yaml        | 2 ++
>  Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml       | 2 ++
>  Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml     | 2 ++
>  Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml  | 2 ++
>  Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml  | 2 ++
>  Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml  | 2 ++
>  Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml | 2 ++
>  .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml         | 2 ++
>  Documentation/devicetree/bindings/pci/host-generic-pci.yaml  | 2 ++
>  Documentation/devicetree/bindings/pci/loongson.yaml          | 2 ++
>  Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml   | 2 ++
>  Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml | 2 ++
>  Documentation/devicetree/bindings/pci/versatile.yaml         | 2 ++
>  Documentation/devicetree/bindings/power/pd-samsung.yaml      | 2 ++
>  .../devicetree/bindings/regulator/fixed-regulator.yaml       | 2 ++
>  .../bindings/regulator/google,cros-ec-regulator.yaml         | 2 ++
>  .../devicetree/bindings/regulator/gpio-regulator.yaml        | 2 ++
>  .../devicetree/bindings/regulator/st,stm32-booster.yaml      | 2 ++
>  .../devicetree/bindings/regulator/st,stm32-vrefbuf.yaml      | 2 ++
>  .../bindings/regulator/vqmmc-ipq4019-regulator.yaml          | 2 ++
>  Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml       | 2 ++
>  Documentation/devicetree/bindings/rtc/s3c-rtc.yaml           | 2 ++
>  Documentation/devicetree/bindings/serial/ingenic,uart.yaml   | 5 +++++
>  Documentation/devicetree/bindings/serial/renesas,hscif.yaml  | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,sci.yaml    | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scif.yaml   | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scifa.yaml  | 2 ++
>  Documentation/devicetree/bindings/serial/renesas,scifb.yaml  | 2 ++
>  .../devicetree/bindings/serial/snps-dw-apb-uart.yaml         | 2 ++
>  .../devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml      | 2 ++
>  .../devicetree/bindings/spi/amlogic,meson6-spifc.yaml        | 2 ++
>  .../devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml          | 2 ++
>  Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml    | 2 ++
>  .../devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml          | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,hspi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,rspi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml  | 2 ++
>  .../devicetree/bindings/spi/socionext,uniphier-spi.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/spi-gpio.yaml          | 2 ++
>  Documentation/devicetree/bindings/spi/spi-mux.yaml           | 2 ++
>  Documentation/devicetree/bindings/spi/spi-pl022.yaml         | 2 ++
>  Documentation/devicetree/bindings/spi/spi-rockchip.yaml      | 2 ++
>  Documentation/devicetree/bindings/spi/spi-sifive.yaml        | 2 ++
>  Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml     | 2 ++
>  Documentation/devicetree/bindings/spi/st,stm32-spi.yaml      | 2 ++
>  .../devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 2 ++
>  Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml  | 2 ++
>  Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml     | 2 ++
>  Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml  | 2 ++
>  .../devicetree/bindings/watchdog/st,stm32-iwdg.yaml          | 2 ++
>  Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml   | 2 ++
>  113 files changed, 229 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/coresight-cti.yaml b/Documentation/devicetree/bindings/arm/coresight-cti.yaml
> index e42ff69d8bfb..21e3515491f4 100644
> --- a/Documentation/devicetree/bindings/arm/coresight-cti.yaml
> +++ b/Documentation/devicetree/bindings/arm/coresight-cti.yaml
> @@ -220,6 +220,8 @@ then:
>    required:
>      - cpu
>
> +unevaluatedProperties: false
> +
>  examples:
>    # minimum CTI definition. DEVID register used to set number of triggers.
>    - |
> diff --git a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
> index 9f276bc9efa0..8e711bd202fd 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/st,mlahb.yaml
> @@ -50,6 +50,8 @@ required:
>    - '#size-cells'
>    - dma-ranges
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mlahb: ahb@38000000 {
> diff --git a/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml b/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
> index 6451928dd2ce..fa16f3767c6a 100644
> --- a/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
> +++ b/Documentation/devicetree/bindings/ata/faraday,ftide010.yaml
> @@ -64,6 +64,8 @@ allOf:
>        required:
>          - sata
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/bus/renesas,bsc.yaml b/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
> index 7d10b62a52d5..f53a37785413 100644
> --- a/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
> +++ b/Documentation/devicetree/bindings/bus/renesas,bsc.yaml
> @@ -44,6 +44,8 @@ properties:
>  required:
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
> index a51660b73f28..6f1f02044b4b 100644
> --- a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
> @@ -72,6 +72,8 @@ required:
>    - spi-max-frequency
>    - port
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |+
>      spi {
> diff --git a/Documentation/devicetree/bindings/dma/ingenic,dma.yaml b/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
> index 92794c500589..00f19b3cac31 100644
> --- a/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
> +++ b/Documentation/devicetree/bindings/dma/ingenic,dma.yaml
> @@ -62,6 +62,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
> index 71987878e4ae..2a5325f480f6 100644
> --- a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
> +++ b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
> @@ -81,6 +81,8 @@ required:
>    - clocks
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
> index 915bc4af9568..c8d2b51d8410 100644
> --- a/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
> +++ b/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
> @@ -33,6 +33,8 @@ required:
>    - reg
>    - dma-masters
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
> index c66543d0c267..c30be840be1c 100644
> --- a/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
> +++ b/Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
> @@ -84,6 +84,8 @@ required:
>    - clocks
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml b/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
> index dd70ddab4fd1..9a87fd9041eb 100644
> --- a/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
> +++ b/Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
> @@ -141,6 +141,8 @@ then:
>    required:
>      - ti,udma-atype
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |+
>      cbass_main {
> diff --git a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
> index 49cad273c8e5..6ecb0270d88d 100644
> --- a/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml
> @@ -36,6 +36,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      i2c@c8100500 {
> diff --git a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
> index dc0952f3780f..1ca1cd19bd1d 100644
> --- a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
> +++ b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
> @@ -44,6 +44,8 @@ required:
>    - clocks
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
> index 78ffcab2428c..cc3aa2a5e70b 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
> +++ b/Documentation/devicetree/bindings/i2c/i2c-gpio.yaml
> @@ -70,4 +70,6 @@ required:
>    - sda-gpios
>    - scl-gpios
>
> +unevaluatedProperties: false
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> index 790aa7218ee0..7f254d79558c 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> +++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> @@ -117,6 +117,8 @@ then:
>    required:
>      - rockchip,grf
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3188-cru-common.h>
> diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
> index 15abc022968e..c76131902b77 100644
> --- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
> @@ -37,6 +37,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      i2c0: i2c@58780000 {
> diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
> index ef998def554e..ddde08636ab0 100644
> --- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
> @@ -37,6 +37,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      i2c0: i2c@58400000 {
> diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
> index f2fcbb361180..d747f4990ad8 100644
> --- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
> @@ -94,6 +94,8 @@ required:
>    - resets
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/mfd/stm32f7-rcc.h>
> diff --git a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
> index 67c1c84ba3dc..ffb2ed039a5e 100644
> --- a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
> +++ b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
> @@ -36,6 +36,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      axi_iic_0: i2c@40800000 {
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> index 4147f02b5e3c..8589b722028d 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
> @@ -30,6 +30,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> index fd4eaa3d0ab4..591ca32181b0 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> @@ -40,6 +40,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> index e7daffec88d3..64f275c8e2d9 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
> @@ -30,6 +30,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>          #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> index deb34deff0e8..d0d2880626c2 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> @@ -108,6 +108,8 @@ patternProperties:
>        - reg
>        - diff-channels
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> index d0913034b1d8..ed363a796e50 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> @@ -92,6 +92,8 @@ required:
>    - spi-cpol
>    - spi-cpha
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> index e1f6d64bdccd..55e973c6449c 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
> @@ -63,6 +63,8 @@ patternProperties:
>      required:
>        - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> index cbb8819d7069..014b020ed0c2 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
> @@ -102,6 +102,8 @@ required:
>    - interrupts
>    - adi,conversion-start-gpios
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> index a11b918e0016..2a17641faed5 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
> @@ -47,6 +47,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> index f562505f5ecd..181213b862db 100644
> --- a/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
> @@ -45,6 +45,8 @@ required:
>    - vdd-supply
>    - vref-supply
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> index 82424e06be27..faef288b7148 100644
> --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
> @@ -130,6 +130,8 @@ required:
>    - channel@4
>    - channel@5
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>          spi {
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> index 7ec3ec94356b..11d445f7010e 100644
> --- a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> @@ -46,6 +46,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> index 0c53009ba7d6..07c8ed4ee0f1 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
> @@ -33,6 +33,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> index 208faaffa58d..c29385697bbf 100644
> --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
> @@ -116,6 +116,8 @@ allOf:
>        dependencies:
>          adi,sync-mode: [ clocks ]
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> index 33d8e9fd14b7..4f215399c8df 100644
> --- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
> @@ -50,6 +50,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      // Example for I2C
> diff --git a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> index 63bcb73ae309..716731c2b794 100644
> --- a/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> +++ b/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
> @@ -40,6 +40,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml b/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
> index 5b37be0be4e9..378a85c09d34 100644
> --- a/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
> +++ b/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
> @@ -48,6 +48,8 @@ required:
>    - vdd-supply
>    - linux,keycodes
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      // Example with interrupts
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
> index c8861cbbb8b5..d1d52d1db2be 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml
> @@ -41,6 +41,8 @@ required:
>    - interrupt-controller
>    - '#interrupt-cells'
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> index 03fc4f5b4b39..f38e0113f360 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> @@ -67,6 +67,8 @@ required:
>    - 'loongson,parent_int_map'
>
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      iointc: interrupt-controller@3ff01400 {
> diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
> index 7bfe120e14c3..6d6ba608fd22 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
> +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
> @@ -61,6 +61,8 @@ patternProperties:
>            - cfi-flash
>            - jedec,spi-nor
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/renesas-cpg-mssr.h>
> diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml b/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
> index 0cd74c3116f8..60955acb8e57 100644
> --- a/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml
> @@ -50,6 +50,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> index d93f7794a85f..af7442f73881 100644
> --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> @@ -117,6 +117,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      emmc: mmc@5a000000 {
> diff --git a/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml b/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
> index 9b63df1c22fb..04ba8b7fc054 100644
> --- a/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
> @@ -56,6 +56,8 @@ required:
>    - dmas
>    - dma-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
> index 1380501fb8f0..5cee3a82a712 100644
> --- a/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/owl-mmc.yaml
> @@ -43,6 +43,8 @@ required:
>    - dmas
>    - dma-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mmc0: mmc@e0330000 {
> diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> index 01316185e771..3762f1c8de96 100644
> --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> @@ -102,6 +102,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3288-cru.h>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> index a58715c860b7..aa12480648a5 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> @@ -73,6 +73,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/berlin2.h>
> diff --git a/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml b/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
> index 8d6413f48823..56f9ff12742d 100644
> --- a/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
> +++ b/Documentation/devicetree/bindings/mmc/socionext,uniphier-sd.yaml
> @@ -77,6 +77,8 @@ required:
>    - reset-names
>    - resets
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      sd: mmc@5a400000 {
> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
> index dd2c1b147142..240abb6f102c 100644
> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
> @@ -42,6 +42,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mmc@12200000 {
> diff --git a/Documentation/devicetree/bindings/mtd/denali,nand.yaml b/Documentation/devicetree/bindings/mtd/denali,nand.yaml
> index c07b91592cbd..1307ed7e7fc6 100644
> --- a/Documentation/devicetree/bindings/mtd/denali,nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/denali,nand.yaml
> @@ -128,6 +128,8 @@ required:
>    - clock-names
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      nand-controller@ff900000 {
> diff --git a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
> index 8abb6d463cb6..89aa3ceda592 100644
> --- a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
> @@ -51,6 +51,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
> index 28a08ff407db..29c5ef24ac6a 100644
> --- a/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml
> @@ -94,6 +94,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml
> index d95cc691a65f..1129f2b58e98 100644
> --- a/Documentation/devicetree/bindings/net/adi,adin.yaml
> +++ b/Documentation/devicetree/bindings/net/adi,adin.yaml
> @@ -36,6 +36,8 @@ properties:
>      enum: [ 4, 8, 12, 16, 20, 24 ]
>      default: 8
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      ethernet {
> diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
> index 85fefe3a0444..6b057b117aa0 100644
> --- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
> @@ -120,6 +120,8 @@ required:
>    - clock-names
>    - phy-mode
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      ethmac: ethernet@c9410000 {
> diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
> index 71808e78a495..1c88820cbcdf 100644
> --- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
> @@ -30,6 +30,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mdio0: mdio@1e650000 {
> diff --git a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
> index 68573762294b..8e288ab38fd7 100644
> --- a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
> +++ b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml
> @@ -35,6 +35,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      /* USB host controller */
> diff --git a/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml b/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
> index aea88e621792..0bbd598704e9 100644
> --- a/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
> +++ b/Documentation/devicetree/bindings/net/mediatek,star-emac.yaml
> @@ -61,6 +61,8 @@ required:
>    - mediatek,pericfg
>    - phy-handle
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml b/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
> index 42be0255512b..d51da24f3505 100644
> --- a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
> +++ b/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml
> @@ -34,6 +34,8 @@ patternProperties:
>      required:
>        - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mdio {
> diff --git a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> index f99a5aabe923..f0db22645d73 100644
> --- a/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> +++ b/Documentation/devicetree/bindings/net/qca,ar71xx.yaml
> @@ -72,6 +72,8 @@ required:
>    - resets
>    - reset-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    # Lager board
>    - |
> diff --git a/Documentation/devicetree/bindings/net/qca,ar803x.yaml b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
> index 1788884b8c28..64b3357ade8a 100644
> --- a/Documentation/devicetree/bindings/net/qca,ar803x.yaml
> +++ b/Documentation/devicetree/bindings/net/qca,ar803x.yaml
> @@ -59,6 +59,8 @@ properties:
>        regulator to VDDIO.
>      $ref: /schemas/regulator/regulator.yaml
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/net/qca-ar803x.h>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
> index 13555a89975f..0c973310ada0 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
> @@ -31,6 +31,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      mdio@90000 {
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
> index 67df3fe861ee..948677ade6d1 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml
> @@ -33,6 +33,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
> diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> index 08678af5ed93..32281fd1b96d 100644
> --- a/Documentation/devicetree/bindings/net/renesas,ether.yaml
> +++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml
> @@ -85,6 +85,8 @@ required:
>    - clocks
>    - pinctrl-0
>
> +unevaluatedProperties: false
> +
>  examples:
>    # Lager board
>    - |
> diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> index e5dff66df481..27eb6066793f 100644
> --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> @@ -88,6 +88,8 @@ required:
>    - clock-names
>    - st,syscon
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml b/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
> index d454c1fab930..5728fe23f530 100644
> --- a/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
> @@ -58,6 +58,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      davinci_mdio: mdio@4a101000 {
> diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> index c6716ac6cbcc..4050a3608658 100644
> --- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> @@ -109,6 +109,8 @@ properties:
>  required:
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/net/ti-dp83867.h>
> diff --git a/Documentation/devicetree/bindings/net/ti,dp83869.yaml b/Documentation/devicetree/bindings/net/ti,dp83869.yaml
> index cf40b469c719..c3235f08e326 100644
> --- a/Documentation/devicetree/bindings/net/ti,dp83869.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,dp83869.yaml
> @@ -79,6 +79,8 @@ properties:
>  required:
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/net/ti-dp83869.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> index 5a7284737229..8a43dc1283fe 100644
> --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml
> @@ -76,6 +76,8 @@ patternProperties:
>
>      additionalProperties: false
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/imx6sx-clock.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> index 59aca6d22ff9..1a18b6bab35e 100644
> --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
> @@ -49,6 +49,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-sc7180.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml b/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
> index 7bbd4e62044e..a835e64bc6f5 100644
> --- a/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/qcom,spmi-sdam.yaml
> @@ -66,6 +66,8 @@ patternProperties:
>
>      additionalProperties: false
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>        sdam_1: nvram@b000 {
> diff --git a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
> index 3ae00b0b23bc..104dd508565e 100644
> --- a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml
> @@ -51,6 +51,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3288-cru.h>
> diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
> index c11c99f085d7..0b80ce22a2f8 100644
> --- a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml
> @@ -42,6 +42,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      efuse@1fff7800 {
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> index 50ce5d79d2c7..651eee88989d 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
> @@ -29,6 +29,8 @@ required:
>    - reg
>    - reg-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      bus {
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> index 6d67067843bf..293b8ec318bc 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> @@ -31,6 +31,8 @@ required:
>    - reg
>    - reg-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      bus {
> diff --git a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
> index 47353d0cd394..6bcaa8f2c3cf 100644
> --- a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
> +++ b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
> @@ -137,6 +137,8 @@ allOf:
>          reg:
>            maxItems: 1
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>
> diff --git a/Documentation/devicetree/bindings/pci/loongson.yaml b/Documentation/devicetree/bindings/pci/loongson.yaml
> index 30e7cf1aeb87..81bae060cbde 100644
> --- a/Documentation/devicetree/bindings/pci/loongson.yaml
> +++ b/Documentation/devicetree/bindings/pci/loongson.yaml
> @@ -39,6 +39,8 @@ required:
>    - reg
>    - ranges
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>
> diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
> index b3c3d0c3c390..3ae3e1a2d4b0 100644
> --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
> @@ -63,6 +63,8 @@ required:
>    - phys
>    - phy-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/soc/ti,sci_pm_domain.h>
> diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
> index 8200ba00bc09..ee7a8eade3f6 100644
> --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml
> @@ -72,6 +72,8 @@ required:
>    - phys
>    - phy-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/soc/ti,sci_pm_domain.h>
> diff --git a/Documentation/devicetree/bindings/pci/versatile.yaml b/Documentation/devicetree/bindings/pci/versatile.yaml
> index 07a48c27db1f..09748ef6b94f 100644
> --- a/Documentation/devicetree/bindings/pci/versatile.yaml
> +++ b/Documentation/devicetree/bindings/pci/versatile.yaml
> @@ -48,6 +48,8 @@ required:
>    - interrupt-map
>    - interrupt-map-mask
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      pci@10001000 {
> diff --git a/Documentation/devicetree/bindings/power/pd-samsung.yaml b/Documentation/devicetree/bindings/power/pd-samsung.yaml
> index 09bdd96c1ec1..9c2c51133457 100644
> --- a/Documentation/devicetree/bindings/power/pd-samsung.yaml
> +++ b/Documentation/devicetree/bindings/power/pd-samsung.yaml
> @@ -49,6 +49,8 @@ required:
>    - "#power-domain-cells"
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      lcd0_pd: power-domain@10023c80 {
> diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
> index 3dbb9cf86f15..92211f2b3b0c 100644
> --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
> @@ -73,6 +73,8 @@ required:
>    - compatible
>    - regulator-name
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      reg_1v8: regulator-1v8 {
> diff --git a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
> index c9453d7ce227..69e5402da761 100644
> --- a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
> @@ -28,6 +28,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
> index 605590384b48..f7e3d8fd3bf3 100644
> --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml
> @@ -91,6 +91,8 @@ required:
>    - gpios
>    - states
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      gpio-regulator {
> diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml b/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
> index cb336b2c16af..9f1c70381b82 100644
> --- a/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
> +++ b/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml
> @@ -34,6 +34,8 @@ required:
>    - st,syscfg
>    - vdda-supply
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      regulator-booster {
> diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml b/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
> index 33cdaeb25aee..3cd4a254e4cb 100644
> --- a/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
> +++ b/Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
> @@ -36,6 +36,8 @@ required:
>    - clocks
>    - vdda-supply
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/stm32mp1-clks.h>
> diff --git a/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml b/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
> index d1a79d2ffa1e..6f45582c914e 100644
> --- a/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml
> @@ -28,6 +28,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      regulator@1948000 {
> diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> index bc2c7e53a28e..60e93e86ad9d 100644
> --- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> @@ -68,6 +68,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4740-cgu.h>
> diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> index 76bbf8b7555b..d51b236939bf 100644
> --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> @@ -74,6 +74,8 @@ allOf:
>            items:
>              - const: rtc
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/exynos5420.h>
> diff --git a/Documentation/devicetree/bindings/serial/ingenic,uart.yaml b/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
> index dc8349322c83..559213899d73 100644
> --- a/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/ingenic,uart.yaml
> @@ -9,6 +9,9 @@ title: Ingenic SoCs UART controller devicetree bindings
>  maintainers:
>    - Paul Cercueil <paul@crapouillou.net>
>
> +allOf:
> +  - $ref: /schemas/serial.yaml#
> +
>  properties:
>    $nodename:
>      pattern: "^serial@[0-9a-f]+$"
> @@ -64,6 +67,8 @@ required:
>    - dmas
>    - dma-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4780-cgu.h>
> diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> index 6b04c0451d41..2f30dc79b444 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> @@ -100,6 +100,8 @@ required:
>    - clock-names
>    - power-domains
>
> +unevaluatedProperties: false
> +
>  if:
>    properties:
>      compatible:
> diff --git a/Documentation/devicetree/bindings/serial/renesas,sci.yaml b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> index 4183b7311f37..22ed2f0b1dc3 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> @@ -54,6 +54,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      aliases {
> diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> index 570b379f9f19..45042bf20b36 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> @@ -149,6 +149,8 @@ then:
>    required:
>      - resets
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
> diff --git a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
> index 78b8e20dd34d..dbffb9534835 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scifa.yaml
> @@ -75,6 +75,8 @@ required:
>    - clock-names
>    - power-domains
>
> +unevaluatedProperties: false
> +
>  if:
>    properties:
>      compatible:
> diff --git a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
> index b083970c16a9..147f8a37e02a 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scifb.yaml
> @@ -75,6 +75,8 @@ required:
>    - clock-names
>    - power-domains
>
> +unevaluatedProperties: false
> +
>  if:
>    properties:
>      compatible:
> diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> index b962f8db4ce9..87ef1e218152 100644
> --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> @@ -101,6 +101,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      serial@80230000 {
> diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
> index 38efb50081e3..667dedefd69f 100644
> --- a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
> +++ b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
> @@ -77,6 +77,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi@c1108d80 {
> diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
> index 5f33c39d820b..54b6f15eca18 100644
> --- a/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
> +++ b/Documentation/devicetree/bindings/spi/amlogic,meson6-spifc.yaml
> @@ -35,6 +35,8 @@ required:
>    - reg
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi@c1108c80 {
> diff --git a/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml b/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
> index e0c55dd235d8..3fd0a8adfe9a 100644
> --- a/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
> @@ -24,6 +24,8 @@ required:
>    - compatible
>    - reg
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi: spi@1f000000 {
> diff --git a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
> index 2aa766759d59..7b19f2c1cb59 100644
> --- a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
> @@ -29,6 +29,8 @@ required:
>    - '#address-cells'
>    - '#size-cells'
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/ath79-clk.h>
> diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
> index 0178831b0662..ef5698f426b2 100644
> --- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
> @@ -56,6 +56,8 @@ required:
>    - clock-names
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-sdm845.h>
> diff --git a/Documentation/devicetree/bindings/spi/renesas,hspi.yaml b/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
> index f492cb9fea12..c0eccf703039 100644
> --- a/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/renesas,hspi.yaml
> @@ -40,6 +40,8 @@ required:
>    - '#address-cells'
>    - '#size-cells'
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7778-clock.h>
> diff --git a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
> index c54ac059043f..b56d76ec0364 100644
> --- a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
> @@ -123,6 +123,8 @@ allOf:
>        required:
>          - resets
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
> diff --git a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
> index 9f7b118adcaf..e8afd26bbeb2 100644
> --- a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
> +++ b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml
> @@ -140,6 +140,8 @@ required:
>    - '#address-cells'
>    - '#size-cells'
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/r8a7791-clock.h>
> diff --git a/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml b/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
> index c25409298bdf..597fc4e6b01c 100644
> --- a/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/socionext,uniphier-spi.yaml
> @@ -44,6 +44,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi0: spi@54006000 {
> diff --git a/Documentation/devicetree/bindings/spi/spi-gpio.yaml b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
> index 55c4f1705f07..0d0b6d9dad1c 100644
> --- a/Documentation/devicetree/bindings/spi/spi-gpio.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
> @@ -53,6 +53,8 @@ required:
>    - num-chipselects
>    - sck-gpios
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi {
> diff --git a/Documentation/devicetree/bindings/spi/spi-mux.yaml b/Documentation/devicetree/bindings/spi/spi-mux.yaml
> index 3d3fed63409b..6c21a132b51f 100644
> --- a/Documentation/devicetree/bindings/spi/spi-mux.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-mux.yaml
> @@ -48,6 +48,8 @@ required:
>    - spi-max-frequency
>    - mux-controls
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
> index 22999024477f..a91d868e40c5 100644
> --- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
> @@ -128,6 +128,8 @@ required:
>    - reg
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi@e0100000 {
> diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
> index 74dc6185eced..1e6cf29e6388 100644
> --- a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
> @@ -85,6 +85,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/rk3188-cru-common.h>
> diff --git a/Documentation/devicetree/bindings/spi/spi-sifive.yaml b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
> index 4932205d1cba..56dcf1d35da4 100644
> --- a/Documentation/devicetree/bindings/spi/spi-sifive.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
> @@ -66,6 +66,8 @@ required:
>    - interrupts
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      spi: spi@10040000 {
> diff --git a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
> index 1a342ce1f798..983c4e54c0be 100644
> --- a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
> @@ -53,6 +53,8 @@ required:
>    - clocks
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
> index e49ecbf715ba..d11806b1ede3 100644
> --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
> @@ -76,6 +76,8 @@ required:
>    - clocks
>    - interrupts
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> index 4ddae6feef3b..c7459cf70e30 100644
> --- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> @@ -31,6 +31,8 @@ required:
>    - reg
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog@98d0 {
> diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> index 8e4c7c69bc1c..e3a1d79574e2 100644
> --- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> @@ -25,6 +25,8 @@ properties:
>  required:
>    - compatible
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog {
> diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> index 0709ddf0b6a5..8e3760a3822b 100644
> --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> @@ -38,6 +38,8 @@ required:
>    - reg
>    - clocks
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog@208a038 {
> diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
> index 2fa40d8864b2..76cb9586ee00 100644
> --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
> @@ -62,6 +62,8 @@ allOf:
>        required:
>          - samsung,syscon-phandle
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      watchdog@101d0000 {
> diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
> index a27c504e2e4f..3f1ba1d6c6b5 100644
> --- a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
> @@ -43,6 +43,8 @@ required:
>    - clocks
>    - clock-names
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/stm32mp1-clks.h>
> diff --git a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
> index f0452791c598..c1348db59374 100644
> --- a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml
> @@ -46,6 +46,8 @@ required:
>    - clocks
>    - power-domains
>
> +unevaluatedProperties: false
> +
>  examples:
>    - |
>      /*
> --
> 2.25.1
>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (7 preceding siblings ...)
  2020-10-06 16:57   ` Mathieu Poirier
@ 2020-10-07  1:03   ` Dmitry Torokhov
  2020-10-07 22:48   ` Alexandre Belloni
  9 siblings, 0 replies; 37+ messages in thread
From: Dmitry Torokhov @ 2020-10-07  1:03 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, Peter Meerwald-Stadler, Sam Ravnborg,
	linux-pwm, linux-iio, Viresh Kumar, Linus Walleij, linux-pci,
	dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman, linux-usb,
	linux-mmc, linux-kernel, linux-spi, linux-i2c, Vinod Koul,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 05, 2020 at 01:38:27PM -0500, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
> 
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
> 
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

For input:

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

-- 
Dmitry

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (10 preceding siblings ...)
  2020-10-06 14:30   ` Guenter Roeck
@ 2020-10-07  1:04   ` Dmitry Torokhov
  2020-10-07 22:40   ` Alexandre Belloni
  12 siblings, 0 replies; 37+ messages in thread
From: Dmitry Torokhov @ 2020-10-07  1:04 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, Peter Meerwald-Stadler, Sam Ravnborg,
	linux-pwm, linux-iio, Viresh Kumar, Linus Walleij, linux-pci,
	dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman, linux-usb,
	linux-mmc, linux-kernel, linux-spi, linux-i2c, Vinod Koul,
	Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger, dmaengine,
	linux-mtd, David S. Miller, Jonathan Cameron, Heiner Kallweit

On Mon, Oct 05, 2020 at 01:38:30PM -0500, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

For input:

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

-- 
Dmitry

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas
  2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
                     ` (11 preceding siblings ...)
  2020-10-07  1:04   ` Dmitry Torokhov
@ 2020-10-07 22:40   ` Alexandre Belloni
  12 siblings, 0 replies; 37+ messages in thread
From: Alexandre Belloni @ 2020-10-07 22:40 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

On 05/10/2020 13:38:30-0500, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

> ---
>  Documentation/devicetree/bindings/arm/cpus.yaml              | 2 ++
>  .../devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml      | 2 ++
>  Documentation/devicetree/bindings/ata/pata-common.yaml       | 2 ++
>  Documentation/devicetree/bindings/ata/sata-common.yaml       | 2 ++
>  Documentation/devicetree/bindings/bus/simple-pm-bus.yaml     | 2 ++
>  .../devicetree/bindings/chrome/google,cros-ec-typec.yaml     | 2 ++
>  .../devicetree/bindings/connector/usb-connector.yaml         | 2 ++
>  .../devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml | 2 ++
>  .../devicetree/bindings/display/dsi-controller.yaml          | 2 ++
>  Documentation/devicetree/bindings/display/panel/lvds.yaml    | 2 ++
>  .../devicetree/bindings/display/panel/panel-common.yaml      | 2 ++
>  Documentation/devicetree/bindings/dma/dma-common.yaml        | 2 ++
>  Documentation/devicetree/bindings/dma/dma-controller.yaml    | 2 ++
>  Documentation/devicetree/bindings/dma/dma-router.yaml        | 2 ++
>  Documentation/devicetree/bindings/extcon/wlf,arizona.yaml    | 2 ++
>  .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml      | 5 ++++-
>  Documentation/devicetree/bindings/iio/common.yaml            | 2 ++
>  Documentation/devicetree/bindings/input/input.yaml           | 2 ++
>  Documentation/devicetree/bindings/input/matrix-keymap.yaml   | 2 ++
>  .../devicetree/bindings/input/touchscreen/touchscreen.yaml   | 2 ++
>  Documentation/devicetree/bindings/leds/common.yaml           | 2 ++
>  .../devicetree/bindings/leds/leds-class-multicolor.yaml      | 3 +++
>  Documentation/devicetree/bindings/leds/trigger-source.yaml   | 2 ++
>  Documentation/devicetree/bindings/media/rc.yaml              | 2 ++
>  Documentation/devicetree/bindings/mfd/syscon.yaml            | 2 +-
>  Documentation/devicetree/bindings/mmc/mmc-controller.yaml    | 2 ++
>  .../devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml     | 2 ++
>  Documentation/devicetree/bindings/mtd/nand-controller.yaml   | 2 ++
>  .../devicetree/bindings/net/can/can-transceiver.yaml         | 2 ++
>  Documentation/devicetree/bindings/net/dsa/dsa.yaml           | 2 ++
>  .../devicetree/bindings/net/ethernet-controller.yaml         | 2 ++
>  Documentation/devicetree/bindings/net/ethernet-phy.yaml      | 2 ++
>  Documentation/devicetree/bindings/net/mdio.yaml              | 2 ++
>  Documentation/devicetree/bindings/net/snps,dwmac.yaml        | 2 ++
>  Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml  | 2 ++
>  Documentation/devicetree/bindings/nvmem/nvmem.yaml           | 2 ++
>  Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml      | 2 ++
>  Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml    | 2 ++
>  Documentation/devicetree/bindings/pci/cdns-pcie.yaml         | 2 ++
>  Documentation/devicetree/bindings/pci/pci-ep.yaml            | 2 ++
>  Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml | 2 ++
>  Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml   | 2 ++
>  Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml   | 2 ++
>  Documentation/devicetree/bindings/power/power-domain.yaml    | 2 ++
>  .../devicetree/bindings/power/supply/power-supply.yaml       | 2 ++
>  Documentation/devicetree/bindings/pwm/pwm.yaml               | 2 ++
>  Documentation/devicetree/bindings/regulator/regulator.yaml   | 2 ++
>  Documentation/devicetree/bindings/regulator/wlf,arizona.yaml | 2 ++
>  Documentation/devicetree/bindings/riscv/cpus.yaml            | 2 ++
>  Documentation/devicetree/bindings/rtc/rtc.yaml               | 2 ++
>  Documentation/devicetree/bindings/serial/rs485.yaml          | 3 +++
>  Documentation/devicetree/bindings/serial/serial.yaml         | 2 ++
>  Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml  | 2 ++
>  Documentation/devicetree/bindings/sound/amlogic,aiu.yaml     | 2 ++
>  Documentation/devicetree/bindings/sound/cirrus,madera.yaml   | 2 ++
>  .../devicetree/bindings/sound/nvidia,tegra210-ahub.yaml      | 3 +++
>  Documentation/devicetree/bindings/sound/wlf,arizona.yaml     | 2 ++
>  .../devicetree/bindings/soundwire/soundwire-controller.yaml  | 2 ++
>  Documentation/devicetree/bindings/spi/spi-controller.yaml    | 2 ++
>  Documentation/devicetree/bindings/spmi/spmi.yaml             | 2 ++
>  .../devicetree/bindings/thermal/thermal-cooling-devices.yaml | 2 ++
>  .../devicetree/bindings/thermal/thermal-sensor.yaml          | 2 ++
>  Documentation/devicetree/bindings/usb/ti,tps6598x.yaml       | 2 ++
>  Documentation/devicetree/bindings/usb/usb-hcd.yaml           | 2 ++
>  Documentation/devicetree/bindings/watchdog/watchdog.yaml     | 2 ++
>  65 files changed, 134 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
> index 1222bf1831fa..14cd727d3c4b 100644
> --- a/Documentation/devicetree/bindings/arm/cpus.yaml
> +++ b/Documentation/devicetree/bindings/arm/cpus.yaml
> @@ -341,6 +341,8 @@ required:
>  dependencies:
>    rockchip,pmu: [enable-method]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      cpus {
> diff --git a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
> index 1043e4be4fca..c9675c4cdc1b 100644
> --- a/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
> +++ b/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/ata/pata-common.yaml b/Documentation/devicetree/bindings/ata/pata-common.yaml
> index fc5ebbe7108d..2412894a255d 100644
> --- a/Documentation/devicetree/bindings/ata/pata-common.yaml
> +++ b/Documentation/devicetree/bindings/ata/pata-common.yaml
> @@ -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
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/ata/sata-common.yaml b/Documentation/devicetree/bindings/ata/sata-common.yaml
> index 6783a4dec6b5..7ac77b1c5850 100644
> --- a/Documentation/devicetree/bindings/ata/sata-common.yaml
> +++ b/Documentation/devicetree/bindings/ata/sata-common.yaml
> @@ -47,4 +47,6 @@ patternProperties:
>            multiplier making it possible to connect up to 15 disks to a single
>            SATA port.
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml b/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
> index 33326ffdb266..182134d7a6a3 100644
> --- a/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
> +++ b/Documentation/devicetree/bindings/bus/simple-pm-bus.yaml
> @@ -61,6 +61,8 @@ anyOf:
>    - required:
>        - power-domains
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/qcom,gcc-msm8996.h>
> diff --git a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
> index 6d7396ab8bee..2d98f7c4d3bc 100644
> --- a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
> +++ b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml
> @@ -26,6 +26,8 @@ properties:
>  required:
>    - compatible
>  
> +additionalProperties: true #fixme
> +
>  examples:
>    - |+
>      spi0 {
> diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
> index dc6ff64422d4..f037d65b018e 100644
> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
> @@ -172,6 +172,8 @@ allOf:
>          type:
>            const: micro
>  
> +additionalProperties: true
> +
>  examples:
>    # Micro-USB connector with HS lines routed via controller (MUIC).
>    - |
> diff --git a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
> index 012aa8e7cb8c..e42cb610f545 100644
> --- a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml
> @@ -66,3 +66,5 @@ required:
>    - clocks
>    - ports
>    - reg
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/display/dsi-controller.yaml b/Documentation/devicetree/bindings/display/dsi-controller.yaml
> index a02039e3aca0..ca21671f6bdd 100644
> --- a/Documentation/devicetree/bindings/display/dsi-controller.yaml
> +++ b/Documentation/devicetree/bindings/display/dsi-controller.yaml
> @@ -73,6 +73,8 @@ patternProperties:
>      required:
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/lvds.yaml b/Documentation/devicetree/bindings/display/panel/lvds.yaml
> index 946dd354256c..31164608ba1d 100644
> --- a/Documentation/devicetree/bindings/display/panel/lvds.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/lvds.yaml
> @@ -112,4 +112,6 @@ oneOf:
>    - required:
>        - ports
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml
> index 45fe8fe5faba..cd6dc5461721 100644
> --- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml
> @@ -163,4 +163,6 @@ dependencies:
>    width-mm: [ height-mm ]
>    height-mm: [ width-mm ]
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/dma/dma-common.yaml b/Documentation/devicetree/bindings/dma/dma-common.yaml
> index c36592683340..307b499e8968 100644
> --- a/Documentation/devicetree/bindings/dma/dma-common.yaml
> +++ b/Documentation/devicetree/bindings/dma/dma-common.yaml
> @@ -49,3 +49,5 @@ properties:
>  
>  required:
>    - "#dma-cells"
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/dma/dma-controller.yaml b/Documentation/devicetree/bindings/dma/dma-controller.yaml
> index c39f6de76670..0043b91da95e 100644
> --- a/Documentation/devicetree/bindings/dma/dma-controller.yaml
> +++ b/Documentation/devicetree/bindings/dma/dma-controller.yaml
> @@ -17,6 +17,8 @@ properties:
>    $nodename:
>      pattern: "^dma-controller(@.*)?$"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      dma: dma-controller@48000000 {
> diff --git a/Documentation/devicetree/bindings/dma/dma-router.yaml b/Documentation/devicetree/bindings/dma/dma-router.yaml
> index 5b5f07393135..4cee5667b8a8 100644
> --- a/Documentation/devicetree/bindings/dma/dma-router.yaml
> +++ b/Documentation/devicetree/bindings/dma/dma-router.yaml
> @@ -36,6 +36,8 @@ required:
>    - "#dma-cells"
>    - dma-masters
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      sdma_xbar: dma-router@4a002b78 {
> diff --git a/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml b/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
> index f9845dc2f5ae..5fe784f487c5 100644
> --- a/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/extcon/wlf,arizona.yaml
> @@ -123,3 +123,5 @@ properties:
>      $ref: "/schemas/types.yaml#/definitions/uint32"
>      minimum: 0
>      maximum: 3
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> index 16d76482b4ff..cfb66ba45ee8 100644
> --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> @@ -46,6 +46,8 @@ properties:
>    "#io-channel-cells":
>      const: 1
>  
> +  io-channel-ranges: true
> +
>    vdd-supply: true
>  
>    samsung,syscon-phandle:
> @@ -107,7 +109,8 @@ allOf:
>            items:
>              - const: adc
>  
> -additionalProperties: false
> +additionalProperties:
> +  type: object
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/iio/common.yaml b/Documentation/devicetree/bindings/iio/common.yaml
> index 97ffcb77043d..f845b41d74c4 100644
> --- a/Documentation/devicetree/bindings/iio/common.yaml
> +++ b/Documentation/devicetree/bindings/iio/common.yaml
> @@ -32,4 +32,6 @@ properties:
>        considered 'near' to the device (an object is near to the
>        sensor).
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml
> index 8edcb3c31270..ab407f266bef 100644
> --- a/Documentation/devicetree/bindings/input/input.yaml
> +++ b/Documentation/devicetree/bindings/input/input.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/input/matrix-keymap.yaml b/Documentation/devicetree/bindings/input/matrix-keymap.yaml
> index c3bf09156783..6699d5e32dca 100644
> --- a/Documentation/devicetree/bindings/input/matrix-keymap.yaml
> +++ b/Documentation/devicetree/bindings/input/matrix-keymap.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> index 36dc7b56a453..a771a15f053f 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
> index a2a541bca73c..08b6700ca61e 100644
> --- a/Documentation/devicetree/bindings/leds/common.yaml
> +++ b/Documentation/devicetree/bindings/leds/common.yaml
> @@ -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>
> diff --git a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> index b55e1f1308a4..b1a53f054b89 100644
> --- a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> +++ b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
> @@ -34,4 +34,7 @@ patternProperties:
>  
>      required:
>        - color
> +
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/leds/trigger-source.yaml b/Documentation/devicetree/bindings/leds/trigger-source.yaml
> index 0618003e40bd..89a1cde2b8aa 100644
> --- a/Documentation/devicetree/bindings/leds/trigger-source.yaml
> +++ b/Documentation/devicetree/bindings/leds/trigger-source.yaml
> @@ -21,4 +21,6 @@ properties:
>        trigger sources (e.g. a specific USB port).
>      enum: [ 0, 1 ]
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/media/rc.yaml b/Documentation/devicetree/bindings/media/rc.yaml
> index ded2ac43237d..8ad2cba5f61f 100644
> --- a/Documentation/devicetree/bindings/media/rc.yaml
> +++ b/Documentation/devicetree/bindings/media/rc.yaml
> @@ -150,3 +150,5 @@ properties:
>        - rc-x96max
>        - rc-xbox-dvd
>        - rc-zx-irdec
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
> index 844ee2a6ce05..5317a7d69aa5 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
> @@ -71,7 +71,7 @@ required:
>    - compatible
>    - reg
>  
> -unevaluatedProperties: false
> +additionalProperties: true
>  
>  examples:
>    - |
> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> index b96da0c7f819..57319b425eaa 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> @@ -349,6 +349,8 @@ dependencies:
>    cd-debounce-delay-ms: [ cd-gpios ]
>    fixed-emmc-driver-type: [ non-removable ]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      mmc@ab000000 {
> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
> index 85bd528e9a14..8dfad89c78a7 100644
> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
> @@ -62,3 +62,5 @@ properties:
>  
>    dma-names:
>      const: rx-tx
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
> index 40fc5b0b2b8c..274bbe6a365e 100644
> --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml
> +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
> @@ -128,6 +128,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      nand-controller {
> diff --git a/Documentation/devicetree/bindings/net/can/can-transceiver.yaml b/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
> index 6396977d29e5..d1ef1fe6ab29 100644
> --- a/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
> +++ b/Documentation/devicetree/bindings/net/can/can-transceiver.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
> index 6a1ec50ad4fd..a765ceba28c6 100644
> --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml
> +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
> @@ -89,4 +89,6 @@ oneOf:
>    - required:
>        - ethernet-ports
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> index fa2baca8c726..3fd85ce37e9c 100644
> --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> @@ -205,4 +205,6 @@ properties:
>            required:
>              - speed
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> index a9e547ac7905..6dd72faebd89 100644
> --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> @@ -177,6 +177,8 @@ properties:
>  required:
>    - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      ethernet {
> diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
> index 26afb556dfae..e811e0fd851c 100644
> --- a/Documentation/devicetree/bindings/net/mdio.yaml
> +++ b/Documentation/devicetree/bindings/net/mdio.yaml
> @@ -100,6 +100,8 @@ patternProperties:
>      required:
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      davinci_mdio: mdio@5c030000 {
> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> index 30a1efd26626..11a6fdb657c9 100644
> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> index b7c00ed31085..d5d7f113bade 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> @@ -36,6 +36,8 @@ dependencies:
>    nvmem-names: [ nvmem ]
>    nvmem-cell-names: [ nvmem-cells ]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      tsens {
> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> index b459f9dba6c9..7481a9e48f19 100644
> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
> @@ -67,6 +67,8 @@ patternProperties:
>      required:
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>        #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
> index 016a5f61592d..60b8baf299bb 100644
> --- a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
> @@ -22,3 +22,5 @@ properties:
>  
>  required:
>    - cdns,max-outbound-regions
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
> index 303078a7b7a8..a944f9bfffff 100644
> --- a/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
> @@ -33,3 +33,5 @@ properties:
>      deprecated: true
>  
>    msi-parent: true
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
> index 02553d5e6c51..df4fe28222b0 100644
> --- a/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns-pcie.yaml
> @@ -21,3 +21,5 @@ properties:
>      items:
>        - const: pcie-phy
>      # FIXME: names when more than 1
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pci/pci-ep.yaml b/Documentation/devicetree/bindings/pci/pci-ep.yaml
> index 0f8e575ac01a..7847bbcd4a03 100644
> --- a/Documentation/devicetree/bindings/pci/pci-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/pci-ep.yaml
> @@ -36,3 +36,5 @@ properties:
>  
>  required:
>    - compatible
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
> index 6bfc25d0e1b3..4cb174bf31ff 100644
> --- a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml
> @@ -120,3 +120,5 @@ properties:
>  required:
>    - pinctrl-0
>    - pinctrl-names
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> index 13b7ab9dd6d5..71ed0a9def84 100644
> --- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml b/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
> index ef8877ddb1eb..551df3d9b809 100644
> --- a/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
> @@ -129,3 +129,5 @@ properties:
>  
>    pinctrl-pin-array:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/power/power-domain.yaml b/Documentation/devicetree/bindings/power/power-domain.yaml
> index dd564349aa53..aed51e9dcb11 100644
> --- a/Documentation/devicetree/bindings/power/power-domain.yaml
> +++ b/Documentation/devicetree/bindings/power/power-domain.yaml
> @@ -69,6 +69,8 @@ properties:
>  required:
>    - "#power-domain-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      power: power-controller@12340000 {
> diff --git a/Documentation/devicetree/bindings/power/supply/power-supply.yaml b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
> index 3bb02bb3a2d8..c5c55f627251 100644
> --- a/Documentation/devicetree/bindings/power/supply/power-supply.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
> @@ -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 {
> diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/devicetree/bindings/pwm/pwm.yaml
> index fa4f9de92090..7d1f687cee9c 100644
> --- a/Documentation/devicetree/bindings/pwm/pwm.yaml
> +++ b/Documentation/devicetree/bindings/pwm/pwm.yaml
> @@ -20,6 +20,8 @@ properties:
>  required:
>    - "#pwm-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      pwm: pwm@7000a000 {
> diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml
> index ec505dbbf87c..6d0bc9cd4040 100644
> --- a/Documentation/devicetree/bindings/regulator/regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml
> @@ -188,6 +188,8 @@ patternProperties:
>  
>      additionalProperties: false
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      xyzreg: regulator {
> diff --git a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
> index a0aea73bf412..7b4ae5d23351 100644
> --- a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
> @@ -35,3 +35,5 @@ properties:
>        Initial data for the MICVDD regulator.
>      $ref: "regulator.yaml#"
>      type: object
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
> index f80ba2c66f71..c6925e0b16e4 100644
> --- a/Documentation/devicetree/bindings/riscv/cpus.yaml
> +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
> @@ -91,6 +91,8 @@ required:
>    - riscv,isa
>    - interrupt-controller
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      // Example 1: SiFive Freedom U540G Development Kit
> diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
> index ee237b2ed66a..2d055e37e6f7 100644
> --- a/Documentation/devicetree/bindings/rtc/rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
> @@ -47,4 +47,6 @@ properties:
>      description:
>        Enables wake up of host system on alarm.
>  
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/serial/rs485.yaml b/Documentation/devicetree/bindings/serial/rs485.yaml
> index fe90569475e1..0c9fa694f85c 100644
> --- a/Documentation/devicetree/bindings/serial/rs485.yaml
> +++ b/Documentation/devicetree/bindings/serial/rs485.yaml
> @@ -45,4 +45,7 @@ properties:
>    rs485-term-gpios:
>      description: GPIO pin to enable RS485 bus termination.
>      maxItems: 1
> +
> +additionalProperties: true
> +
>  ...
> diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
> index 8645d0e526b4..65e75d040521 100644
> --- a/Documentation/devicetree/bindings/serial/serial.yaml
> +++ b/Documentation/devicetree/bindings/serial/serial.yaml
> @@ -124,6 +124,8 @@ patternProperties:
>        required:
>          - compatible
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      serial@1234 {
> diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> index 3cbf2d28a188..80d99861fec5 100644
> --- a/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> +++ b/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> @@ -35,6 +35,8 @@ required:
>    - compatible
>    - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      bus@30000000 {
> diff --git a/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml b/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
> index 7a7f28469624..f50558ed914f 100644
> --- a/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
> +++ b/Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
> @@ -75,6 +75,8 @@ required:
>    - reg
>    - resets
>  
> +additionalProperties: false
> +
>  examples:
>    - |
>      #include <dt-bindings/clock/gxbb-clkc.h>
> diff --git a/Documentation/devicetree/bindings/sound/cirrus,madera.yaml b/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
> index c4cd58b5acd4..23138ddcb62d 100644
> --- a/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
> +++ b/Documentation/devicetree/bindings/sound/cirrus,madera.yaml
> @@ -111,3 +111,5 @@ properties:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
>      minItems: 2
>      maxItems: 2
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
> index 44ee9d844ae0..d77219727768 100644
> --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
> +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml
> @@ -67,6 +67,9 @@ required:
>    - "#size-cells"
>    - ranges
>  
> +additionalProperties:
> +  type: object
> +
>  examples:
>    - |
>      #include<dt-bindings/clock/tegra210-car.h>
> diff --git a/Documentation/devicetree/bindings/sound/wlf,arizona.yaml b/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
> index 22d54be7900a..1627c0bb69be 100644
> --- a/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/sound/wlf,arizona.yaml
> @@ -112,3 +112,5 @@ properties:
>      $ref: /schemas/types.yaml#/definitions/uint32-array
>      minItems: 1
>      maxItems: 12
> +
> +additionalProperties: true
> diff --git a/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml b/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
> index 330924b8618e..4aad121eff3f 100644
> --- a/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
> +++ b/Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
> @@ -57,6 +57,8 @@ required:
>    - "#address-cells"
>    - "#size-cells"
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      soundwire@c2d0000 {
> diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml
> index c6a2f543648b..2b154803b181 100644
> --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml
> @@ -140,6 +140,8 @@ patternProperties:
>        - compatible
>        - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      spi@f00 {
> diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
> index 0cfbf56ba825..173940930719 100644
> --- a/Documentation/devicetree/bindings/spmi/spmi.yaml
> +++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
> @@ -55,6 +55,8 @@ patternProperties:
>  required:
>    - reg
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/spmi/spmi.h>
> diff --git a/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml b/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
> index ad4beaf02842..f004779ba9b3 100644
> --- a/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
> +++ b/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
> @@ -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>
> diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
> index 727d04550324..9f747921e851 100644
> --- a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
> +++ b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
> @@ -36,6 +36,8 @@ properties:
>        containing several internal sensors.
>      enum: [0, 1]
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/arm-gic.h>
> diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
> index 8eaf4b6c4735..f6819bf2a3b5 100644
> --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
> @@ -32,6 +32,8 @@ required:
>    - interrupts
>    - interrupt-names
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> index 7263b7f2b510..b545b087b342 100644
> --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> @@ -22,6 +22,8 @@ properties:
>      description:
>        Name specifier for the USB PHY
>  
> +additionalProperties: true
> +
>  examples:
>    - |
>      usb {
> diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> index 187bf6cb62bf..4e2c26cd981d 100644
> --- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> @@ -23,4 +23,6 @@ properties:
>      description:
>        Contains the watchdog timeout in seconds.
>  
> +additionalProperties: true
> +
>  ...
> -- 
> 2.25.1
> 

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'
  2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
                     ` (8 preceding siblings ...)
  2020-10-07  1:03   ` Dmitry Torokhov
@ 2020-10-07 22:48   ` Alexandre Belloni
  9 siblings, 0 replies; 37+ messages in thread
From: Alexandre Belloni @ 2020-10-07 22:48 UTC (permalink / raw)
  To: Rob Herring
  Cc: Andrew Lunn, Ulf Hansson, linux-usb, Peter Meerwald-Stadler,
	Sam Ravnborg, linux-pwm, linux-iio, Viresh Kumar, Linus Walleij,
	linux-pci, dri-devel, Liam Girdwood, linux-ide, Thierry Reding,
	Srinivas Kandagatla, Laurent Pinchart, Pavel Machek,
	Miquel Raynal, linux-riscv, linux-hwmon, Lee Jones, linux-clk,
	linux-leds, Vignesh Raghavendra, linux-rtc, Lars-Peter Clausen,
	Marc Zyngier, Daniel Lezcano, Krzysztof Kozlowski, Chanwoo Choi,
	MyungJoo Ham, linux-serial, linux-input, Jakub Kicinski,
	Zhang Rui, linux-mips, Vivien Didelot, Wolfgang Grandegger,
	linux-media, devicetree, Albert Ou, Jason Cooper, linux-pm,
	linux-can, linux-gpio, Mark Brown, Marc Kleine-Budde,
	Sebastian Reichel, Paul Walmsley, Bjorn Helgaas, Thomas Gleixner,
	Mauro Carvalho Chehab, linux-arm-kernel, Jens Axboe,
	Alessandro Zummo, linux-watchdog, Thomas Bogendoerfer,
	Mathieu Poirier, Stephen Boyd, Greg Kroah-Hartman,
	Dmitry Torokhov, linux-mmc, linux-kernel, linux-spi, linux-i2c,
	Vinod Koul, Palmer Dabbelt, Wim Van Sebroeck, Richard Weinberger,
	dmaengine, linux-mtd, David S. Miller, Jonathan Cameron,
	Heiner Kallweit

Hi,

On 05/10/2020 13:38:27-0500, Rob Herring wrote:
> diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> index bc2c7e53a28e..60e93e86ad9d 100644
> --- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
> @@ -68,6 +68,8 @@ required:
>    - clocks
>    - clock-names
>  
> +unevaluatedProperties: false

This one could be additionalProperties: false after adding start-year to
the properties

> +
>  examples:
>    - |
>      #include <dt-bindings/clock/jz4740-cgu.h>
> diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> index 76bbf8b7555b..d51b236939bf 100644
> --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
> @@ -74,6 +74,8 @@ allOf:
>            items:
>              - const: rtc
>  
> +unevaluatedProperties: false

This one can be simply additionalProperties: false


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, back to index

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 18:38 [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Rob Herring
2020-10-05 18:38 ` [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Rob Herring
2020-10-05 20:01   ` Mark Brown
2020-10-05 20:29   ` Wolfram Sang
2020-10-05 20:31   ` Krzysztof Kozlowski
2020-10-06  5:29   ` Vinod Koul
2020-10-06  7:37   ` Geert Uytterhoeven
2020-10-06  9:12   ` Ulf Hansson
2020-10-06 14:33   ` Guenter Roeck
2020-10-06 16:57   ` Mathieu Poirier
2020-10-07  1:03   ` Dmitry Torokhov
2020-10-07 22:48   ` Alexandre Belloni
2020-10-05 18:38 ` [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties' Rob Herring
2020-10-05 20:02   ` Mark Brown
2020-10-05 20:33   ` Krzysztof Kozlowski
2020-10-06  6:59   ` Lee Jones
2020-10-06  9:58   ` Jonathan Cameron
2020-10-06 14:32   ` Guenter Roeck
2020-10-05 18:38 ` [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas Rob Herring
2020-10-05 20:34   ` Krzysztof Kozlowski
2020-10-06  5:42   ` Viresh Kumar
2020-10-06  7:42   ` Geert Uytterhoeven
2020-10-05 18:38 ` [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas Rob Herring
2020-10-05 20:04   ` Mark Brown
2020-10-05 20:35   ` Krzysztof Kozlowski
2020-10-05 20:55   ` Sebastian Reichel
2020-10-06  1:23   ` Chanwoo Choi
2020-10-06  5:30   ` Vinod Koul
2020-10-06  6:58   ` Lee Jones
2020-10-06  7:43   ` Geert Uytterhoeven
2020-10-06  8:22   ` Srinivas Kandagatla
2020-10-06  9:12   ` Ulf Hansson
2020-10-06 10:00   ` Jonathan Cameron
2020-10-06 14:30   ` Guenter Roeck
2020-10-07  1:04   ` Dmitry Torokhov
2020-10-07 22:40   ` Alexandre Belloni
2020-10-06  8:25 ` [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups Srinivas Kandagatla

Linux-RISC-V Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-riscv/0 linux-riscv/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-riscv linux-riscv/ https://lore.kernel.org/linux-riscv \
		linux-riscv@lists.infradead.org
	public-inbox-index linux-riscv

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-riscv


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git