From patchwork Mon Sep 19 08:37:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Couzens X-Patchwork-Id: 12979775 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31662C6FA91 for ; Mon, 19 Sep 2022 08:48:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230109AbiISIsv (ORCPT ); Mon, 19 Sep 2022 04:48:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiISIsh (ORCPT ); Mon, 19 Sep 2022 04:48:37 -0400 Received: from mail.base45.de (mail.base45.de [80.241.60.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B51D122509; Mon, 19 Sep 2022 01:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fe80.eu; s=20190804; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type: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=wyupJayZSIFm4y9yPMluAd5MbviJpk1Su8GT/MLhOjk=; b=tzfQxWbqUmiJCTkn6p5176GEvQ Nr6iSRPO7XqqBoc37yt3n2c+COIOanKNp8KNtjNY+RguFlz0Wsy9QxyYFIKZqIE9Oxh1eY0kmRJYx /JsBRFyUcGpPsBDIYiCwkqm8BRd3ETaTlz1G3hCxFRxaxCF7oawUnvoiXw2E2ZKAXoU+lfOMRDxix jk9K3Qx2pruXgvmesvP0GU8Lo8Hl6aHL4KBsjqHXs5KZqtKIEB1PaaN4Y2in7gGCPbRaY0tZL0tnl gOTd3gam97FlNbNM0VVv75owScUUoaMFORiruwkKmUKeRBGiVSGO2Ff1EnF7FjoqVzb97WmF72S2a e3Erp5ig==; Received: from dynamic-089-204-138-189.89.204.138.pool.telefonica.de ([89.204.138.189] helo=localhost.localdomain) by mail.base45.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oaCHH-0015f0-Lm; Mon, 19 Sep 2022 08:37:19 +0000 From: Alexander Couzens To: Felix Fietkau , John Crispin , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger Cc: Daniel Golle , Alexander Couzens , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/5] net: mediatek: sgmii stability Date: Mon, 19 Sep 2022 10:37:07 +0200 Message-Id: <20220919083713.730512-1-lynxis@fe80.eu> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org v1 -> v2: - add & improve comments on unexpected hw behaviour - add patch refactor power cycling into mtk_pcs_config() Alexander Couzens (5): net: mediatek: sgmii: fix powering up the SGMII phy net: mediatek: sgmii: ensure the SGMII PHY is powered down on configuration net: mediatek: sgmii: mtk_pcs_setup_mode_an: don't rely on register defaults net: mediatek: sgmii: set the speed according to the phy interface in AN net: mediatek: sgmii: refactor power cycling into mtk_pcs_config() drivers/net/ethernet/mediatek/mtk_sgmii.c | 41 ++++++++++++++++------- 1 file changed, 28 insertions(+), 13 deletions(-)