mbox series

[net,v2,0/2] net: micrel: Fixes for PHC for lan8814

Message ID 20240118085916.1204354-1-horatiu.vultur@microchip.com (mailing list archive)
Headers show
Series net: micrel: Fixes for PHC for lan8814 | expand

Message

Horatiu Vultur Jan. 18, 2024, 8:59 a.m. UTC
There are different issues with the PHC of lan8814.
First issue is similar with the one on lan8841 which it has enabled by
default the check regarding minorVersionPTP in the PTP header frame.
So all the frames compliant to 8021AS will not be timestamped.
The second issue is with setting and getting the time of the PHC. The
issue is seen only when setting a time which is bigger than 2^32.

v1->v2:
- replace hardcoded values with macros for PTP version

Horatiu Vultur (2):
  net: micrel: Fix PTP frame parsing for lan8814
  net: micrel: Fix set/get PHC time for lan8814

 drivers/net/phy/micrel.c | 72 ++++++++++++++++++++++------------------
 1 file changed, 40 insertions(+), 32 deletions(-)