Hi,
I'm trying to set the test modes for USB-IF certification using dra718 on a custom board with Android 8.0. We need to run the test in both host and device port modes without any external HUB.
dwc3 USB driver provides support for device mode using SetFeature(TEST) request or DebugFS. Both implementation are working fine following TI documentation.
The problem is that I couldn't find a way to set each test (test_j, test_k, etc) for host mode since dwc3 doesn't support them.
I'm trying using ehset module enabling it on the Linux kernel. It detects the specific VID/PID of each test but fails running usb_control_msg() for TEST_SE0_NAK, TEST_J, TEST_K and TEST_PACKET while it works with HS_HOST_PORT_SUSPEND_RESUME, SINGLE_STEP_GET_DEV_DESC and SINGLE_STEP_SET_FEATURE.
I guess it could be a missing configuration, what do you advice to do?
Another option is writing the registers directly but I couldn't find the register maps.
Thanks, best regards
Agustín