Subject: Re: [PATCH net-next] net: dsa: validate that DT nodes of shared ports have the properties they need

From: Andrew Lunn <[email-masked]>
Date: Sat, 23 Jul 2022 20:09:34 +0200

Hi Vladimir

I think this is a first good step.

> +static const char * const dsa_switches_skipping_validation[] = {

One thing to consider is do we want to go one step further and make
this dsa_switches_dont_enforce_validation

Meaning always run the validation, and report what is not valid, but
don't enforce with an -EINVAL for switches on the list?

Maybe it is too early for that, we first need to submit patches to the
mainline DT files to fixes those we can?

Looking at the mv88e6xxx instances, adding fixed-links should not be
too hard. What might be harder is the phy-mode, in particular, what
RGMII delay should be specified.

      Andrew