From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F31E1C83001 for ; Thu, 30 Apr 2020 08:21:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A867020784 for ; Thu, 30 Apr 2020 08:21:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="BgkFRdPm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726549AbgD3IVU (ORCPT ); Thu, 30 Apr 2020 04:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgD3IVU (ORCPT ); Thu, 30 Apr 2020 04:21:20 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF504C035494 for ; Thu, 30 Apr 2020 01:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hpQ+/6Y6CLzEutz72WVrKtqRxZ8YbRubJFsit6KHifU=; b=BgkFRdPmmWc6iOAsbbVLqghZz /jmZsddE4KEOUmSlNfJ7bUNRo6WDPUrpSlNpNgb+64BbOun07tDYJv4usFTmNtDwwjWfdhEtks/W3 ozE6cDzsFf6tDxMl6X5AbciMiwnVTItOJOxHtqgnHobPS5pZ+TrKacDazR09lSLfuNlnpBHaXusS4 JZP/jju57W9ex3AHWSFSDdSsKueiPOrgZidkoq3imtqW/q+hxxw+FxNN9UU+mHjlzij3zuGt6+bBe 34I3gbbDOjy/ksBBNy+FMH83ld4PZYD1a7I0kRbP92VM4hxTBONFBg92mYAV84GxG6ezfShilvTWa ze5tKlwPw==; Received: from shell.armlinux.org.uk ([2001:4d48:ad52:3201:5054:ff:fe00:4ec]:34134) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jU4RQ-0004i5-35; Thu, 30 Apr 2020 09:21:08 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jU4RM-0001xu-Cy; Thu, 30 Apr 2020 09:21:04 +0100 Date: Thu, 30 Apr 2020 09:21:04 +0100 From: Russell King - ARM Linux admin To: Andrew Lunn , Florian Fainelli , Heiner Kallweit Cc: "David S. Miller" , netdev@vger.kernel.org, Vivien Didelot Subject: [PATCH net-next 0/2] net: dsa: mv88e6xxx: augment phylink support for 10G Message-ID: <20200430082104.GO1551@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, This series adds phylink 10G support for the 88E6390 series switches, as suggested by Andrew Lunn. The first patch cleans up the code to use generic definitions for the registers in a similar way to what was done with the initial conversion of 1G serdes support. The second patch adds the necessary bits 10GBASE mode to the pcs_get_state() method. drivers/net/dsa/mv88e6xxx/serdes.c | 55 ++++++++++++++++++++++++++++++++------ drivers/net/dsa/mv88e6xxx/serdes.h | 7 ++--- 2 files changed, 49 insertions(+), 13 deletions(-) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up