summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2023-04-14 10:26:59 +0200
committerDavid S. Miller <davem@davemloft.net>2023-04-17 08:10:00 +0100
commitc6d6ef3ee3b6118dae6b32816e43c790f81079b2 (patch)
treef20eb0c64d8dc26a58053cc601bb0a0533420ad3 /tools
parente61caf04b9f8a2626714ffd12e734c555c758af4 (diff)
downloadlinux-c6d6ef3ee3b6118dae6b32816e43c790f81079b2.tar.gz
linux-c6d6ef3ee3b6118dae6b32816e43c790f81079b2.tar.bz2
linux-c6d6ef3ee3b6118dae6b32816e43c790f81079b2.zip
net: phy: micrel: Fix PTP_PF_PEROUT for lan8841
If the 1PPS output was enabled and then lan8841 was configured to be a follower, then target clock which is used to generate the 1PPS was not configure correctly. The problem was that for each adjustments of the time, also the nanosecond part of the target clock was changed. Therefore the initial nanosecond part of the target clock was changed. The issue can be observed if both the leader and the follower are generating 1PPS and see that their PPS are not aligned even if the time is allined. The fix consists of not modifying the nanosecond part of the target clock when adjusting the time. In this way the 1PPS get also aligned. Fixes: e4ed8ba08e3f ("net: phy: micrel: Add support for PTP_PF_PEROUT for lan8841") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions