[PATCH net-next v5 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports
Linus Walleij
linus.walleij at linaro.org
Mon Oct 23 00:51:00 PDT 2023
On Mon, Oct 23, 2023 at 9:19 AM Linus Walleij <linus.walleij at linaro.org> 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 at kernel.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
(...)
> + 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
More information about the linux-arm-kernel
mailing list