Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-09 Thread Sascha Hauer
Hi Andrew, On Tue, Jun 09, 2020 at 03:12:16PM +0200, Andrew Lunn wrote: > On Tue, Jun 09, 2020 at 02:55:35PM +0200, Sascha Hauer wrote: > > On Mon, Jun 08, 2020 at 04:57:37PM +0200, Andrew Lunn wrote: > > > On Mon, Jun 08, 2020 at 09:47:16AM +0200, Sascha Hauer wrote: > > > > The Marvell MVNETA Et

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-09 Thread Andrew Lunn
On Tue, Jun 09, 2020 at 02:55:35PM +0200, Sascha Hauer wrote: > On Mon, Jun 08, 2020 at 04:57:37PM +0200, Andrew Lunn wrote: > > On Mon, Jun 08, 2020 at 09:47:16AM +0200, Sascha Hauer wrote: > > > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > > > called DRSGMII. > > > > >

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-09 Thread Sascha Hauer
On Mon, Jun 08, 2020 at 04:57:37PM +0200, Andrew Lunn wrote: > On Mon, Jun 08, 2020 at 09:47:16AM +0200, Sascha Hauer wrote: > > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > > called DRSGMII. > > > > This patch adds a corresponding phy-mode string 'drsgmii' and parses it

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-09 Thread Sascha Hauer
On Mon, Jun 08, 2020 at 05:08:01PM +0100, Russell King - ARM Linux admin wrote: > On Mon, Jun 08, 2020 at 09:47:16AM +0200, Sascha Hauer wrote: > > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > > called DRSGMII. > > > > This patch adds a corresponding phy-mode string 'drs

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-08 Thread Russell King - ARM Linux admin
On Mon, Jun 08, 2020 at 09:47:16AM +0200, Sascha Hauer wrote: > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > called DRSGMII. > > This patch adds a corresponding phy-mode string 'drsgmii' and parses it > from DT. The MVNETA then configures the SERDES protocol value > acco

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-08 Thread Andrew Lunn
On Mon, Jun 08, 2020 at 09:47:16AM +0200, Sascha Hauer wrote: > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > called DRSGMII. > > This patch adds a corresponding phy-mode string 'drsgmii' and parses it > from DT. The MVNETA then configures the SERDES protocol value > acco

[PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2020-06-08 Thread Sascha Hauer
The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode called DRSGMII. This patch adds a corresponding phy-mode string 'drsgmii' and parses it from DT. The MVNETA then configures the SERDES protocol value accordingly. It was successfully tested on a MV78460 connected to a FPGA. Si

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2017-01-26 Thread Jan Lübbe
On Mi, 2017-01-25 at 12:38 -0500, David Miller wrote: > I still haven't seen a sufficient explanation as to why this change > works without any explicit MAC programming changes to this driver. > > That really needs to be explained before I will apply this patch. I'll need to recheck this with the

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2017-01-25 Thread David Miller
From: Jan Luebbe Date: Mon, 23 Jan 2017 15:22:06 +0100 > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > called DRSGMII. > > This patch adds a corresponding phy-mode string 'drsgmii' and parses it > from DT. The MVNETA then configures the SERDES protocol value > according

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2017-01-24 Thread Andrew Lunn
> It works without any other changes. ;) > > Initially I looked at adding a SPEED_2500, but I wasn't sure which code > would need to handle the new value. Would the path from the ethtool > ioctl to the driver be enough (mvneta_ethtool_set_link_ksettings() as > you said)? You have this connected t

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2017-01-24 Thread Jan Lübbe
Hi Andrew, On Mo, 2017-01-23 at 19:18 +0100, Andrew Lunn wrote: > On Mon, Jan 23, 2017 at 03:22:06PM +0100, Jan Luebbe wrote: > > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > > called DRSGMII. > > > > This patch adds a corresponding phy-mode string 'drsgmii' and parses

Re: [PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2017-01-23 Thread Andrew Lunn
On Mon, Jan 23, 2017 at 03:22:06PM +0100, Jan Luebbe wrote: > The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode > called DRSGMII. > > This patch adds a corresponding phy-mode string 'drsgmii' and parses it > from DT. The MVNETA then configures the SERDES protocol value > accord

[PATCH] net: ethernet: mvneta: add support for 2.5G DRSGMII mode

2017-01-23 Thread Jan Luebbe
The Marvell MVNETA Ethernet controller supports a 2.5 Gbps SGMII mode called DRSGMII. This patch adds a corresponding phy-mode string 'drsgmii' and parses it from DT. The MVNETA then configures the SERDES protocol value accordingly. It was successfully tested on a MV78460 connected to a FPGA. Si