Skip to content

Draft: [RHEL for Edge] add changes to enable USB support on NVIDIA Orin

David Marlin requested to merge dmarlin/centos-stream-9:orin-usb-test into main

Merge Request Required Information

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122414

Tested: Verify USB-A and USB-C are functional on Nvidia Orin board, and no regressions on other platforms.

Enable USB support (Type-A and Type-C) for NVIDIA Orin.

Summary of Changes

Enable the UCSI_CCG support.
Add device-tree support for the Cypress CCG UCSI driver.
Add PMC compatible string for Tegra234 in GPIO driver.
Add support for XUSB device mode controller support on Tegra234 SoC.
Program USB2 pad PD controls to reduce power consumption on disconnect or suspend.
Add a hub_control() callback to the xhci_driver_overrides structure.
Export symbol on xhci_hub_control to allow the XHCI host drivers may override the default.
Add Tegra234 XUSB host mode controller support.
Support role-switch-default-mode property when usb-role-switch is enabled.
Add support for the XUSB pad controller found on Tegra234 SoCs.
Pad tracking is a one-time calibration for Tegra186 and Tegra194, disable after calibration.
Remove redundant codes for getting the vbus supply of usb3 ports.
Check to see if the 'phy' pointer passed to tegra_phy_xusb_utmi_pad_power_on/down is valid.
Disable UCSI ALT support when reading the capability on Tegra.
Don't warn on probe deferral.
Enable the usb-role-switch attribute to let users check the current device role of the otg capability ports.
Program USB2 UTMI pad PD controls during port connect/disconnect.
Add utmi_pad_power_on/down ops for each SOC.

Signed-off-by: David Marlin dmarlin@redhat.com

Approved Bugzilla Ticket

All submissions to CentOS Stream must reference an approved ticket in Red Hat Bugzilla. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.

Edited by David Arcari

Merge request reports