Skip to content

Add DSA yaml binding

Kurt Kanzenbach linux-devicetree netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v11 patch 13 repliesSuperseded

Changes in v2 from the cover letter

* Use select to not match unrelated switches
* Allow ethernet-port(s)
* List ethernet-controller properties
* Include better description
* Let dsa.txt refer to dsa.yaml

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: net: dsa: Add DSA yaml bindingDocumentation/devicetree/bindings/net/dsa/dsa.yaml+92 -00 replies
2/3dt-bindings: net: dsa: Let dsa.txt refer to dsa.yamlDocumentation/devicetree/bindings/net/dsa/dsa.txt+1 -2540 replies
3/3net: dsa: of: Allow ethernet-ports as encapsulating nodenet/dsa/dsa2.c+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add DSA yaml binding

Hi,

as discussed [1] [2] it makes sense to add a DSA yaml binding. This is the second version and contains now two ways of specifying the switch ports: Either by "ports" or by "ethernet-ports". That is why the third patch also adjusts the DSA core for it.

Tested in combination with the hellcreek.yaml file.

Changes since v1:

* Use select to not match unrelated switches
* Allow ethernet-port(s)
* List ethernet-controller properties
* Include better description
* Let dsa.txt refer to dsa.yaml

Thanks,
Kurt

[1] - https://lkml.kernel.org/netdev/[email protected]/
[2] - https://lkml.kernel.org/netdev/[email protected]/

Kurt Kanzenbach (3):
dt-bindings: net: dsa: Add DSA yaml binding
dt-bindings: net: dsa: Let dsa.txt refer to dsa.yaml
net: dsa: of: Allow ethernet-ports as encapsulating node

 .../devicetree/bindings/net/dsa/dsa.txt       | 255 +-----------------
 .../devicetree/bindings/net/dsa/dsa.yaml      |  92 +++++++
 net/dsa/dsa2.c                                |   8 +-
 3 files changed, 99 insertions(+), 256 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/dsa.yaml
Signature · 1 line
2.20.1