Commit d315996
committed
phy: tegra: xusb: Add Tegra234 support
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122414
Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Tested: Verify USB-A and USB-C are functional on Nvidia Orin board,
and no regressions on other platforms.
commit 5c7f94f
Author: Sing-Han Chen <singhanc@nvidia.com>
Date: Wed Jan 11 11:04:49 2023 +0000
phy: tegra: xusb: Add Tegra234 support
Add support for the XUSB pad controller found on Tegra234 SoCs. It is
mostly similar to the same IP found on Tegra194, because most of
the Tegra234 XUSB PADCTL registers definition and programming sequence
are the same as Tegra194, Tegra234 XUSB PADCTL can share the same
driver with Tegra186 and Tegra194 XUSB PADCTL.
Introduce a new feature, USB2 HW tracking, for Tegra234.
The feature is to enable HW periodical PAD tracking which measure
and capture the electric parameters of USB2.0 PAD.
Signed-off-by: Sing-Han Chen <singhanc@nvidia.com>
Co-developed-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230111110450.24617-6-jonathanh@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
(cherry picked from commit 5c7f94f)
Signed-off-by: David Marlin <dmarlin@redhat.com>1 parent 65663be commit d315996
4 files changed
+91
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
609 | 614 | | |
610 | 615 | | |
611 | 616 | | |
612 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
613 | 626 | | |
614 | | - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
615 | 642 | | |
616 | 643 | | |
617 | 644 | | |
| |||
637 | 664 | | |
638 | 665 | | |
639 | 666 | | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
640 | 674 | | |
641 | 675 | | |
642 | 676 | | |
| |||
1562 | 1596 | | |
1563 | 1597 | | |
1564 | 1598 | | |
1565 | | - | |
| 1599 | + | |
| 1600 | + | |
1566 | 1601 | | |
1567 | 1602 | | |
1568 | 1603 | | |
| |||
1618 | 1653 | | |
1619 | 1654 | | |
1620 | 1655 | | |
| 1656 | + | |
1621 | 1657 | | |
1622 | 1658 | | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1623 | 1681 | | |
1624 | 1682 | | |
1625 | 1683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
| 435 | + | |
| 436 | + | |
434 | 437 | | |
435 | 438 | | |
436 | 439 | | |
| |||
473 | 476 | | |
474 | 477 | | |
475 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
476 | 496 | | |
477 | 497 | | |
478 | 498 | | |
| |||
489 | 509 | | |
490 | 510 | | |
491 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
492 | 515 | | |
493 | 516 | | |
0 commit comments