From: David S. Miller Date: Wed, 24 Jan 2018 00:22:39 +0000 (-0500) Subject: Merge branch 'GEHC-Bx50-Switch-Support' X-Git-Tag: v6.6-pxa1908~14896^2~73 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c89b517da1b7929bc13d9b9c9dca8183022b4804;p=linux.git Merge branch 'GEHC-Bx50-Switch-Support' Sebastian Reichel says: ==================== GEHC Bx50 Switch Support 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". ==================== Signed-off-by: David S. Miller --- c89b517da1b7929bc13d9b9c9dca8183022b4804