diff options
| author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2026-09-21 19:50:29 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-25 16:38:25 -0700 |
| commit | d9519789d0989ab47355b30fe1bc35f2c327e6dc (patch) | |
| tree | 7d5682e5bfb50c4b169260362ec3cc3531f47572 /tools/lib/python | |
| parent | e8bfdd91469c9668d11427a30f8ba0396f9aa92e (diff) | |
net: ethernet: ravb: Move programming of gPTP timer interval
Commit f384ab481cab ("net: ravb: Split GTI computation and set
operations") broke apart the operations of computing the timer interval
and programming of it. However it kept the programming of the interval
in the RAVB main logic.
Having split the two apart this can be improved further by moving the
programming to the gPTP initialization function, as the first action of
the gPTP init function is to wait for the timer interval programming to
be acknowledge by the hardware.
As an added bonus the interaction with the gPTP registers for the
programming can then also be done while holding the gPTP registers lock.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Sergey Shtylyov <sergei.shtylyov@gmail.com>
Link: https://patch.msgid.link/20260921175037.4084310-3-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
