Re: [RFC v1 1/3] net: dsa: mt753x: make reset optional

From: Florian Fainelli
Date: Tue Apr 26 2022 - 11:42:40 EST


On 4/26/22 06:49, Frank Wunderlich wrote:
From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>

Currently a reset line is required, but on BPI-R2-Pro board
this reset is shared with the gmac and prevents the switch to
be initialized because mdio is not ready fast enough after
the reset.

So make the reset optional to allow shared reset lines.

Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>

This looks fine however Documentation/devicetree/bindings/net/dsa/mt7530.txt still has some verbiage that suggests that the 'reset' property is mandatory, so you might need to update the binding (and as a separate patch we should make it YAML).
--
Florian