From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751287AbeAWPEC (ORCPT ); Tue, 23 Jan 2018 10:04:02 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:42762 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbeAWPEA (ORCPT ); Tue, 23 Jan 2018 10:04:00 -0500 From: Sebastian Reichel To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Ian Ray , Nandor Han , Rob Herring , "David S. Miller" , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@lists.collabora.co.uk, Sebastian Reichel Subject: [PATCHv5 0/5] GEHC Bx50 Switch Support Date: Tue, 23 Jan 2018 16:03:45 +0100 Message-Id: <20180123150350.11031-1-sebastian.reichel@collabora.co.uk> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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