dt-bindings: Improve phandle-array schemas
The 'phandle-array' type is a bit ambiguous. It can be either just an
array of phandles or an array of phandles plus args. Many schemas for
phandle-array properties aren't clear in the schema which case applies
though the description usually describes it.
The array of phandles case boils down to needing:
items:
maxItems: 1
The phandle plus args cases should typically take this form:
items:
- items:
- description: A phandle
- description: 1st arg cell
- description: 2nd arg cell
With this change, some examples need updating so that the bracketing of
property values matches the schema.
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Georgi Djakov <djakov@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20220119015038.2433585-1-robh@kernel.org
Documentation/devicetree/bindings/arm/cpus.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/arm/idle-states.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/arm/pmu.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/ata/sata_highbank.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/crypto/intel,ixp4xx-crypto.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/msm/gpu.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/renesas,du.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/rockchip/rockchip-drm.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/sprd/sprd,display-subsystem.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/dma/dma-router.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/dvfs/performance-domain.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/firmware/arm,scmi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/firmware/arm,scpi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/leds/backlight/led-backlight.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/media/nxp,imx8mq-mipi-csi2.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/media/ti,cal.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/memory-controllers/samsung,exynos5422-dmc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/can/bosch,c_can.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/dsa/dsa-port.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/fsl,fec.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/intel,ixp4xx-ethernet.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/intel,ixp4xx-hss.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/stm32-dwmac.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/opp/opp-v2-base.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/intel,combo-phy.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/power/power-domain.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/power/renesas,apmu.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/power/rockchip,power-controller.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/power/supply/power-supply.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/regulator/regulator.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/sound/st,stm32-sai.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/thermal/thermal-idle.yaml |
|
diff | blob | blame | history |
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml |
|
diff | blob | blame | history |