AnsweredAssumed Answered

How to enable USB OTG for LS1046A

Question asked by Andreas Geißler on Nov 15, 2017
Latest reply on Nov 24, 2017 by Pavel Chubakov

Hello,

We are currently try to use the otg feature for USB on the LS1046A. We have added:

- CONFIG_USB_DWC3_DUAL_ROLE=y

- CONFIG_USB_OTG=y

to the kernel defconfig and changed the dr_mode in the device tree to "otg".

 

When using the USB in "peripheral" mode the USB is working as a mass storage device as expected. but when using "otg" the USB port is not working as host or device.

 

What steps are needed to enable the OTG? What did we forget or did wrong?

 

Thanks!

 

Regards,

Andreas

Outcomes