[PATCH net-next 00/10] net: dsa: microchip: add PTP support for KSZ8463
From: Bastien Curutchet (Schneider Electric)
Date: Thu Jul 09 2026 - 02:47:18 EST
Hi all,
This series adds PTP support for the KSZ8463.
The KSZ8463 differs quite a lot from other KSZ switches supporting PTP:
it has a different interrupt logic and a different 'PTP engine'.
Patches 1 to 4 add interrupt support for the KSZ8463
Patches 5 to 10 add the PTP support for the KSZ8463
Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@xxxxxxxxxxx>
---
Bastien Curutchet (Schneider Electric) (10):
net: dsa: microchip: implement ksz8463_setup()
net: dsa: microchip: split ksz8_config_cpu_port()
net: dsa: microchip: allow the use of other IRQ operations.
net: dsa: microchip: add PTP interrupt handling for KSZ8463
net: dsa: microchip: adapt port offset for KSZ8463's PTP register
net: dsa: tag_ksz: move the KSZ8795 tag handling below ksz_xmit_timestamp()
net: dsa: tag_ksz: share code for KSZ8795 and KSZ9893 xmit operations
net: dsa: microchip: add KSZ8463 tail tag handling
net: dsa: microchip: explicitly enable detection of L2 PTP frames
net: dsa: microchip: add two-steps PTP support for KSZ8463
drivers/net/dsa/microchip/ksz8.c | 311 +++++++++++++++++++++++++++-----
drivers/net/dsa/microchip/ksz8_reg.h | 1 +
drivers/net/dsa/microchip/ksz_common.c | 15 +-
drivers/net/dsa/microchip/ksz_common.h | 6 +
drivers/net/dsa/microchip/ksz_ptp.c | 261 ++++++++++++++++++++++++++-
drivers/net/dsa/microchip/ksz_ptp.h | 16 ++
drivers/net/dsa/microchip/ksz_ptp_reg.h | 10 +
include/net/dsa.h | 2 +
net/dsa/tag_ksz.c | 229 ++++++++++++++---------
9 files changed, 713 insertions(+), 138 deletions(-)
---
base-commit: a6cfd2762eb18cde4eb34906599ffa7b07c2ed60
change-id: 20260708-ksz-new-ptp-f98db30a8a4f
Best regards,
--
Bastien Curutchet (Schneider Electric) <bastien.curutchet@xxxxxxxxxxx>