On WB15EVK, is the OTG_ID pin on the connector attached to MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 ? In the Yocto patch that appears to be the case in the pinctrl definitions but that GPIO appears to be unused in that patch. I’ve tried using the extcon-usb-gpio driver with GPIO5_IO2 but no change is detected. I’ve operated the OTG port by forcing it to host/peripheral mode in the dts so it’s working fine for me without role switching. Since there’s no schematic available, can you clarify the OTG port’s OTG_ID pin wiring?