From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net-next v3 0/5] net: dsa: b53: SerDes support Date: Wed, 5 Sep 2018 12:42:10 -0700 Message-ID: <20180905194215.29301-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-qk1-f194.google.com ([209.85.222.194]:34343 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbeIFAOS (ORCPT ); Wed, 5 Sep 2018 20:14:18 -0400 Received: by mail-qk1-f194.google.com with SMTP id d15-v6so5745209qkc.1 for ; Wed, 05 Sep 2018 12:42:38 -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 v3: - properly hunk the request_threaded_irq() bits into patch #2 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 | 206 ++++++++++++++++++++++++++ 7 files changed, 805 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