diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2024-04-26 16:02:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-29 14:37:19 +0200 |
commit | b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746 (patch) | |
tree | db38fa8450dfd9cc2e92db2f99a078a9addb400b /kernel/bpf/verifier.c | |
parent | Merge branch 'dsa-realtek-leds' (diff) | |
download | linux-b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746.tar.xz linux-b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746.zip |
net: phy: micrel: Add support for PTP_PF_EXTTS for lan8814
Extend the PTP programmable gpios to implement also PTP_PF_EXTTS
function. The pins can be configured to capture both of rising
and falling edge. Once the event is seen, then an interrupt is
generated and the LTC is saved in the registers.
On lan8814 only GPIO 3 can be configured for this.
This was tested using:
ts2phc -m -l 7 -s generic -f ts2phc.cfg
Where the configuration was the following:
---
[global]
ts2phc.pin_index 3
[eth0]
---
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions