🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4296

[PATCH net-next v3 5/9] net: stmmac: qcom-ethqos: warn about legacy RGMII PHY modes

#4296
From: Mohd Ayaan Anwar
Date: Sat, 17 Oct 2026 09:45
33 lines
13310 bytes
The qcom-ethqos driver is moving towards using "rgmii-id" together
with PHY-provided delays. However, existing DTBs use "rgmii" and
"rgmii-txid" and must remain supported for backwards compatibility.

Warn when either of these legacy PHY modes is used to encourage users
to migrate to updated DTBs using "rgmii-id".

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
index 53fb9de4d92c7f1b3c51c183064024f06150444d..a92bf4a6a2dbd987893bd4a3890df770bb7a7e56 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
@@ -764,9 +764,11 @@ static int qcom_ethqos_probe(struct platform_device *pdev)
 	ethqos->phy_mode = plat_dat->phy_interface;
 	switch (ethqos->phy_mode) {
 	case PHY_INTERFACE_MODE_RGMII:
-	case PHY_INTERFACE_MODE_RGMII_ID:
 	case PHY_INTERFACE_MODE_RGMII_RXID:
 	case PHY_INTERFACE_MODE_RGMII_TXID:
+		dev_warn(dev, "legacy RGMII phy-mode detected; consider upgrading to a newer DTB\n");
+		fallthrough;
+	case PHY_INTERFACE_MODE_RGMII_ID:
 		plat_dat->fix_mac_speed = ethqos_fix_mac_speed_rgmii;
 		break;
 	case PHY_INTERFACE_MODE_2500BASEX:

-- 
2.34.1
Technical Details
Message-ID: <20261017-shikra_ethernet-v3-5-26a8beb44b8f@oss.qualcomm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347714-linux-kernel-netdev=dewy.ru
References: <20261017-shikra_ethernet-v3-0-26a8beb44b8f@oss.qualcomm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347714-linux-kernel-netdev=dewy.ru
From: mohd.anwar@oss.qualcomm.com (Mohd Ayaan Anwar)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v3 5/9] net: stmmac: qcom-ethqos: warn about
 legacy RGMII PHY modes
Date: Sat, 17 Oct 2026 15:15:16 +0530
Organization: Usenet Network
Message-ID: <20261017-shikra_ethernet-v3-5-26a8beb44b8f@oss.qualcomm.com>
References: <20261017-shikra_ethernet-v3-0-26a8beb44b8f@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3013335"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:mTNBuuQ8xLSplxK7tpZTgTBj9sg= sha256:8Lx1J9T5CzqhfHOF5zuBmkTptLD8mJntLlahFBlyo3I=
	sha1:tUf9txCcpemQOqFaBKzjflbkBK0= sha256:VHgLIsoOeYjAskCK7ceiKMEbRTI3qbrCUhqwjAati7A=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 36FD61106BF; Sat, 17 Oct 2026 12:48:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.749
X-Spam-Status: No, score=-0.749 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=qualcomm.com header.b=oy7JcGWy; dkim=pass (2048-bit key)
	header.d=oss.qualcomm.com header.b=fvT4uPx/
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id yzdID6wdwFW5;
	Sat, 17 Oct 2026 12:48:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347714-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=oss.qualcomm.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 998491106A6; Sat, 17 Oct 2026 12:48:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 7CBD73DBE2; Sat, 17 Oct 2026 09:46:24 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id D3F8A47F3B3;
	Sat, 17 Oct 2026 09:46:23 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="oy7JcGWy";
	dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fvT4uPx/"
