This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM814x USB: How to use GPIO instead of USB DRVVBUS?

Hello,

I am working on a J5 board. It uses the GPIO instead of USB DRVVBUS to control the USB vbus. At this point the linux USB driver supports only DRVVBUS.

Can you give some clues about how to use GPIO instead of USB DRVVBUS?

When I toggled the GPIO pin,  USB_DEVCTL reflects the VBUS bit[3-4] changed. BDEVICEbit[7] show it is "A" device. But I can't get any interrupt when I inserted or removed USB device. Do I need do some extra change for  USB_CTRL register in Control Module?

Thanks,Jian