linux_dsm_epyc7002/drivers/net/dsa/mv88e6xxx
Rasmus Villemoes f30a19b828 net: dsa: mv88e6xxx: introduce support for two chips using direct smi addressing
The 88e6250 (as well as 6220, 6071, 6070, 6020) do not support
multi-chip (indirect) addressing. However, one can still have two of
them on the same mdio bus, since the device only uses 16 of the 32
possible addresses, either addresses 0x00-0x0F or 0x10-0x1F depending
on the ADDR4 pin at reset [since ADDR4 is internally pulled high, the
latter is the default].

In order to prepare for supporting the 88e6250 and friends, introduce
mv88e6xxx_info::dual_chip to allow having a non-zero sw_addr while
still using direct addressing.

Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-04 20:07:56 -07:00
..
chip.c net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT 2019-05-30 12:28:06 -07:00
chip.h net: dsa: mv88e6xxx: introduce support for two chips using direct smi addressing 2019-06-04 20:07:56 -07:00
global1_atu.c net: dsa: mv88e6xxx: Fix counting of ATU violations 2019-02-05 16:37:52 -08:00
global1_vtu.c net: dsa: mv88e6xxx: Make VTU miss violations less spammy 2018-03-29 15:04:22 -04:00
global1.c net: dsa: mv88e6xxx: add mv88e6250_g1_ieee_pri_map 2019-06-04 20:07:56 -07:00
global1.h net: dsa: mv88e6xxx: add mv88e6250_g1_ieee_pri_map 2019-06-04 20:07:56 -07:00
global2_avb.c net: dsa: mv88e6xxx: Add MV88E6165 AVB register access 2018-07-18 15:05:38 -07:00
global2_scratch.c net: dsa: mv88e6xxx: scratch registers and external MDIO pins 2018-02-22 14:46:32 -05:00
global2.c net: dsa: mv88e6xxx: Remove OF check for IRQ domain 2018-05-20 18:58:27 -04:00
global2.h net: dsa: mv88e6xxx: Add MV88E6165 AVB register access 2018-07-18 15:05:38 -07:00
hwtstamp.c net: dsa: mv88e6xxx: Longer timeout for PTP TX timestamp 2018-07-18 15:05:38 -07:00
hwtstamp.h net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165 2018-07-18 15:05:38 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile net: dsa: mv88e6xxx: refine SMI support 2019-05-05 21:50:22 -07:00
phy.c net: dsa: mv88e6xxx: Fix writing to a PHY page. 2018-09-02 16:16:23 -07:00
phy.h net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
port.c net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode 2019-03-27 21:53:50 -07:00
port.h net: dsa: mv88e6xxx: remove unneeded cmode initialization 2019-03-27 13:47:23 -07:00
ptp.c net: dsa: mv88e6xxx: Fix -Wformat-security warnings 2019-02-23 13:44:57 -08:00
ptp.h net: dsa: mv88e6xxx: Set PTP Ethertype 2018-07-18 15:05:38 -07:00
serdes.c net: dsa: mv88e6xxx: support in-band signalling on SGMII ports with external PHYs 2019-03-04 10:52:39 -08:00
serdes.h net: dsa: mv88e6xxx: support in-band signalling on SGMII ports with external PHYs 2019-03-04 10:52:39 -08:00
smi.c net: dsa: mv88e6xxx: introduce support for two chips using direct smi addressing 2019-06-04 20:07:56 -07:00
smi.h net: dsa: mv88e6xxx: refine SMI support 2019-05-05 21:50:22 -07:00