[LEDE-DEV] Can ramips use mt7530 switch driver from mainline?

Hauke Mehrtens hauke at hauke-m.de
Sun Mar 4 05:57:39 PST 2018


On 02/28/2018 11:34 AM, Marek Behun wrote:
> Hello,
> 
> the mt7530 switch driver is now in mainline kernel as a DSA driver. The
> LEDE ramips target ethernet driver though doesn't use it yet, and I've
> been thinking what all would have to be done to port the ethernet
> driver to use it, if it even is possible.
> 
> For example, the mt7530 dsa driver device tree binding needs
> regulator definitions (core-supply, io-supply). I haven't seen these
> nowhere in the mt7621 device trees nor in the code. Any ideas?

I think the biggest missing part is a good migration path. Currently the
users have some configurations based on swconfig and this has to be
ported to the DSA configuration model. If someone could create a script
which does the migration of an existing swconfig configuration to a DSA
based configuration that would be very helpful.

Hauke



More information about the Lede-dev mailing list