Commit 07e1de3
net: ptp: adjust only frequency for continuous synchronization
Current clock synchronization was always stepping clock. This was
causing large offset, and discontiguous ptp hardware clock time.
For TSN hardware, discontiguous ptp hardware clock time was not
able to be used for other TSN protocols.
This patch is to convert to frequency adjustment with a basic
PI control algorithm.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>1 parent e9efff6 commit 07e1de3
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
506 | 507 | | |
507 | 508 | | |
508 | 509 | | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
509 | 522 | | |
510 | 523 | | |
| 524 | + | |
511 | 525 | | |
512 | 526 | | |
513 | 527 | | |
| |||
543 | 557 | | |
544 | 558 | | |
545 | 559 | | |
| 560 | + | |
546 | 561 | | |
547 | 562 | | |
548 | 563 | | |
549 | 564 | | |
550 | 565 | | |
551 | 566 | | |
552 | | - | |
| 567 | + | |
| 568 | + | |
553 | 569 | | |
554 | 570 | | |
555 | 571 | | |
| |||
0 commit comments