From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net-next v2 0/5] net: dsa: b53: SerDes support Date: Wed, 5 Sep 2018 12:23:22 -0700 Message-ID: <20180905192327.6469-1-f.fainelli@gmail.com> Cc: Florian Fainelli , andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, davem@davemloft.net To: netdev@vger.kernel.org Return-path: Received: from mail-pf1-f193.google.com ([209.85.210.193]:35429 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbeIEXzq (ORCPT ); Wed, 5 Sep 2018 19:55:46 -0400 Received: by mail-pf1-f193.google.com with SMTP id p12-v6so3978457pfh.2 for ; Wed, 05 Sep 2018 12:24:12 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Hi all, This patch series adds support for the SerDes found on NorthStar Plus (NSP) which allows us to use the SFP port on the BCM958625HR board (and other similar designs). Changes in v2: - migrate to threaded interrupt (Andrew) - fixed a case where MLO_AN_FIXED's mac_config would still call into the serdes_config callback - added an additional check on the phylink interface in mac_config - default to ARCH_BCM_NSP instead of ARCH_BCM_IPROC which is really the NSP Kconfig bit we want Florian Fainelli (5): net: dsa: b53: Add ability to enable/disable port interrupts net: dsa: b53: Make SRAB driver manage port interrupts net: dsa: b53: Add helper to set link parameters net: dsa: b53: Add PHYLINK support net: dsa: b53: Add SerDes support drivers/net/dsa/b53/Kconfig | 7 + drivers/net/dsa/b53/Makefile | 1 + drivers/net/dsa/b53/b53_common.c | 246 +++++++++++++++++++++++++++---- drivers/net/dsa/b53/b53_priv.h | 36 +++++ drivers/net/dsa/b53/b53_serdes.c | 217 +++++++++++++++++++++++++++ drivers/net/dsa/b53/b53_serdes.h | 121 +++++++++++++++ drivers/net/dsa/b53/b53_srab.c | 210 ++++++++++++++++++++++++++ 7 files changed, 809 insertions(+), 29 deletions(-) create mode 100644 drivers/net/dsa/b53/b53_serdes.c create mode 100644 drivers/net/dsa/b53/b53_serdes.h -- 2.17.1