Skip to content

usb: Add support for Tegra238 and device support for Tegra264

Jon Hunter linux-devicetree linux-tegra linux-usb 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20260918-tegra-usb-58d1d80e4797

Versions newest first

  1. v2 Latest12 patches 7 repliesIn review
  2. v19 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Added a patch documenting required properties for the Tegra234 XUSB binding.
- Updated Tegra238 XHCI and XUDC bindings to require resets instead of power domains.
- Limited Tegra238 XHCI bindings to eight interrupts and one IOMMU entry, and clarified the PHY counts in the binding commit messages.
- Updated Tegra238 XHCI and XUDC drivers to manage resets directly.
- Added a patch replacing an unintended comma with a semicolon in the XHCI driver.
- Extended the CNT65 fix to cover both limiting and restoring port speed.
- Added a patch preserving XUDC runtime PM state across system suspend.
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12dt-bindings: usb: tegra234-xusb: Add required propertiesDocumentation/devicetree/bindings/usb/nvidia,tegra234-xusb.yaml+13 -01 reply
2/12dt-bindings: usb: Add Tegra238 XUSB host controller supportDocumentation/devicetree/bindings/usb/nvidia,tegra234-xusb.yaml+46 -25 replies
3/12dt-bindings: usb: tegra-xudc: Add Tegra238 XUDC supportDocumentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml+33 -20 replies
4/12dt-bindings: usb: tegra-xudc: Add Tegra264 XUDC supportDocumentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml+3 -00 replies
5/12usb: xhci: tegra: Fix missing semi-colondrivers/usb/host/xhci-tegra.c+1 -11 reply
6/12usb: xhci: tegra: Add support for Tegra238drivers/usb/host/xhci-tegra.c+96 -170 replies
7/12usb: gadget: tegra-xudc: Fix CNT65 configurationdrivers/usb/gadget/udc/tegra-xudc.c+2 -20 replies
8/12usb: gadget: tegra-xudc: Preserve runtime PM across system suspenddrivers/usb/gadget/udc/tegra-xudc.c+7 -50 replies
9/12usb: gadget: tegra-xudc: Add support for Tegra238drivers/usb/gadget/udc/tegra-xudc.c+103 -150 replies
10/12usb: gadget: tegra-xudc: Add SSPX register offset to SoC datadrivers/usb/gadget/udc/tegra-xudc.c+48 -420 replies
11/12usb: gadget: tegra-xudc: Add default settings to SoC datadrivers/usb/gadget/udc/tegra-xudc.c+56 -240 replies
12/12usb: gadget: tegra-xudc: Add support for Tegra264drivers/usb/gadget/udc/tegra-xudc.c+56 -50 replies

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/12R-b
2/12
3/12
4/12R-b
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/12] usb: Add support for Tegra238 and device support for Tegra264

Add USB device and host support for the Tegra238 device and add USB device support for the Tegra264 device. USB host support for Tegra264 is already present in the base tree.

The series adds the necessary device-tree binding updates for these devices and adds the SoC data to the USB drivers. For the Tegra264 USB device, the register offsets and default settings differ from previous generations and so the driver has been updated accordingly.

The series also fixes CNT65 register programming and preserves runtime PM state across system suspend in the Tegra XUDC driver, and replaces an unintended comma with a semicolon in the Tegra XHCI driver.

---
Changes in v2:
- Added a patch documenting required properties for the Tegra234 XUSB binding.
- Updated Tegra238 XHCI and XUDC bindings to require resets instead of power domains.
- Limited Tegra238 XHCI bindings to eight interrupts and one IOMMU entry, and clarified the PHY counts in the binding commit messages.
- Updated Tegra238 XHCI and XUDC drivers to manage resets directly.
- Added a patch replacing an unintended comma with a semicolon in the XHCI driver.
- Extended the CNT65 fix to cover both limiting and restoring port speed.
- Added a patch preserving XUDC runtime PM state across system suspend.
- Link to v1: https://patch.msgid.link/[email protected]

---
Jon Hunter (12):
dt-bindings: usb: tegra234-xusb: Add required properties
dt-bindings: usb: Add Tegra238 XUSB host controller support
dt-bindings: usb: tegra-xudc: Add Tegra238 XUDC support
dt-bindings: usb: tegra-xudc: Add Tegra264 XUDC support
usb: xhci: tegra: Fix missing semi-colon
usb: xhci: tegra: Add support for Tegra238
usb: gadget: tegra-xudc: Fix CNT65 configuration
usb: gadget: tegra-xudc: Preserve runtime PM across system suspend
usb: gadget: tegra-xudc: Add support for Tegra238
usb: gadget: tegra-xudc: Add SSPX register offset to SoC data
usb: gadget: tegra-xudc: Add default settings to SoC data
usb: gadget: tegra-xudc: Add support for Tegra264

 .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml |  38 ++-
 .../bindings/usb/nvidia,tegra234-xusb.yaml         |  57 ++++
 drivers/usb/gadget/udc/tegra-xudc.c                | 339 ++++++++++++++++-----
 drivers/usb/host/xhci-tegra.c                      | 115 +++++--
 4 files changed, 449 insertions(+), 100 deletions(-)

---
base-commit: 84abb955b1015477aa11a96e2f3ac1b938b77f48
change-id: 20260918-tegra-usb-58d1d80e4797

Best regards,

Signature · 1 line
Jon Hunter <[email protected]>