I am trying to add support for CYUSB331x, HX3 USB HUB in imx8qxpmek instead of type-c. I am using usbport 2 for this purpose. According to a thread with similar query Porting CYUSB331x, HX3 USB HUB. I found that only change is to add a reset gpio for enabling USB hub. I imx8qxp cdns USB driver is used. So I added the code for gpio reset in cdns.c probe function. But still I am not able to detect pendrive on any of downstream ports of hub. So my query is as follows:
1. How can I know that USB hub controller is up?
2. What changes should be done to port CYUSB331x, HX3 USB HUB in imx8qxp DTS files.
3. Is cdns USB driver compatible with CYUSB331x, HX3 USB HUB.
Appreciate your help.
1. HX3 binds to embedded Linux hub class driver. Could you use dmesg to check plug in debug prints? Please let us know if you unable to see any other device connected on the downstream ports as well.
Please share your schematic with us before we look into your queries 2,3.