Thread (13 messages) 13 messages, 2 authors, 2023-10-23

Re: [PATCH net-next v5 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports

From: Linus Walleij <hidden>
Date: 2023-10-23 07:51:19
Also in: linux-devicetree, lkml, netdev

On Mon, Oct 23, 2023 at 9:19 AM Linus Walleij [off-list ref] wrote:
Bindings using dsa.yaml#/$defs/ethernet-ports specify that
a DSA switch node need to have a ports or ethernet-ports
subnode, and that is actually required, so add requirements
using oneOf.

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <redacted>
(...)
+  oneOf:
+    - required:
+      - ports
+    - required:
+      - ethernet-ports
Ooops I meant to drop the patch altogether because I just
couldn't figure out how to test this.

Ignore bot complaints on this one then.

Yours,
Linus Walleij

_______________________________________________
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