dt-bindings: Add missing array size constraints
DT properties which can have multiple entries need to specify what the
entries are and define how many entries there can be. In the case of
only a single entry, just 'maxItems: 1' is sufficient.
Add the missing entry constraints. These were found with a modified
meta-schema. Unfortunately, there are a few cases where the size
constraints are not defined such as common bindings, so the meta-schema
can't be part of the normal checks.
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210104230253.2805217-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/ata/sata_highbank.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/clock/canaan,k210-clk.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/dsp/fsl,dsp.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/eeprom/at25.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/adc/adi,ad7768-1.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/adc/aspeed,ast2400-adc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iio/potentiometer/adi,ad5272.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/media/i2c/imx219.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/mmc/mmc-controller.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun4i-a10-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun50i-a64-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun5i-a13-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun8i-a23-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun8i-a83t-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun8i-h3-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun8i-r40-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun8i-v3s-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/allwinner,sun9i-a80-usb-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/power/supply/bq25980.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/serial/renesas,hscif.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/serial/renesas,scif.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/serial/renesas,scifa.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/serial/renesas,scifb.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-codec.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/samsung,midas-audio.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/tas2562.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/tas2770.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/spi/renesas,rspi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sram/sram.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/brcm,usb-pinmap.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/generic-ehci.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/generic-ohci.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/ingenic,musb.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/renesas,usbhs.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml |
|
diff | blob | blame | history |