🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17633

[PATCH net-next v3 0/3] net: phy: realtek: add PTP support for RTL8127a

#17633
From: javen
Date: Tue, 17 Nov 2026 06:01
23 lines
9614 bytes
From: Javen Xu <javen_xu@realsil.com.cn>

The PTP block of the RTL8127A resides in its internal PHY (RTL8261C). 
Therefore, this series adds PTP support to the Realtek PHY driver 
instead of the r8169 MAC driver.

Javen Xu (3):
  r8169: hold MDIO bus lock while loading firmware
  net: phy: realtek: add PTP clock support for RTL8127a
  net: phy: realtek: add hardware timestamping for RTL8127a

 drivers/net/ethernet/realtek/r8169_main.c |   3 +
 drivers/net/phy/realtek/Kconfig           |  11 +
 drivers/net/phy/realtek/Makefile          |   1 +
 drivers/net/phy/realtek/realtek.h         |  20 +
 drivers/net/phy/realtek/realtek_main.c    |  19 +-
 drivers/net/phy/realtek/realtek_ptp.c     | 782 ++++++++++++++++++++++
 6 files changed, 835 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/phy/realtek/realtek_ptp.c

-- 
2.43.0
Technical Details
Message-ID: <20261117060120.1175-1-javen_xu@realsil.com.cn>
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-364969-linux-kernel-netdev=dewy.ru

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-364969-linux-kernel-netdev=dewy.ru
From: javen_xu@realsil.com.cn (javen)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v3 0/3] net: phy: realtek: add PTP support for RTL8127a
Date: Tue, 17 Nov 2026 14:01:17 +0800
Organization: Usenet Network
Message-ID: <20261117060120.1175-1-javen_xu@realsil.com.cn>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2253215"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ovjHKvcmH/bOuE7g3x63t3VzVnw= sha256:zJz2A4uXxHCl0VI6lW2rW41QbIUyBD7rUFabaIJQYxg=
	sha1:NqMnwoOI93DcOXi8cboFLirPq9g= sha256:fYQPMMXkNHEJVDFiAHn0bBfl3QkgOfpNiumdPBrsR+8=
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 1055F114E55; Tue, 17 Nov 2026 09:03:28 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.15
X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	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,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=realsil.com.cn
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 7tV4EZpA1N-q;
	Tue, 17 Nov 2026 09:03:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-364969-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=realsil.com.cn
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id D6AAD114E4C; Tue, 17 Nov 2026 09:03:09 +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 69D536010CE; Tue, 17 Nov 2026 06:03:08 +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=1794895385;
	b=xPYxpy3O1O7QE+r+lnMlU2o82AxTFzhZIurVCyyL/6y+pfHzJcb9pnRoIa67XEacj31g
	 0VaCYZRN/TQuSkmIFgWOf8L8yDHgbddH/BfvlNpnzpNBlKFPkuiOXJfMZLrPDpU044mbP
	 6Cv+1BGbrubijVrsKVucebvk1UILdImvZtr4Ou7sbCUuCibqOS56OcTzOltyuZDG7rG/c
	 OQtWOK4a1MF1oQADcNjHvNBpzl1GrqkbhQ0iBDqRnheyfETsgOXH7nZfRaZliiSHbeGGD
	 aiLeojJ/tkUR6wc7OY7NKvEmxew70suKQ56o4yCJv+UgdoZVA9s8bohblvswW9KjkyA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794895385;
	h=X-Original-To:Received:DMARC-Filter:X-SpamFilter-By:DKIM-Signature:
	 Received:Received:Received:From:To:CC:Subject:Date:Message-ID:
	 X-Mailer:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Content-Type;
	bh=nJM/Ao1YYDexvsF+PRHjThGGhzPzft4V23f6+dsxi5U=;
	b=mtpS/EKkJ+iwA4u7QyC4NtwJYfyNAAX+tlfbDojLvU4hXUyfpXKdOKA9lwxdT2Ps7ecF
	 rKNQtQqRAXvXBuJfv7o7xDWT2c7FnRkFYwY4tNyantlLql3Q1+LsUlkT0o/lO0TqOMKs7
	 UZ0JrD5xUgwyYayOZ3Ft9gXBTT3TUeXrkM8P4r6osEp51v4bI5qKIv8CXXz83mQ22Z1cM
	 SDuN0c1ae0jrpDTtKbCF9uVvECJuBAXtoY1wP0SKBKWqrpMnWiWOE2qTBck33rZxUWLax
	 AM0otcKqJ8I4FhWXafi0hZnT/zlUcIGxdTNMHesWQiarEV1mzHH9w5MMGGvhMQN4OYg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=realsil.com.cn header.i=@realsil.com.cn header.a=rsa-sha256 header.s=dkim header.b=DvLJTt6B;
	dmarc=pass header.from=realsil.com.cn;
	spf=pass smtp.mailfrom=realsil.com.cn;
	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 00DD8606A896;
	Tue, 17 Nov 2026 06:03:05 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=realsil.com.cn header.i=@realsil.com.cn header.a=rsa-sha256 header.s=dkim header.b=DvLJTt6B
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794895384;
	b=qNs3mXJ9WWbXtw6+DaML8uakn9Y0ZvIdX0qgPR8otSzUlDor17SsbM7IoEUqHrJwByK6
	 R4GIXaPieYpp7/zzNlc/rB058BLQBIM0iBld9h5of2f1vEOTm0pCrYU86vqkhMOx3yDGE
	 cBpozx50eIjYbLdqExhTGGkhY8e98XXCNvNToL8AZdhFWsXQdnQFqGPFjtcmNFgD+pIXp
	 gO06JB8htpA/FBgXylXUn1Fvd8Ic/Rk4BVG7UfMK+CUYdxwq/2ZVgV7NB/JcG6gAnVo6S
	 dkTRme7F3BqIdaioNCf5tNJ2PVPZBiwkUZhF7Hq98egVIn3dpAYaHg4VDUuvKj9z9sw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794895384;
	h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received:
	 Received:From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version:
	 Content-Transfer-Encoding:Content-Type;
	bh=nJM/Ao1YYDexvsF+PRHjThGGhzPzft4V23f6+dsxi5U=;
	b=sYMzFWa0spfMLrDapWdVwCGtERJo787SufYeMflHrJ/4+z85rsESRvclvdsOkoh4MxnI
	 S6qr3UQW2p7r8L+leDEx2mgyjFzCXdBSv6A14hQT8xGANP9xxP2EuJVw9P7UTdlWpsW9v
	 ZMKIsmbgmKLMovz64BI0rr8tzYdiw7+c3rC9Dd968Rbt3BmUhIt82jP0x62F35ALgV5z+
	 cp/MH8y2QPfHt4eOfOtDEBp8w7KVncjxTPqaTO7XZQTyVAXJVw9bngCBvZ3d2ioqi3YXL
	 XmGTbn3RyrPL7mbmOxK0+RF+YHbFQYt1tabjArS27PBJgqUr7AyuwaiMIL8lDIzuatg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=realsil.com.cn;
	spf=pass smtp.mailfrom=realsil.com.cn;
	dkim=pass header.d=realsil.com.cn header.i=@realsil.com.cn header.a=rsa-sha256 header.s=dkim header.b=DvLJTt6B;
	arc=none smtp.remote-ip=211.75.126.72
