]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dt-bindings: Remove more cases of 'allOf' containing a '$ref'
authorRob Herring <robh@kernel.org>
Wed, 10 Jun 2020 21:49:12 +0000 (15:49 -0600)
committerRob Herring <robh@kernel.org>
Thu, 11 Jun 2020 19:50:43 +0000 (13:50 -0600)
commit086e9074f52f6f623e1d6d02edc3cb661bb04f4e
treeb08d5a9b2e39d3f86385d980d798c703de8d5473
parent2dca74a40e1e7ff45079d85fc507769383039b9d
dt-bindings: Remove more cases of 'allOf' containing a '$ref'

Another round of 'allOf' removals that came in this cycle.

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.

Signed-off-by: Rob Herring <robh@kernel.org>
33 files changed:
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml
Documentation/devicetree/bindings/ata/sata_highbank.yaml
Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml
Documentation/devicetree/bindings/input/iqs269a.yaml
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml
Documentation/devicetree/bindings/ipmi/ipmi-smic.yaml
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml
Documentation/devicetree/bindings/leds/leds-aw2013.yaml
Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
Documentation/devicetree/bindings/media/i2c/ov8856.yaml
Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml
Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
Documentation/devicetree/bindings/phy/calxeda-combophy.yaml
Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml
Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml
Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
Documentation/devicetree/bindings/regulator/rohm,bd71847-regulator.yaml
Documentation/devicetree/bindings/rng/arm-cctrng.yaml
Documentation/devicetree/bindings/serial/samsung_uart.yaml
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
Documentation/devicetree/bindings/sound/fsl,easrc.yaml
Documentation/devicetree/bindings/sound/simple-card.yaml
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml
Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml