json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords. The json-schema library doesn't yet support this, but the
tooling now does a fixup for this and either way works.
This has been a constant source of review comments, so let's change this
treewide so everyone copies the simpler syntax.
Scripted with ruamel.yaml with some manual fixups. Some minor whitespace
changes from the script.
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-By: Vinod Koul <vkoul@kernel.org>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de> # for I2C
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio
Reviewed-by: Stephen Boyd <sboyd@kernel.org> # clock
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml | 34 | |
-rw-r--r-- | Documentation/devicetree/bindings/arm/coresight-cti.yaml | 18 | |
-rw-r--r-- | Documentation/devicetree/bindings/arm/cpus.yaml | 85 | |
-rw-r--r-- | Documentation/devicetree/bindings/arm/l2c2x0.yaml | 87 | |
-rw-r--r-- | Documentation/devicetree/bindings/arm/psci.yaml | 16 | |
-rw-r--r-- | Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/connector/usb-connector.yaml | 28 | |
-rw-r--r-- | Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/panel-common.yaml | 11 | |
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/panel-timing.yaml | 120 | |
-rw-r--r-- | Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/dma/dma-common.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/dma/ti/k3-udma.yaml | 21 | |
-rw-r--r-- | Documentation/devicetree/bindings/eeprom/at24.yaml | 11 | |
-rw-r--r-- | Documentation/devicetree/bindings/example-schema.yaml | 17 | |
-rw-r--r-- | Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml | 32 | |
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/adt7475.yaml | 18 | |
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml | 21 | |
-rw-r--r-- | Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 35 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 27 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/light/tsl2772.yaml | 13 | |
-rw-r--r-- | Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml | 56 | |
-rw-r--r-- | Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/input/gpio-keys.yaml | 19 | |
-rw-r--r-- | Documentation/devicetree/bindings/input/input.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/input/iqs62x-keys.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 28 | |
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml | 39 | |
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml | 8 | |
-rw-r--r-- | Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/leds/common.yaml | 13 | |
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-gpio.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/mailbox/st,stm32-ipcc.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/media/amlogic,gx-vdec.yaml | 6 | |
-rw-r--r-- | Documentation/devicetree/bindings/media/amlogic,meson-gx-ao-cec.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/media/i2c/imx219.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/media/rc.yaml | 265 | |
-rw-r--r-- | Documentation/devicetree/bindings/media/renesas,vin.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-mc.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-emc.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-mc.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/mfd/allwinner,sun4i-a10-ts.yaml | 20 | |
-rw-r--r-- | Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml | 33 | |
-rw-r--r-- | Documentation/devicetree/bindings/mfd/st,stpmic1.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/mfd/syscon.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml | 4 | |
-rw-r--r-- | Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml | 77 | |
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 37 | |
-rw-r--r-- | Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 6 | |
-rw-r--r-- | Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml | 14 | |
-rw-r--r-- | Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml | 13 | |
-rw-r--r-- | Documentation/devicetree/bindings/mtd/nand-controller.yaml | 27 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 59 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/ethernet-controller.yaml | 34 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/qca,ar803x.yaml | 17 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/qcom,ipa.yaml | 6 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/snps,dwmac.yaml | 22 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/ti,cpsw-switch.yaml | 6 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/pci/cdns-pcie.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/pci/pci-ep.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml | 15 | |
-rw-r--r-- | Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 65 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 12 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml | 37 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml | 44 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml | 108 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/fsl,imx8mm-pinctrl.yaml | 31 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/fsl,imx8mn-pinctrl.yaml | 31 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml | 31 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.yaml | 31 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml | 4 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 54 | |
-rw-r--r-- | Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/pwm/pwm-samsung.yaml | 11 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/gpio-regulator.yaml | 35 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/mps,mp5416.yaml | 6 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml | 28 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/regulator.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/rohm,bd71828-regulator.yaml | 34 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.yaml | 27 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/riscv/cpus.yaml | 20 | |
-rw-r--r-- | Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml | 9 | |
-rw-r--r-- | Documentation/devicetree/bindings/serial/pl011.yaml | 10 | |
-rw-r--r-- | Documentation/devicetree/bindings/serial/rs485.yaml | 26 | |
-rw-r--r-- | Documentation/devicetree/bindings/serial/samsung_uart.yaml | 5 | |
-rw-r--r-- | Documentation/devicetree/bindings/sound/adi,adau7118.yaml | 20 | |
-rw-r--r-- | Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-codec.yaml | 51 | |
-rw-r--r-- | Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml | 3 | |
-rw-r--r-- | Documentation/devicetree/bindings/sound/rockchip-i2s.yaml | 6 | |
-rw-r--r-- | Documentation/devicetree/bindings/sound/tlv320adcx140.yaml | 10 | |
-rw-r--r-- | Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml | 42 | |
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-controller.yaml | 14 | |
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-pl022.yaml | 55 | |
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-sifive.yaml | 14 | |
-rw-r--r-- | Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 7 | |
-rw-r--r-- | Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 13 | |
-rw-r--r-- | Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 18 | |