Skip to content
Commit 23302065 authored by Tomasz Gorochowik's avatar Tomasz Gorochowik Committed by Jukka Rissanen
Browse files

drivers: eth: gmac: Proper ptp clock setup



Calculate proper initial PTP clock divisors based on the MCK value.

Additionally do not allow adjusting the rate of the clock. This does not
seem to work properly with current gPTP rate adjustment algorithm.

Having proper PTP clock divisors and callbacks that allow getting,
setting and adjusting current time is sufficient for proper gPTP
support.

Signed-off-by: default avatarTomasz Gorochowik <tgorochowik@antmicro.com>
parent f67d4560
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment