From patchwork Mon Aug 9 10:22:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wong Vee Khee X-Patchwork-Id: 12426153 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=-12.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 75964C4338F for ; Mon, 9 Aug 2021 10:19:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 165FB6108C for ; Mon, 9 Aug 2021 10:19:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 165FB6108C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=L4J/Sl9vXP1tNaLuSnR6ivZ4V3Ulgfh/b8AMH0B7FNE=; b=DqLxGnbWtSM1zf 2YT34EyIXyqWUnyX8cNpmZ0iLMCDP+DzfHBYOAm8tydVYKR7dnBOXLPzIBTEnwr/g3GJ6iiL3bkjo gXUSI6nFJIAHfyWBOW3pXQ4Cl2S7RgWsk/940xfJkEjbscp3Lm2HA6xJIRuHbT851PVSTt4qecaD8 lI58fyEZG4lbYNABOSJvBSeq0w2c8CFCRzN5SLsPd0TqLRgiLwdHhH9ZzDh9ZmOwUxSxle/VIhkgq rqWnR78C9Tk5+pzVKdXy4Xe+a5AUJIdqAsd/b1zpU6Wlce/fX/PSmdSBoavJQ1SVwaFWbVuwVWTaG QrH44ekUbL0UVFMorqbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD2LI-000B4c-MG; Mon, 09 Aug 2021 10:17:12 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD2LE-000B3q-3j for linux-arm-kernel@lists.infradead.org; Mon, 09 Aug 2021 10:17:10 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10070"; a="211555822" X-IronPort-AV: E=Sophos;i="5.84,307,1620716400"; d="scan'208";a="211555822" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2021 03:17:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,307,1620716400"; d="scan'208";a="483284173" Received: from linux.intel.com ([10.54.29.200]) by fmsmga008.fm.intel.com with ESMTP; 09 Aug 2021 03:17:05 -0700 Received: from glass.png.intel.com (glass.png.intel.com [10.158.65.69]) by linux.intel.com (Postfix) with ESMTP id F14CD580910; Mon, 9 Aug 2021 03:17:00 -0700 (PDT) From: Wong Vee Khee To: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S . Miller" , Jakub Kicinski , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Heiner Kallweit , Russell King Cc: Voon Weifeng , Wong Vee Khee , Michael Sit Wei Hong , Vladimir Oltean , linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/2] Intel AlderLake-S 2.5Gbps link speed support Date: Mon, 9 Aug 2021 18:22:27 +0800 Message-Id: <20210809102229.933748-1-vee.khee.wong@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210809_031708_197709_9E3FF973 X-CRM114-Status: GOOD ( 10.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series add 2.5Gbps support for Intel AlderLake-S platform. Beside register 2.5G callback function in the dwmac_intel driver, an additional step to not perform xPCS soft reset on driver init is also required. Michael Sit Wei Hong (2): net: pcs: xpcs: enable skip xPCS soft reset stmmac: intel: Enable 2.5Gbps on Intel AlderLake-S drivers/net/dsa/sja1105/sja1105_mdio.c | 2 +- .../net/ethernet/stmicro/stmmac/dwmac-intel.c | 4 ++++ .../net/ethernet/stmicro/stmmac/stmmac_mdio.c | 4 +++- drivers/net/pcs/pcs-xpcs.c | 16 ++++++++++++---- include/linux/pcs/pcs-xpcs.h | 3 ++- include/linux/stmmac.h | 1 + 6 files changed, 23 insertions(+), 7 deletions(-)