Part Number: AM62P
Hi Team,
We are trying to perform Usb role-switch from Host mode to Device mode.
After following the forum, we found a ticket where the user is trying to perform role-switch in another platform.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/953719/dra72xevm-usb-role-switch-is-not-working?keyMatch=usb+role-switch&tisearch=universal_search
We tried following that, still the Usb controller is not getting switched to Device mode. We are able to see two usb end points (31000000.usb & 31100000.usb). By default 31000000.usb is in "device" mode and 31100000.usb is in "host" mode. Since the Usb devices are getting detected on the system, we assumed that 31100000.usb has to be updated to "device" mode, but it was not taking effect.
Whereas, if we update 31000000.usb, it is changing the values, but it doesn't make sense to move the "device" to "host" mode here as we are expecting the Usb to go to "device" mode. Also, when we do that, still the usb is staying connected. Thus the purpose is not met.
Attached the logs for the same (including the dmesg prints).
usb_role-switch.log
Please check this and guide us on how to proceed further on this.
Thanks & Regards,
Mohammed Shakir