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

From: Horatiu Vultur
Date: Thu Jan 18 2024 - 04:01:27 EST


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(-)

--
2.34.1