[PATCHv5 0/5] GEHC Bx50 Switch Support
From: Sebastian Reichel
Date: Tue Jan 23 2018 - 10:04:06 EST
Hi,
This adds support for the internal switch found in GE Healthcare
B450v3, B650v3 and B850v3. All devices use a GPIO bitbanged MDIO
bus to communicate with the switch and a PCIe based network card
for exchanging network data. The cpu network data link requires,
that the switch's internal phy interface is enabled, so support
for that is added by the first patch in this series.
The patch series is based on v4.15-rc8.
Changes since PATCHv4:
* Introduce dsa_port_link_(un)register_of and mark the fixed
variant static.
* Update patch description to describe the phy<->phy connection
from i210 to the Marvell switch
Changes since PATCHv3:
* Enable the phy in dsa_port_setup() instead of abusing the
fixed link setup function
Changes since PATCHv2:
* Add phy nodes to switch in bx50.dtsi and reference them
from switch ports
* Enable cpu-port's phy based on 'phy-handle' instead of 'phy-mode'
Changes since PATCHv1:
* Use 'marvell,mv88e6085' instead of introducing compatible
string for mv88e6240.
* Fix indention of DT nodes
* Only enable 'cpu' phy, if explicitly set to "internal".
-- Sebastian
Sebastian Reichel (5):
net: dsa: Support internal phy on 'cpu' port
ARM: dts: imx6q-bx50v3: Add internal switch
ARM: dts: imx6q-b850v3: Add switch port configuration
ARM: dts: imx6q-b650v3: Add switch port configuration
ARM: dts: imx6q-b450v3: Add switch port configuration
arch/arm/boot/dts/imx6q-b450v3.dts | 52 ++++++++++++++++++
arch/arm/boot/dts/imx6q-b650v3.dts | 52 ++++++++++++++++++
arch/arm/boot/dts/imx6q-b850v3.dts | 75 ++++++++++++++++++++++++++
arch/arm/boot/dts/imx6q-bx50v3.dtsi | 62 ++++++++++++++++++++++
net/dsa/dsa2.c | 7 ++-
net/dsa/dsa_priv.h | 4 +-
net/dsa/legacy.c | 4 +-
net/dsa/port.c | 103 +++++++++++++++++++++++++++---------
8 files changed, 327 insertions(+), 32 deletions(-)
--
2.15.1