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 13:37:19 +0100 |
commit | b3f1a08fcf0dd58d99b14b9f8fbd1929f188b746 (patch) | |
tree | db38fa8450dfd9cc2e92db2f99a078a9addb400b /crypto | |
parent | 3208bdd0f560bc417e8ae1e1fc8a236d2c2489d4 (diff) |
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 'crypto')
0 files changed, 0 insertions, 0 deletions