Re: [PATCH 1/2] net: dsa: felix: allow the device to be disabled

From: Andrew Lunn
Date: Fri Mar 13 2020 - 06:01:26 EST


e> IMHO since DSA is already dependent on device tree for PHY bindings,
> it would make more sense to move this there:

That is not really true. You can instantiate a marvell switch using a
platform device. So long any you only have C22 PHYs in a sane
configuration, it will just work. There are boards out there do this,
on x86 platforms without device tree.

Andrew