From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next 5/5] net: dsa: b53: Add SerDes support Date: Wed, 5 Sep 2018 01:15:43 +0200 Message-ID: <20180904231543.GI29121@lunn.ch> References: <20180904221120.13018-1-f.fainelli@gmail.com> <20180904221120.13018-6-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, vivien.didelot@savoirfairelinux.com, davem@davemloft.net To: Florian Fainelli Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:52349 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbeIEDnF (ORCPT ); Tue, 4 Sep 2018 23:43:05 -0400 Content-Disposition: inline In-Reply-To: <20180904221120.13018-6-f.fainelli@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Sep 04, 2018 at 03:11:20PM -0700, Florian Fainelli wrote: > Add support for the Northstar Plus SerDes which is accessed through a > special page of the switch. Since this is something that most people > probably will not want to use, make it a configurable option. > > The SerDes supports both SGMII and 1000baseX modes, and is internally > looking like a seemingly standard MII PHY, except for the few bits that > got repurposed. Hi Florian The SERDES in the 6352 also look very similar to a standard MII PHYs. Maybe at some point, we should look at the SERDES drivers we have embedded in different MAC drivers, and see if we can pull them out, maybe put them in drivers/net/phy. Any SERDES driver being used in combination with phylink probably has the same API. Andrew