On Fri, 10 Jun 2022 19:05:36 +0200, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx> > > Convert txt binding to yaml binding for Mediatek switches. > > Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx> > --- > v4: > - fix squash of port 5 as cpu-port > - drop type from interrupt-controller and add depency for this > - use ethernet-ports in examples > - drop address-/size-cells > > v3: > - include standalone patch in mt7530 series > - drop some descriptions (gpio-cells,reset-gpios,reset-names) > - drop | from descriptions > - move patternProperties above allOf > > v2: > - rename mediatek.yaml => mediatek,mt7530.yaml > - drop "boolean" in description > - drop description for interrupt-properties > - drop #interrupt-cells as requirement > - example: eth=>ethernet,mdio0=>mdio,comment indention > - replace 0 by GPIO_ACTIVE_HIGH in first example > - use port(s)-pattern from dsa.yaml > - adress/size-cells not added to required because this > is defined at mdio-level inc current dts , not switch level > --- > .../bindings/net/dsa/mediatek,mt7530.yaml | 406 ++++++++++++++++++ > .../devicetree/bindings/net/dsa/mt7530.txt | 327 -------------- > 2 files changed, 406 insertions(+), 327 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > delete mode 100644 Documentation/devicetree/bindings/net/dsa/mt7530.txt > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>