Other Parts Discussed in Thread: AM62P
Tool/software:
A customer reported having issues with USB0 working in peripheral mode with some devices. They were able to track it down to suspend issues which led them to adding the lpm-disable lines and their issues resolved.
snps,usb2-gadget-lpm-disable;
snps,usb2-lpm-disable;
I've found commits for the AM62A and AM62P in the 6.6 branch that disable them and reference their TRM.
Example: https://lore.kernel.org/all/20240412-for-v6-10-am62-usb-typec-dt-v7-3-93b827adf97e@kernel.org/
As per AM62A TRM [1] USB Link Power Management (LPM)
feature is not supported. Disable it else it may
cause enumeration failure on some devices.
> 4.9.2.1 USB2SS Unsupported Features
> The following features are not supported on this family of devices:
> ...
> - USB 2.0 ECN: Link Power Management (LPM)
> ...
[1] - https://www.ti.com/lit/pdf/spruj16
The AM62x also has the same unsupported feature in its TRM so it looks like the same disable lines should be added for the AM62x as well.
I managed to find the following commit in the 6.12 branch. Can this be cherry-picked to 6.6?
9c99b337a875 arm64: dts: ti: k3-am62-main: disable usb lpm