mbox series

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

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

Message

Horatiu Vultur Jan. 13, 2024, 1:15 p.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.

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 | 68 +++++++++++++++++++++-------------------
 1 file changed, 36 insertions(+), 32 deletions(-)