All of lore.kernel.org
 help / color / mirror / Atom feed
* Status of rt3050-esw driver
@ 2020-12-04 10:42 Mauro Condarelli
  2020-12-04 13:22 ` Daniel Golle
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Condarelli @ 2020-12-04 10:42 UTC (permalink / raw)
  To: linux-mediatek

Hi,
I am very confused about the current status of the driver of internal switch in Subject.
My need is to statically initialize the ESW found in MT7628 SoC.

I have found several references (some rather old) to some work from John Crispin and other developers, but apparently this work did never found its way in the kernel (but socumentation is there in Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt !) because it doesn't seem to conform to kernel guidelines (using DSA infrastructure).

I have been using a derivative of this driver from Stefan Roese, but it "stopped working" some time ago.
I actually use mostly WiFi and thus breakage, happening in some kernel upgrade, went completely unnoticed till recently.
I am fighting to find out exactly where I broke things, but this spawned a search and I'm now wondering if there's a better (and more robust) way to enable MT7628 ESW.

Any hint and/or pointer to relevant documentation would be very welcome.

Thanks in Advance
Mauro Condarelli

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Status of rt3050-esw driver
  2020-12-04 10:42 Status of rt3050-esw driver Mauro Condarelli
@ 2020-12-04 13:22 ` Daniel Golle
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Golle @ 2020-12-04 13:22 UTC (permalink / raw)
  To: Mauro Condarelli; +Cc: linux-mediatek

Hi Mauro,

when it comes to support in vanilla Linux, the closest it gets to is
the work of Stefan Roese from about 1 year ago:

https://github.com/stroese/linux/blob/gardena-v5.5/drivers/net/dsa/mt7628-esw.c

In OpenWrt we carry an out-of-tree legacy switch configuration layer
(swconfig) and that has mature support for the rt3050-esw incl. mt7628:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3050.c;h=292f11a1700e03862e35a772a64e4f56da818b59;hb=HEAD


I hope that helps a bit


On Fri, Dec 04, 2020 at 11:42:01AM +0100, Mauro Condarelli wrote:
> Hi,
> I am very confused about the current status of the driver of internal switch in Subject.
> My need is to statically initialize the ESW found in MT7628 SoC.
> 
> I have found several references (some rather old) to some work from John Crispin and other developers, but apparently this work did never found its way in the kernel (but socumentation is there in Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt !) because it doesn't seem to conform to kernel guidelines (using DSA infrastructure).
> 
> I have been using a derivative of this driver from Stefan Roese, but it "stopped working" some time ago.
> I actually use mostly WiFi and thus breakage, happening in some kernel upgrade, went completely unnoticed till recently.
> I am fighting to find out exactly where I broke things, but this spawned a search and I'm now wondering if there's a better (and more robust) way to enable MT7628 ESW.
> 
> Any hint and/or pointer to relevant documentation would be very welcome.
> 
> Thanks in Advance
> Mauro Condarelli
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-04 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 10:42 Status of rt3050-esw driver Mauro Condarelli
2020-12-04 13:22 ` Daniel Golle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.