Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp223056rdd; Tue, 9 Jan 2024 01:58:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IETxwWuDhe4yNO1TeSGB+UFtjpvqTzw2bXmDTEdgPzVIDgPkH8+PBb6HFIOYviNOq3mPfm9 X-Received: by 2002:a17:906:c04a:b0:a28:e159:b598 with SMTP id bm10-20020a170906c04a00b00a28e159b598mr509999ejb.60.1704794301594; Tue, 09 Jan 2024 01:58:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704794301; cv=none; d=google.com; s=arc-20160816; b=Ft8cv02PgQGwDz86vczUzM+iOXJlSXGGYEaK4Xp5Mjal7YvxyldI2uaJIwkMbAE/bH eakXSL9NSvWImZ/g0Z0BtUptQMfho4/67dG0zVA4Z6UlQCxjj/bMWv3JVQ2jWBX/JlKB 1ORwm72mqGB305sWo+aC3Yqx4xTSEPzVs/+a4UbvO7jILii0+NLIO2iYWPRg1Gu5414q Iv8i0hMZv5UWSCn/8srjTQezVhiPVYpbXpwsilqNlL/O8UzUvDoLK5bXt7WX3AaihwR1 BUOSa8GoAxoYCr1E3I95O83nkCuEjHiPEzkwBLyF802uqIuxHf+aAT+/MGru1jmyjyxN 9dQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=9yxtRoiL+HsiBGSvW8w0XaSF7M/LykdkeumEpS4j1VE=; fh=M1qfrahb/qW7n6G/0kHpmUybK+Ky3Jq5+sps382+aZ4=; b=KvtkmQdn+De1ncIrQ10dCgqQ1hiejn+1kZBQ/cCgDO8k4Rd86VUc1dt82E4LyOlrPp n1J0P/3L71vb0TMQEketqh1oT6LbqM7Z8BUXAKQBcVJ/cG/zmZeHY50TWj9Md46LepVn 8Z4hIAgYrA5iZRcuMEkiQsbHhH6yj3NHt7crhxqL+GDvmLiLpE2pd4ok/8Fen4tw571Y p2BnTvJxPxZ0pcVShMJF7EPImTPF5HAVtuP1TyatKF24/nl6JX8D3MMvCwRb5Pyev8zs lLVmCRuNpZvADJiGdvswmGX85qE4/m0GyfSogDTiy22dQZ985kg/j86xaEmLnQg7/EMA FI7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20693-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gs25-20020a170906f19900b00a2ae348c6fdsi638244ejb.399.2024.01.09.01.58.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 01:58:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20693-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20693-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5C4BD1F28A05 for ; Tue, 9 Jan 2024 09:58:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46F7336083; Tue, 9 Jan 2024 09:58:12 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 606FF224E9 for ; Tue, 9 Jan 2024 09:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rN8rr-0007j1-TQ; Tue, 09 Jan 2024 10:57:55 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rN8rq-001Rfy-Fo; Tue, 09 Jan 2024 10:57:54 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rN8rq-007r08-1I; Tue, 09 Jan 2024 10:57:54 +0100 From: Oleksij Rempel To: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Woojung Huh , Arun Ramadoss Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: [RFC net-next v2 0/3] net: dsa: microchip: implement PHY loopback Date: Tue, 9 Jan 2024 10:57:50 +0100 Message-Id: <20240109095753.1872010-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org changes v2: - add Reviewed-by: Vladimir Oltean to first 2 patches - make sure reverse x-mas tree is present in all patches - add new lines between if statements - reword commit message of the 3. patch Oleksij Rempel (3): net: dsa: microchip: ksz8: move BMCR specific code to separate function net: dsa: microchip: Remove redundant optimization in ksz8_w_phy_bmcr net: dsa: microchip: implement PHY loopback configuration for KSZ8794 and KSZ8873 drivers/net/dsa/microchip/ksz8795.c | 360 +++++++++++++++--------- drivers/net/dsa/microchip/ksz8795_reg.h | 1 + 2 files changed, 230 insertions(+), 131 deletions(-) -- 2.39.2