linux/Documentation/devicetree/bindings/net/dsa
Rob Herring 39bd2b6a37 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
2022-02-04 09:43:42 -06:00
..
ar9331.txt
arrow,xrs700x.yaml dt-bindings: net: dsa: add bindings for xrs700x switches 2021-01-15 15:37:53 -08:00
brcm,b53.yaml dt-bindings: net: dsa: b53: Add YAML bindings 2020-11-20 18:55:32 -08:00
brcm,sf2.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
dsa-port.yaml dt-bindings: Improve phandle-array schemas 2022-02-04 09:43:42 -06:00
dsa.txt dt-bindings: net: dsa: Fix typo 2020-08-24 18:03:29 -07:00
dsa.yaml dt-bindings: net: dsa: split generic port definition from dsa.yaml 2021-12-02 12:03:36 +00:00
hirschmann,hellcreek.yaml dt-bindings: net: dsa: Add documentation for Hellcreek switches 2020-11-05 14:04:50 -08:00
lan9303.txt
lantiq-gswip.txt dt-bindings: net: dsa: lantiq: add xRx300 and xRX330 switch bindings 2021-03-22 16:33:39 -07:00
marvell.txt dt-bindings: net: dsa: marvell: fix compatible in example 2021-10-06 15:20:40 +01:00
microchip,ksz.yaml dt-bindings: net: dsa: document additional Microchip KSZ8863/8873 switch 2021-04-27 14:13:24 -07:00
mt7530.txt dt-bindings: net: dsa: add MT7530 interrupt controller binding 2021-05-19 13:27:42 -07:00
nxp,sja1105.yaml dt-bindings: net: Cleanup MDIO node schemas 2022-01-11 11:54:34 -06:00
ocelot.txt docs: devicetree: add bindings for Seville DSA switch inside Felix driver 2020-07-13 17:40:02 -07:00
qca8k.yaml Devicetree updates for v5.17: 2022-01-12 16:47:05 -08:00
realtek-smi.txt dt-bindings: net: dsa: realtek-smi: document new compatible rtl8365mb 2021-10-18 14:02:56 +01:00
vitesse,vsc73xx.txt