lkml.org 
[lkml]   [2022]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next v2 0/5] net: lan966x: Add support for PTP programmable pins
Date
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

\
 
 \ /
  Last update: 2022-04-27 08:49    [W:0.058 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site