dt-bindings: net: dsa: realtek: convert to YAML schema, add MDIO
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Wed, 9 Feb 2022 18:41:16 +0000 (15:41 -0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2022 11:12:04 +0000 (11:12 +0000)
commit429c83c78ab213d9656721cf46ae05366098485c
tree50d10809e4ef95e78b39a6928301da3fc18ac192
parent5b91c5cc0e7be4e41567cb2a6e21a8bb682c7cc5
dt-bindings: net: dsa: realtek: convert to YAML schema, add MDIO

Schema changes:

- support for mdio-connected switches (mdio driver), recognized by
  checking the presence of property "reg"
- new compatible strings for rtl8367s and rtl8367rb
- "interrupt-controller" was not added as a required property. It might
  still work polling the ports when missing.

Examples changes:

- renamed "switch_intc" to make it unique between examples
- removed "dsa-mdio" from mdio compatible property
- renamed phy@0 to ethernet-phy@0 (not tested with real HW)
  phy@ requires #phy-cells

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/realtek-smi.txt [deleted file]
Documentation/devicetree/bindings/net/dsa/realtek.yaml [new file with mode: 0644]