linux/drivers/net/dsa/microchip
Bastien Curutchet (Schneider Electric) d06c58f4fc net: dsa: microchip: add two-steps PTP support for KSZ8463
The KSZ8463 switch supports PTP but it's not supported by the driver.

Add L2 two-step PTP support for the KSZ8463. IPv4 and IPv6 layers aren't
supported. Neither is one-step PTP. Use KSZ8463-specific implementations
of the .get_ts_info and .port_hwtstamp_set callbacks.

The pdelay_req and pdelay_resp timestamps share one interrupt bit status
while they're located in two different registers. So introduce
last_tx_is_pdelayresp to keep track of the last sent event type. This
flag is set by the xmit worker right before sending the packet and then
used in the interrupt handler to retrieve the timestamp location.

Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20260727-ksz-new-ptp-v3-10-caba39e680e3@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-07-31 16:29:56 -07:00
..
Kconfig net: dsa: microchip: Add SGMII port support to KSZ9477 switch 2025-05-26 17:15:51 +02:00
ksz_common.c net: dsa: microchip: allow the use of other IRQ operations. 2026-07-31 16:29:55 -07:00
ksz_common.h net: dsa: microchip: add two-steps PTP support for KSZ8463 2026-07-31 16:29:56 -07:00
ksz_dcb.c net: dsa: microchip: Use different registers for KSZ8463 2025-07-25 17:01:56 -07:00
ksz_dcb.h net: dsa: microchip: add support DSCP priority mapping 2024-05-08 10:35:11 +01:00
ksz_ptp_reg.h net: dsa: microchip: add two-steps PTP support for KSZ8463 2026-07-31 16:29:56 -07:00
ksz_ptp.c net: dsa: microchip: add two-steps PTP support for KSZ8463 2026-07-31 16:29:56 -07:00
ksz_ptp.h net: dsa: microchip: add two-steps PTP support for KSZ8463 2026-07-31 16:29:56 -07:00
ksz_spi.c net: dsa: microchip: hook up ksz_switch_alloc() to chip-specific dsa_switch_ops 2026-05-08 19:09:13 -07:00
ksz8_reg.h net: dsa: microchip: add two-steps PTP support for KSZ8463 2026-07-31 16:29:56 -07:00
ksz8.c net: dsa: microchip: add two-steps PTP support for KSZ8463 2026-07-31 16:29:56 -07:00
ksz8.h net: dsa: microchip: ensure each ksz_dev_ops has its own dsa_switch_ops 2026-05-08 19:09:13 -07:00
ksz8863_smi.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
ksz9477_acl.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ksz9477_i2c.c net: dsa: Use named initializers for struct i2c_device_id 2026-05-20 19:01:25 -07:00
ksz9477_reg.h net: dsa: microchip: Fix reserved multicast address table programming 2025-11-06 07:11:36 -08:00
ksz9477_tc_flower.c
ksz9477.c net: dsa: microchip: move the drive strength config out of the common section 2026-07-08 11:05:52 +02:00
ksz9477.h net: dsa: microchip: move ksz9477_set_default_prio_queue_mapping() to ksz9477.c 2026-07-08 11:05:51 +02:00
lan937x_main.c net: dsa: microchip: move the drive strength config out of the common section 2026-07-08 11:05:52 +02:00
lan937x_reg.h net: dsa: microchip: Fix LAN937X set_ageing_time function 2024-12-19 18:04:04 -08:00
lan937x.h net: dsa: microchip: ensure each ksz_dev_ops has its own dsa_switch_ops 2026-05-08 19:09:13 -07:00
Makefile net: dsa: microchip: rename ksz8 series files 2024-09-06 08:41:35 +01:00