I work on imx6d BSP, I find a usb otg issue.
On our imx6d board, otg VBUS is always on (5V). When I set USB_OTG_ID to high level and boot system, usb adb function can work.
But When I set USB_OTG_ID to high level then set to low level again. usb adb can't work. BTW USB host function is ok.
kernel output log: "[ 7.171516] wait otg vbus change timeout!"
Whether otg vbus must be controlled, when host mode, vbus is 5V, and device mode vbus is 0V ?