🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18972

Re: [PATCH net-next v3] net: phy: motorcomm: add YT8831 2.5G PHY support

#18972
From: "Frank.sae"
Date: Thu, 19 Nov 2026 05:56
28 lines
8607 bytes
> Please break the patch up. Add basic support as a patch, then
> downshift and WoL as additional patches.
>
> The WoL code looks wrong, i don't see any calls to
> device_may_wakeup(), device_set_wakeup_capable() etc.
>
> What exactly is AUTO_BX2500_SGMII and how does it differ from SGMII?

Hi Andrew,

Thanks for your review.

I have split the submission:
This v4 only contains basic YT8831 PHY support.
Downshift is not implemented for YT8831 at this time.
WoL support is removed from this series; I will fix the wakeup API handling
(device_set_wakeup_capable() / device_may_wakeup()) and send WoL as a separate follow-up patch later.

AUTO_BX2500_SGMII is YT8831 chip-specific mode:
When operating in AUTO_BX2500_SGMII mode, the YT8831 adjusts the PHY media side to 2500-BaseX or SGMII based on the connection speed on the PHY UTP side.
1. Media: 2500BX – UTP: 2.5G
2. Media: SGMII – UTP: 1000M/100M/10M
Differnece from SGMII is it also includes the 2500-BaseX mode, which is switched automatically.

The v4 basic support patch will follow shortly.

