mirror-linux/drivers/net
Steffen Bätz 7bfd4c0ebc net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
commit 91e87045a5 upstream.

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>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 14:03:17 +01:00
..
appletalk
arcnet
bonding bonding: fix send_peer_notif overflow 2023-05-24 17:32:32 +01:00
caif
can can: kvaser_pciefd: Disable interrupts in probe error path 2023-05-24 17:32:50 +01:00
dsa net: dsa: mv88e6xxx: Add RGMII delay to 88E6320 2023-05-30 14:03:17 +01:00
ethernet igb: fix bit_shift to be in [1..8] range 2023-05-24 17:32:47 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan ipvlan:Fix out-of-bounds caused by unclear skb->cb 2023-05-24 17:32:32 +01:00
mctp
mdio net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() 2023-05-24 17:32:31 +01:00
netdevsim
pcs net: pcs: xpcs: fix C73 AN not getting enabled 2023-05-24 17:32:47 +01:00
phy net: phy: dp83867: add w/a for packet errors seen with short cables 2023-05-24 17:32:43 +01:00
plip
ppp
pse-pd
slip
team
usb r8152: move setting r8153b_rx_agg_chg_indicate() 2023-05-17 11:53:34 +02:00
vmxnet3
vxlan
wan
wireguard
wireless wifi: rtw88: use work to update rate to avoid RCU warning 2023-05-24 17:32:50 +01:00
wwan net: wwan: iosm: fix NULL pointer dereference when removing device 2023-05-24 17:32:47 +01:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c net: add vlan_get_protocol_and_depth() helper 2023-05-24 17:32:32 +01:00
thunderbolt.c
tun.c tun: Fix memory leak for detached NAPI queue. 2023-05-24 17:32:47 +01:00
veth.c
virtio_net.c virtio_net: Fix error unwinding of XDP initialization 2023-05-24 17:32:45 +01:00
vrf.c
vsockmon.c
xen-netfront.c