Thread (14 messages) flat view 14 messages, 4 authors, 2022-06-15

Re: [PATCH v4 1/6] dt-bindings: net: dsa: convert binding for mediatek switches

From: Rob Herring <robh@kernel.org>
Date: 2022-06-14 22:32:52
Also in: linux-devicetree, linux-mediatek, linux-rockchip, lkml, netdev

On Fri, 10 Jun 2022 19:05:36 +0200, Frank Wunderlich wrote:
From: Frank Wunderlich <redacted>

Convert txt binding to yaml binding for Mediatek switches.

Signed-off-by: Frank Wunderlich <redacted>
---
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@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help