Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] net: lan966x: Add support for PTP programmable pins
@ 2022-04-27  6:51 Horatiu Vultur
  2022-04-27  6:51 ` [PATCH net-next v2 1/5] dt-bindings: net: lan966x: Extend with the ptp external interrupt Horatiu Vultur
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Horatiu Vultur @ 2022-04-27  6:51 UTC (permalink / raw)
  To: netdev, devicetree, linux-kernel
  Cc: davem, kuba, pabeni, robh+dt, krzysztof.kozlowski+dt,
	UNGLinuxDriver, richardcochran, Horatiu Vultur

Lan966x has 8 PTP programmable pins. The last pin is hardcoded to be used
by PHC0 and all the rest are shareable between the PHCs. The PTP pins can
implement both extts and perout functions.

v1->v2:
- use ptp_find_pin_unlocked instead of ptp_find_pin inside the irq handler.

Horatiu Vultur (5):
  dt-bindings: net: lan966x: Extend with the ptp external interrupt.
  net: lan966x: Change the PTP pin used to read/write the PHC.
  net: lan966x: Add registers used to configure the PTP pin
  net: lan966x: Add support for PTP_PF_PEROUT
  net: lan966x: Add support for PTP_PF_EXTTS

 .../net/microchip,lan966x-switch.yaml         |   2 +
 .../ethernet/microchip/lan966x/lan966x_main.c |  17 ++
 .../ethernet/microchip/lan966x/lan966x_main.h |   4 +
 .../ethernet/microchip/lan966x/lan966x_ptp.c  | 276 +++++++++++++++++-
 .../ethernet/microchip/lan966x/lan966x_regs.h |  40 +++
 5 files changed, 338 insertions(+), 1 deletion(-)

-- 
2.33.0


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

end of thread, other threads:[~2022-04-27 11:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-27  6:51 [PATCH net-next v2 0/5] net: lan966x: Add support for PTP programmable pins Horatiu Vultur
2022-04-27  6:51 ` [PATCH net-next v2 1/5] dt-bindings: net: lan966x: Extend with the ptp external interrupt Horatiu Vultur
2022-04-27  6:51 ` [PATCH net-next v2 2/5] net: lan966x: Change the PTP pin used to read/write the PHC Horatiu Vultur
2022-04-27  6:51 ` [PATCH net-next v2 3/5] net: lan966x: Add registers used to configure the PTP pin Horatiu Vultur
2022-04-27  6:51 ` [PATCH net-next v2 4/5] net: lan966x: Add support for PTP_PF_PEROUT Horatiu Vultur
2022-04-27  6:51 ` [PATCH net-next v2 5/5] net: lan966x: Add support for PTP_PF_EXTTS Horatiu Vultur
2022-04-27 11:20 ` [PATCH net-next v2 0/5] net: lan966x: Add support for PTP programmable pins patchwork-bot+netdevbpf

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