linux/drivers/net/dsa/mv88e6xxx
Steffen Bätz 91e87045a5 net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
Currently, the .port_set_rgmii_delay hook is missing for the 88E6320
family, which causes failure to retrieve an IP address via DHCP.

Add mv88e6320_port_set_rgmii_delay() that allows applying the RGMII
delay for ports 2, 5, and 6, which are the only ports that can be used
in RGMII mode.

Tested on a custom i.MX8MN board connected to an 88E6320 switch.

This change also applies safely to the 88E6321 variant.

The only difference between 88E6320 versus 88E6321 is the temperature
grade and pinout.

They share exactly the same MDIO register map for ports 2, 5, and 6,
which are the only ports that can be used in RGMII mode.

Signed-off-by: Steffen Bätz <steffen@innosonix.de>
[fabio: Improved commit log and extended it to mv88e6321_ops]
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221028163158.198108-1-festevam@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-10-31 20:00:20 -07:00
..
chip.c net: dsa: mv88e6xxx: Add RGMII delay to 88E6320 2022-10-31 20:00:20 -07:00
chip.h net: dsa: mv88e6xxx: get rid of SPEED_MAX setting 2022-06-23 20:26:41 -07:00
devlink.c net: dsa: mv88e6xxx: Export STU as devlink region 2022-03-17 16:49:59 -07:00
devlink.h net: dsa: tear down devlink port regions when tearing down the devlink port on error 2021-09-19 13:05:44 +01:00
global1_atu.c net: mv88e6xxx: convert comma to semicolon 2020-12-09 16:23:08 -08:00
global1_vtu.c net: dsa: mv88e6xxx: Disentangle STU from VTU 2022-03-17 16:49:59 -07:00
global1.c dsa: mv88e6xxx: Fix MTU definition 2021-09-27 13:31:10 +01:00
global1.h net: dsa: mv88e6xxx: Disentangle STU from VTU 2022-03-17 16:49:59 -07:00
global2_avb.c
global2_scratch.c net: dsa: mv88e6xxx: add mv88e6352_g2_scratch_port_has_serdes() 2022-02-03 14:10:35 +00:00
global2.c net: dsa: mv88e6xxx: Export cross-chip PVT as devlink region 2021-04-21 10:25:09 -07:00
global2.h net: dsa: mv88e6xxx: Allow external SMI if serial 2022-08-26 19:25:37 -07:00
hwtstamp.c net: dsa: Use netif_rx(). 2022-03-04 12:02:19 +00:00
hwtstamp.h net: dsa: no longer clone skb in core driver 2021-04-27 14:10:15 -07:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile net: dsa: mv88e6xxx: Make global2 support mandatory 2021-01-27 19:28:16 -08:00
phy.c
phy.h
port_hidden.c net: dsa: mv88e6xxx: Fix port_hidden_wait to account for port_base_addr 2022-04-26 12:03:58 +02:00
port.c net: dsa: mv88e6xxx: Add RGMII delay to 88E6320 2022-10-31 20:00:20 -07:00
port.h net: dsa: mv88e6xxx: Add RGMII delay to 88E6320 2022-10-31 20:00:20 -07:00
ptp.c
ptp.h
serdes.c net: dsa: mv88e6xxx: correctly report serdes link failure 2022-06-08 20:58:30 -07:00
serdes.h dsa: mv88e6xxx: make serdes SGMII/Fiber tx amplitude configurable 2022-02-11 11:21:34 +00:00
smi.c net: dsa: mv88e6xxx: Improve indirect addressing performance 2022-01-31 11:29:12 +00:00
smi.h