Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751823AbdIAJFW (ORCPT ); Fri, 1 Sep 2017 05:05:22 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:45358 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541AbdIAJFE (ORCPT ); Fri, 1 Sep 2017 05:05:04 -0400 From: Antoine Tenart To: davem@davemloft.net Cc: Antoine Tenart , andrew@lunn.ch, gregory.clement@free-electrons.com, thomas.petazzoni@free-electrons.com, nadavh@marvell.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, mw@semihalf.com, stefanc@marvell.com, miquel.raynal@free-electrons.com, netdev@vger.kernel.org Subject: [PATCH net-next v2 0/4] net: mvpp2: optional PHYs and GoP link irq Date: Fri, 1 Sep 2017 11:04:51 +0200 Message-Id: <20170901090455.32316-1-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.13.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1268 Lines: 35 Hi all, This series aims at making the driver work when no PHY is connected between a port and the physical layer and not described as a fixed-phy. This is useful for some usecases such as when a switch is connected directly to the serdes lanes. It can also be used for SFP ports on the 7k-db and 8k-db while waiting for the phylink support to land in (which should be part of another series). This series makes the phy optional in the PPv2 driver, and then adds the support for the GoP port link interrupt to handle link status changes on such ports. This was tested using the SFP ports on the 7k-db and 8k-db boards. Thanks! Antoine Since v1: - Now use phy_interface_mode_is_rgmii() in the GoP link patch. - Added one cosmetic patch to take advantage of phy_interface_mode_is_rgmii() in the whole PPv2 driver. Antoine Tenart (4): net: mvpp2: take advantage of the is_rgmii helper net: mvpp2: make the phy optional net: mvpp2: use the GoP interrupt for link status changes Documentation/bindings: net: marvell-pp2: add the link interrupt .../devicetree/bindings/net/marvell-pp2.txt | 2 +- drivers/net/ethernet/marvell/mvpp2.c | 211 ++++++++++++++++++--- 2 files changed, 187 insertions(+), 26 deletions(-) -- 2.13.5