X-Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72])
	(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 E4A6D606A31C;
	Tue, 17 Nov 2026 06:03:02 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E4A6D606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realsil.com.cn
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realsil.com.cn
X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6AH61NvF44166715, This message is accepted by code: ctloc85258
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realsil.com.cn;
	s=dkim; t=1794895284;
	bh=nJM/Ao1YYDexvsF+PRHjThGGhzPzft4V23f6+dsxi5U=;
	h=From:To:CC:Subject:Date:Message-ID:MIME-Version:
	 Content-Transfer-Encoding:Content-Type;
	b=DvLJTt6BH86vbd8UdDwxJS/tnoTBfvmB4yoL14ir9HKY/KbB8RPrE3AiBI2wdPIqS
	 +zXbB/z7Y20+IJxDZTvsiCFYtOyCyn0obc7ru7cDI7ktK1azBuLB7KpsydsuezXPq/
	 CYfLj1x91XWQsyOAwXIrwtMuzFJ+w/NWqNbXL126X32Qu64PhZ/J0tzRv8y64Ln1mw
	 jAEWn3NbbD7FsqEwOZwskwcG4tV+xawa2Dmq7wfiBr0eNw6FnYzw8ypNWGSLWI+jl3
	 F4x6KlkDYiuYH1oRS/y4648pRGhiiXrYT4KnpYvvCpdUhRoCGurVWzk9XyZJnaj+W5
	 OtL/x9nu+kCQw==
X-Received: from RS-EX-MBS1.realsil.com.cn ([172.29.17.101])
	by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6AH61NvF44166715
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
	Tue, 17 Nov 2026 14:01:24 +0800
X-Received: from RS-EX-MBS1.realsil.com.cn (172.29.17.101) by
 RS-EX-MBS1.realsil.com.cn (172.29.17.101) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.2.2562.56; Tue, 17 Nov 2026 14:01:23 +0800
X-Received: from 172.29.37.154 (172.29.37.152) by RS-EX-MBS1.realsil.com.cn
 (172.29.17.101) with Microsoft SMTP Server id 15.2.2562.56 via Frontend
 Transport; Tue, 17 Nov 2026 14:01:23 +0800
X-CC: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<daniel@makrotopia.org>, <vladimir.oltean@nxp.com>, Javen Xu
	<javen_xu@realsil.com.cn>
X-Mailer: git-send-email 2.50.1.windows.1
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