Hi,
This series adds support for MII mode on RGMII interface (patches 3/4,
4/4). Along with this the series also contains minor cleanups (patches 1/3,
2/3) on macb.h.
Thank you,
Claudiu Beznea
Changes in v2:
- added patch 4/4 to enable MII on RGMII support for SAMA7G5 MAC IPs
Claudiu Beznea (4):
net: macb: add description for SRTSM
net: macb: align for OSSMODE offset
net: macb: add support for mii on rgmii
net: macb: enable mii on rgmii for sama7g5
drivers/net/ethernet/cadence/macb.h | 7 +++++--
drivers/net/ethernet/cadence/macb_main.c | 9 +++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
--
2.25.1
Both MAC IPs available on SAMA7G5 support MII on RGMII feature.
Enable these by adding proper capability to proper macb_config
objects.
Signed-off-by: Claudiu Beznea <redacted>
---
drivers/net/ethernet/cadence/macb_main.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Cadence IP has option to enable MII support on RGMII interface. This
could be selected though bit 28 of network control register. This option
is not enabled on all the IP versions thus add a software capability to
be selected by the proper implementation of this IP.
Signed-off-by: Claudiu Beznea <redacted>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
drivers/net/ethernet/cadence/macb.h | 3 +++
drivers/net/ethernet/cadence/macb_main.c | 3 +++
2 files changed, 6 insertions(+)
Hi,
This series adds support for MII mode on RGMII interface (patches 3/4,
4/4). Along with this the series also contains minor cleanups (patches 1/3,
2/3) on macb.h.
Thank you,
Claudiu Beznea
Changes in v2:
- added patch 4/4 to enable MII on RGMII support for SAMA7G5 MAC IPs
and collected tags
Claudiu Beznea (4):
net: macb: add description for SRTSM
net: macb: align for OSSMODE offset
net: macb: add support for mii on rgmii
net: macb: enable mii on rgmii for sama7g5
drivers/net/ethernet/cadence/macb.h | 7 +++++--
drivers/net/ethernet/cadence/macb_main.c | 9 +++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
From: Nicolas Ferre <nicolas.ferre@microchip.com> Date: 2021-09-17 13:33:59
On 17/09/2021 at 15:26, Claudiu Beznea wrote:
Both MAC IPs available on SAMA7G5 support MII on RGMII feature.
Enable these by adding proper capability to proper macb_config
objects.
Signed-off-by: Claudiu Beznea <redacted>
Yes:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Thanks Claudiu, best regards,
Nicolas
From: Andrew Lunn <andrew@lunn.ch> Date: 2021-09-17 14:41:01
On Fri, Sep 17, 2021 at 04:26:15PM +0300, Claudiu Beznea wrote:
Both MAC IPs available on SAMA7G5 support MII on RGMII feature.
Enable these by adding proper capability to proper macb_config
objects.
Signed-off-by: Claudiu Beznea <redacted>
Thanks for adding this.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Fri, 17 Sep 2021 16:26:11 +0300 you wrote:
Hi,
This series adds support for MII mode on RGMII interface (patches 3/4,
4/4). Along with this the series also contains minor cleanups (patches 1/3,
2/3) on macb.h.
Thank you,
Claudiu Beznea
[...]