mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net: phy: realtek: add PTP support for RTL8127a
@ 2026-11-11  8:38 javen
  2026-11-11  8:38 ` [PATCH net-next v2 1/2] net: phy: realtek: add PTP clock " javen
  2026-11-11  8:38 ` [PATCH net-next v2 2/2] net: phy: realtek: add hardware timestamping " javen
  0 siblings, 2 replies; 5+ messages in thread
From: javen @ 2026-11-11  8:38 UTC (permalink / raw)
  To: andrew, hkallweit1, linux, davem, edumazet, kuba, pabeni,
	freddy_gu, nb, maxime.chevallier
  Cc: netdev, linux-kernel, daniel, vladimir.oltean, Javen Xu

From: Javen Xu <javen_xu@realsil.com.cn>

The PTP block of RTL8127a lives in its internal PHY (RTL8261C), so this
series adds PTP support to the Realtek PHY driver instead of r8169.

Changes in v2:
- Move the PTP support from r8169 to the Realtek PHY driver
- Drop the r8169 PHY OCP access patch, use phy_read_mmd()/phy_write_mmd()
- Drop PPS support, only minimal PTP support is added

Javen Xu (2):
  net: phy: realtek: add PTP clock support for RTL8127A internal PHY
  net: phy: realtek: add hardware timestamping for RTL8127A internal PHY

 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  | 719 +++++++++++++++++++++++++
 5 files changed, 769 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/phy/realtek/realtek_ptp.c

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-15  9:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  8:38 [PATCH net-next v2 0/2] net: phy: realtek: add PTP support for RTL8127a javen
2026-11-11  8:38 ` [PATCH net-next v2 1/2] net: phy: realtek: add PTP clock " javen
2026-11-15  9:05   ` netdev-bot+sashiko
2026-11-11  8:38 ` [PATCH net-next v2 2/2] net: phy: realtek: add hardware timestamping " javen
2026-11-15  9:05   ` netdev-bot+sashiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®