From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: [PATCH net-next 0/2] Full phylink support for mv88e6352 Date: Sun, 2 Sep 2018 18:13:13 +0200 Message-ID: <1535904795-17405-1-git-send-email-andrew@lunn.ch> Cc: Florian Fainelli , Vivien Didelot , Chris Healy , netdev , Andrew Lunn To: David Miller Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:49973 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbeIBUaK (ORCPT ); Sun, 2 Sep 2018 16:30:10 -0400 Sender: netdev-owner@vger.kernel.org List-ID: These two patches implement full phylink support for the mv88e6352 family, when using an SFP connected to its SERDES interface. This adds interrupt support to the SERDES, so that we get interrupts on link up/down, and then make calls phydev_link_change(). The first patch is a minor bug fix, which does not seem to affect any current features, so i'm not submitting it for stable. It is however required for configuring SERDES interrupts. Andrew Lunn (2): net: dsa: mv88e6xxx: Fix writing to a PHY page. net: dsa: mv88e6xxx: Add SERDES phydev_link_change for 6352 drivers/net/dsa/mv88e6xxx/chip.c | 6 ++ drivers/net/dsa/mv88e6xxx/phy.c | 3 + drivers/net/dsa/mv88e6xxx/serdes.c | 105 +++++++++++++++++++++++++++++ drivers/net/dsa/mv88e6xxx/serdes.h | 16 +++++ 4 files changed, 130 insertions(+) -- 2.19.0.rc1