Frank
Technical Details
Message-ID: <20261119055645.653216-1-frank.sae@motor-comm.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366750-linux-kernel-netdev=dewy.ru
References: <20261118033539.36633-1-frank.sae@motor-comm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366750-linux-kernel-netdev=dewy.ru
From: frank.sae@motor-comm.com ("Frank.sae")
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3] net: phy: motorcomm: add YT8831 2.5G PHY support
Date: Thu, 19 Nov 2026 05:56:45 +0000
Organization: Usenet Network
Message-ID: <20261119055645.653216-1-frank.sae@motor-comm.com>
References: <20261118033539.36633-1-frank.sae@motor-comm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2800828"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rupZtq2Wj9aUazOvSgq4HpvqJ0U= sha256:O6cIkUgOjyZ224X/sED0r2XIV93pUWwsy4oOKVn4fMU=
	sha1:7oWwGHyYQow7pYEuD92M2rMQy2A= sha256:F1SvFND1lAOP7p7519rUznBu9PRNgkJ104wjoHoEpM0=
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 55DF41154FF; Thu, 19 Nov 2026 08:57:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 yx5RZZf1dWgG;
	Thu, 19 Nov 2026 08:57:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366750-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=motor-comm.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id A9A011154B9; Thu, 19 Nov 2026 08:57:00 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 086B7728E72; Thu, 19 Nov 2026 05:57:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795067819;
	b=X+XaqTajvypNWNwiDAFEHCOlgR8xd2YbDwMbvup5oQrOdvgXOxClc79mP2Db1UWLWhdz
	 hE3c9CcaKzKr3ntvOflEkmHaknsAm7Tsh9ha4Yl469pPt9j2tdqAGBnHbsLYfMGCtjinf
	 h3Vv0W3Ej8zXoNasdMfOY8ln7o55Q5TEEK/9srIDvriqLp+W9CUWysijjaNuKMINBnRcV
	 NWp1NRMtU90okkWiArtzWoSmjLqr8p5qsQDTxdHxuL6bj5i444Jfura9Wp0olTL4ShXly
	 XfIBnhBQShau/sjymeNwOQoUqUDTKUI9pdKTyUGPQauKJrbdbC4pc6dJ2cYHU8j8aCQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795067819;
	h=X-Original-To:Received:DMARC-Filter:X-Alimail-AntiSpam:Received:From:
	 To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=z4MaBHLABjCqpazSVIunmD9c7XUfYpWzptuAIYXu0U8=;
	b=2P5BPeFwJLim0ACO0f7q5BHpNs+FHIorJWuBExfcjPWQAjp9sgkvxFnn9PHR+QiV6hJe
	 glBx1i2OEVN8Nb26f1eEStDyXHErMFu/Gp0PBUPh/fb6QtsTlmWPMWLdE6AooW1WWKjcf
	 YfXZPAGXjEa/ml3GFlWWyg7UDFwy4px99fhgzKkszvWspzB3LZ793MEDdtSHpGCa+NmhO
	 ZXRjmHhgCG7U/BrmNIvwxrGFuv6W2ih5Hk5yaiZJFQkZUjzIA3I3v8VN3SJNdXQHBRB6g
	 OM0S/XgKbUughZyKZhGmyeHplNHWdW5zkgQp6Y2Re7tVQXD3ltiyWT+D0ChyIQdNbPQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=motor-comm.com;
	spf=pass smtp.mailfrom=motor-comm.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 274EA606A32A;
	Thu, 19 Nov 2026 05:56:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=115.124.28.97
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795067818;
	b=2kj1QDYZHVJcVvGKNzoADnwZOSvCRSz6LMNqNxWpX1jWFARjE0UUn+D0mtH+dY6EMepD
	 x0wIUCOrF1tyjzUg0YunS7X2H6IUIgT6QjZF5kRxMbn+PIb7trAftSDCzaxYxlQNlKeWl
	 N1rpkdk2iMWStVGP6B6mWsLrrJ9SeElOmmxGePI8LUiFzmB61ae9ova/jUkxP8RXePMM5
	 ibray1GxELIcpgbhzG3L2falKAzVf/lpRmJRUeuDK3jXu+U4KUlhzuYBU8B+oA/snT/KZ
	 Itv9k6TVf5JAwOn8/atPaZJJSIOXT3hJ7pGCQHpPA4SokPt6rHWmVgM0SjUVInoPLDQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795067818;
	h=DMARC-Filter:X-Alimail-AntiSpam:Received:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=z4MaBHLABjCqpazSVIunmD9c7XUfYpWzptuAIYXu0U8=;
	b=ByktfcYx5mMmKFpPuiND9KioqHkJ64P9k6Egx1m704zTbjS4x/EyfhREEzooL/p3D+Fd
	 +qUselfqUR9iro61Lf4W3oPjYUzbvMEAhfL8dCxG8uksv4XwNo4ehWrIoA5ABVIz8xa9l
	 Cr+nDKU1JPRSQ1HXPsuDAs33aVuYEUXugI183j3Bxbta1/e6y8Cz+Wy49g+bRKYsyB1GM
	 Ap28XTzz++RFcGYabnIIbYy0C5rgbnhsQCZbxHmAdbe5VbhsWm/MY+7w78/wKEr+PRFZD
	 OTeS/Eag/q0YK0hcyhvODAO459LU+UmuZCPNuBSSKF4riwLNlZ5NZazwVXEZ0CQDFRw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=motor-comm.com;
	spf=pass smtp.mailfrom=motor-comm.com;
	arc=none smtp.remote-ip=115.124.28.97
X-Received: from out28-97.mail.aliyun.com (out28-97.mail.aliyun.com [115.124.28.97])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26386606A320
	for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 05:56:55 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 26386606A320
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=motor-comm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=motor-comm.com
X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1100451|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0194592-0.00526744-0.975273;FP=5796991001126557591|0|0|0|0|-1|-1|-1;HT=maildocker-contentspam033071099199;MF=frank.sae@motor-comm.com;NM=1;PH=DS;RN=11;RT=11;SR=0;TI=SMTPD_---.k5WUhIa_1795067805;
X-Received: from motor-comm.com(mailfrom:frank.sae@motor-comm.com fp:SMTPD_---.k5WUhIa_1795067805 cluster:ay29)
          by smtp.aliyun-inc.com;
          Thu, 19 Nov 2026 13:56:45 +0800
X-Cc: hkallweit1@gmail.com,
	linux@armlinux.org.uk,
	kuba@kernel.org,
	pabeni@redhat.com,
	edumazet@kernel.org,
	davem@davemloft.net,
	netdev@vger.kernel.org,
	lingyu.zou@motor-comm.com,
	xiaoyong.li@motor-comm.com,
	jie.han@motor-comm.com
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <20261118033539.36633-1-frank.sae@motor-comm.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list