diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2023-01-10 14:19:22 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-13 08:40:41 +0000 |
commit | cc13ab18b201ab630f03511060ba289b70052959 (patch) | |
tree | 6f17fe9dea678e67fa615d1e364891e228914aaf /include/linux/ptp_classify.h | |
parent | bb01ad30570b09eb83438093cd7d29f04410b12e (diff) |
net: dsa: microchip: ptp: enable interrupt for timestamping
PTP Interrupt mask and status register differ from the global and port
interrupt mechanism by two methods. One is that for global/port
interrupt enabling we have to clear the bit but for ptp interrupt we
have to set the bit. And other is bit12:0 is reserved in ptp interrupt
registers. This forced to not use the generic implementation of
global/port interrupt method routine. This patch implement the ptp
interrupt mechanism to read the timestamp register for sync, pdelay_req
and pdelay_resp.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ptp_classify.h')
0 files changed, 0 insertions, 0 deletions