From patchwork Thu Jan 19 17:12:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bj=C3=B8rn_Mork?= X-Patchwork-Id: 13108411 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 CA7A8C004D4 for ; Thu, 19 Jan 2023 17:25:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbjASRZq (ORCPT ); Thu, 19 Jan 2023 12:25:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjASRZq (ORCPT ); Thu, 19 Jan 2023 12:25:46 -0500 Received: from dilbert.mork.no (dilbert.mork.no [IPv6:2a01:4f9:c010:a439::d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8242548637 for ; Thu, 19 Jan 2023 09:25:41 -0800 (PST) Received: from canardo.dyn.mork.no ([IPv6:2a01:799:c9a:3200:0:0:0:1]) (authenticated bits=0) by dilbert.mork.no (8.15.2/8.15.2) with ESMTPSA id 30JHDBZ12320859 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Thu, 19 Jan 2023 17:13:12 GMT Received: from canardo.dyn.mork.no (ip6-localhost [IPv6:0:0:0:0:0:0:0:1]) by canardo.dyn.mork.no (8.15.2/8.15.2) with ESMTPS id 30JHD6mA3882097 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Thu, 19 Jan 2023 18:13:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1674148386; bh=3M77ua0XQkmr+zsIbAEyz3vp5+v89MydrFMIqwukvHw=; h=From:To:Cc:Subject:Date:Message-Id:From; b=hFo6K42Zx1zABjpl+Gi1ohJw0fjoVnrPKculC2eEJGhnjwn+c/uVWTfxCiiyUUVaQ RrV+/J0EFKgKCIBsu/SwCLO0LvSPSCgSU3IVUnddTAXTo7eRBYyTsP1xO4gxDEhhCn o3i+i6A5RLQt9PgMblpnI1HC/rKj151TYCQmj2G4= Received: (from bjorn@localhost) by canardo.dyn.mork.no (8.15.2/8.15.2/Submit) id 30JHD4gX3882094; Thu, 19 Jan 2023 18:13:04 +0100 From: =?utf-8?q?Bj=C3=B8rn_Mork?= To: netdev@vger.kernel.org Cc: Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Russell King , Daniel Golle , Alexander Couzens , =?utf-8?q?Bj=C3=B8rn_Mork?= Subject: [PATCH net 0/3] fixes for mtk_eth_soc Date: Thu, 19 Jan 2023 18:12:45 +0100 Message-Id: <20230119171248.3882021-1-bjorn@mork.no> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.7 at canardo X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fix mtk_eth_soc sgmii configuration. This has been tested on a MT7986 with a Maxlinear GPY211C phy permanently attached to the second SoC mac. Alexander Couzens (1): net: mediatek: sgmii: ensure the SGMII PHY is powered down on configuration Bjørn Mork (2): net: mediatek: sgmii: autonegotiation is required net: mediatek: sgmii: fix duplex configuration drivers/net/ethernet/mediatek/mtk_eth_soc.h | 2 +- drivers/net/ethernet/mediatek/mtk_sgmii.c | 35 ++++++++++++--------- 2 files changed, 22 insertions(+), 15 deletions(-)