Hi,
Its my first time working with USB related schematics, dt and drivers.
We have a custom carrier board hosting an Orin NX with JP 5.1.3.
We need to make modifications to the default configuration. We have two USB ports and need the following functionalities:
USB0 - otg for recovery
USB1 - need to work with both 2.1/3.2 devices
Both USB ports needs to be powered by GPIO regulators
We don’t have a type C connections
We don’t have fusb3.1
We need a retry mechanism on which if the usb is powered down it will try to re powered.
Following is our exact circuit of the USB port (including the switch and the GPIO power source)
It is not a difficult work to remove the type C part in the device tree. Writing a regulator or adding it to usb part are all included in the original DT too. Please open your eye and check the DT first.
Hi,
Our two USB ports use Type-A connectors. Both work fine with USB devices and also function as recovery ports.
The only issue is voltage management. We have other GPIOs that control USB voltage switches and sense overloads (see the attached sketch).
The question is: Is it possible to connect these control GPIOs to the existing driver?
You could just write a regulator that uses that GPIO inside of it… Then assign that regulator to the vbus-supply of the usb node in device tree.
This is basic Linux kernel regulator framework that you could find example even by using Google Search. This is not NVIDIA specific software or syntax…
Thank you for your help. As we said its our first time encountering these subject so thank you for your guidance.
Just one last thing - what about the remote endpoint property in our usb2-0 node that points to USB C controller even tough we don’t have a USB type C in our system. Is that OK?