Re: [PATCH net-next v2 2/4] dt-bindings: net: dsa: Add SoC-e SWIP switch

From: Vasilij Strassheim

Date: Tue Sep 08 2026 - 06:22:27 EST


On Mon, 2026-09-07 at 20:56 +0200, Andrew Lunn wrote:
> > > ethernet-ports
> > >
> > > > + patternProperties:
> > > > + '^(ethernet-)?port@[0-9a-f]+$':
> > >
> > > ethernet-port
> > >
> >
> > Is there a reason for such a restriction?
> > The pattern intentionally follows the generic DSA binding in dsa.yaml,
>
> You need to be careful with the DSA binding. It is old, and uses some
> things which are not considered best practices today. But they cannot
> be removed because of backwards compatibility.
>

Got it. Technically, it makes no difference, so I will just fix it.

Thanks,
Vasilij