X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131])
	(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 B09B947DD72
	for <netdev@vger.kernel.org>; Sat, 17 Oct 2026 09:46:22 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792230383; cv=none; b=FQwm9o+hPpeZATqOSKABSvJmwZr+F0E3p7QmX87jjIFYB+fCqnK059KokHSOYx+uQBshlbV3H5SFtwGE++OumIctpIuNzsPvfhxYNq01oGGtIiPvi6VM5pGAMWBaK2EunOtShDnkf/9d5YzY4EXKS0262EoS0QJoIJDTjVzyonQ=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792230383; c=relaxed/simple;
	bh=OvmGJXWTrtFVyiq8kkMO2myxFyrf9kt4/dp6hHNffZ4=;
	h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:
	 In-Reply-To:To:Cc; b=gFSTOU5YNdFq73y/fmZMQbo7k9Akdwh+gXhRTsdDR0OcqEzjSmOHYFd0escmWclV5BkkN6vL/r3Eusfjn1WMoGBvZhVOHuPrX46DdkPqLY/sPpA/K9x5v7LF656Bz0bo6dVZpQr/Silr/PsBbTO59IZbuu8LI1PYgt6/VRmBRFk=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=oy7JcGWy; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fvT4uPx/; arc=none smtp.client-ip=205.220.168.131
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com
X-Received: from pps.filterd (m0279864.ppops.net [127.0.0.1])
	by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69H6o5KR3085313
	for <netdev@vger.kernel.org>; Sat, 17 Oct 2026 09:46:22 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
	cc:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
	+HYeP9I0GCFZQ5ANdwKliPovJIbIMV4i61aW+Ci2/bg=; b=oy7JcGWyEuzYQ3r8
	gYpKhW6DhfMXbdHV339j851MenRdV+yKSLpKD2DxeqzhPTy8ke0XdBDG7qj+KS3n
	ANukqof2EimQ0gc90Y2/8LkzgdpHVkAa26wgJSReWJHXbZXxpuWwXpK+B+Fp6/DF
	kXkWemia0zysztzlcQp0rqQR6rTJKcZOMeA3vyGlS2TOkTyxNDTjpvnH0aYyRZeS
	KPGGwCvEL0ce1N/HOdQILTcI5gee4KXR+Iw+InTFdrPTwt+QeeOougt0tM4umtHl
	luC7MZMw3ass6PuZ0QmaEodmQcJyJ05llYeAChOx27ZnaLzvoAsZfm4aff6UMq+D
	4njxXw==
X-Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71])
	by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hc26k0ge7-1
	(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
	for <netdev@vger.kernel.org>; Sat, 17 Oct 2026 09:46:21 +0000 (GMT)
X-Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-139b62317d0so2509757c88.0
        for <netdev@vger.kernel.org>; Sat, 17 Oct 2026 02:46:21 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=oss.qualcomm.com; s=google; t=1792230381; x=1792835181; darn=vger.kernel.org;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=+HYeP9I0GCFZQ5ANdwKliPovJIbIMV4i61aW+Ci2/bg=;
        b=fvT4uPx/voBnzHp/eSZ9q5C6RsQX/5sXAJHIlJYD/9bzULKgZcv83p4IynWzUGsy5F
         eD9Puu+yrJIdr2LfSzEce45Hz2qNilSvujSFYrQJvnVUQ35BbjYte6Xdjsm47uASoHQV
         1ULMK6QMZHdTj56rryFIaviGTHWt4SttOweCDAusJSKiUcPDXv71hTsKvcTZj95D1NTO
         UUuCvVCsXJpV+8zN0ZRt6mDAMBqyUVuWYfzGn9feLSXBRWdWPOT06sbsMnDxQzAqNEwv
         FHNEfuxxx/++L+z8ETZtOxrDuNGocd9mZeUwqfDb/7EX08VKnue6SUJ+0Y3XKKkVRIV9
         hvRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792230381; x=1792835181;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=+HYeP9I0GCFZQ5ANdwKliPovJIbIMV4i61aW+Ci2/bg=;
        b=t+09wWyDGFBvCHWjoDZ9VyWtLxZNm5CeoZTVlQrHbtqTh6fKmtlMAugVlwEe9CxYiM
         dU3YnJAZIaN00OFvw1cDNKAKxl7lH+girDDNsf+GaEYN5QiQ6z+/D4EYLKVl1eFHtmBT
         YM6V5CJJWAx8d8Bdoh/qjco7J4O/reUvyejP8oYcc0pNDLJ01t/RGl2BbYB+o2W94Zx2
         /mfrpJm5zlPUFV7T5ho7WnyZ+N1LP/lqux2qzVBq+03RfSc3Kwh6CSu0DjIMHL4ITiOo
         NIGUybTWuhfWZZl9YmzVLr0x2XtAlwovL8Flli4L/4beNrENGnRAK5MYoXqOsqL0eqzu
         9DJw==
X-Gm-Message-State: AFq9FYLGOxhBFl1t68M+bz6KLs5eu80jE2JtVY6oTg90rmOaclbuNv65
	gDuLyrALyOf/fb/WUPwioWJq3YQEzOewsKvdHudPD64COBwdHYJe5jXvdfpXS3l5VnjGOnxu/Og
	BARIr98x3NjE/zOAIuL04zHT4ogTLVJe8/BuzdOuwiChP9px7Agb4XnbG82k=
X-Gm-Gg: AYBFou0uehEFpgFcGoCvLuIeaeuwJ89RlfPrRxaYpL9TOzLXXOI2ck5qogXzA0aFiCe
	hyIYkmv9e4g5bpLUHBLqG28FuuZzqtXKPrR+r73W5NsqgjMsqTivrQOcOxi7YP/L3iYS1/DP5N/
	xJTKrK258a2zQF/ac+VBt9FJr5pXI3/l42KIQRMTKg+ujhOVYiYx5A4yT6uWcF/Jbo7AX8z4vgE
	4KLXdIWc8Hus5VzAZK64C/U5O2Yx29XPQ9y45ZtygIM1YyByNT2JP410o132FRYn7byDfFmWg8v
	u/1vHj+LAOW9GiDZbxio0A1FgiA94bQJvMTwf9IrZQAGJVBn4z9JXcMalOD10+1W/ZK5SH4fcD2
	PSV+UB521zDTo2JvMp/hK1cKuO1HYEg==
X-Received: by 2002:a05:7022:ea50:b0:184:ad2a:d1fd with SMTP id a92af1059eb24-1851434f3a6mr3139759c88.37.1792230381148;
        Sat, 17 Oct 2026 02:46:21 -0700 (PDT)
X-Received: by 2002:a05:7022:ea50:b0:184:ad2a:d1fd with SMTP id a92af1059eb24-1851434f3a6mr3139733c88.37.1792230380448;
        Sat, 17 Oct 2026 02:46:20 -0700 (PDT)
X-Received: from hu-mohdayaa-hyd.qualcomm.com ([202.46.23.25])
        by smtp.gmail.com with ESMTPSA id a92af1059eb24-1831a6f58c2sm19450327c88.11.2026.10.17.02.46.11
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sat, 17 Oct 2026 02:46:20 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261017-shikra_ethernet-v3-0-26a8beb44b8f@oss.qualcomm.com>
X-Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
        linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
        linux-stm32@st-md-mailman.stormreply.com,
        linux-arm-kernel@lists.infradead.org,
        Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
X-Mailer: b4 0.14.2
X-Developer-Signature: v=1; a=ed25519-sha256; t=1792230324; l=1435;
 i=mohd.anwar@oss.qualcomm.com; s=20250907; h=from:subject:message-id;
 bh=OvmGJXWTrtFVyiq8kkMO2myxFyrf9kt4/dp6hHNffZ4=;
 b=ZnbcXm8Z2hi1B/lA4I2DjR/FLx1XW9n3Nru6ekJc69aowa7T3fWHXOPwCuPq/FxiJ/AKG4EC8
 Xn8j+raOiQ3A23k87poAvNp7QKPVaWHVZfXDNKxbKGRYZMUyb3vkDZc
X-Developer-Key: i=mohd.anwar@oss.qualcomm.com; a=ed25519;
 pk=7JNY72mz7r6hQstsamPYlUbLhQ5+W64pY4LgfSh9DJU=
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE3MDAzOCBTYWx0ZWRfXyqkU9gPjcp+O
 NwXXtpy3HlwHw3BT9+S8zslRWod04A9WTDSvGjAdgsdcdSLXWN8iuohBTEpWCTkgf1oqvUDQ6BD
 npPowzf6tMYwbjvHBPRUKOKgrzTstVk6zce1cXJwv1KN3SWFOsu/E/OPbizEYitu6oYurAl5f+/
 AGdkEqWvfYTjgQ3YwVzU6hqBjP8glU8MrsakEO+X9xZqm/TjgR+0agOng3Xsi7iwcXXdll4WykZ
 +zihXstHW8xVYpYEO7ulp6JJ2hUXa0L5sxrvS+sTgigNpv8lIx0QinO4VfTfv8tY4jflLhDsYrs
 YEXitRT+7/Z9c7M5wrktNSJo8+L2NIY8vlakr4j15UiuNumTexZdNa+ZR+P+m2qIMfwnr6Oo1Y5
 9JE4sswhRI7rVqRmRnMgZpux4HLu5RPbcOEdbIYfY9m4sq3mt9SONIOlWCya1rsU+u0NCcyy3gQ
 imzJwlPDvPVvCXRvb5g==
X-Proofpoint-GUID: Ar244xlhd2yPtsyZtxdtWe1j1QOukHXc
X-Proofpoint-Spam-Info: AW1haW4tMjYxMDE3MDAzOCBTYWx0ZWRfX5SaEx/61io1o
 b2ZDdyi8oZ0IuPqPiXnA0Tcl5WJRf60OmtAoXniDZOJkPhfcnbelFFFMricx1ylNI4dTWB/ONrR
 oo8nrzeA423r3D8TFiIPZAdhqJtysJA=
X-Proofpoint-ORIG-GUID: Ar244xlhd2yPtsyZtxdtWe1j1QOukHXc
X-Authority-Analysis: v=2.4 cv=Cowq4X4D c=1 sm=1 tr=0 ts=6ad343ed cx=c_pps
 a=JYo30EpNSr/tUYqK9jHPoA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17
 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10
 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22
 a=EUspDBNiAAAA:8 a=VSm8jR0bnqFplKljzc0A:9 a=QEXdDO2ut3YA:10
 a=Fk4IpSoW4aLDllm1B1p-:22
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49
 definitions=2026-10-17_02,2026-10-14_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 clxscore=1015 impostorscore=0 adultscore=0 priorityscore=1501 suspectscore=0
 lowpriorityscore=0 bulkscore=0 phishscore=0 spamscore=0 malwarescore=0
 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
 reason=mlx scancount=1 engine=8.22.0-2610080000 definitions=main-2610170038