how to enable imx8qm usb2otg host function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to enable imx8qm usb2otg host function

874 Views
XiaofengZang
Contributor III

Hello

i'm debugging imx8qm customer board, we use usb2otg as host port,after this modification:

Fsl-imx8qm-mek.dts:

&usbh1 {

status = "okay";

dr_mode = "host";

}

no usb device can be detected on port usbh1 after this modification.

log is :

[ 8.969266] ci_hdrc ci_hdrc.1: EHCI Host Controller
[13:30:04:156][ 8.974161] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[13:30:04:167][ 8.997034] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[13:30:04:175][ 9.002513] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[13:30:04:185][ 9.009310] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[13:30:04:196][ 9.016538] usb usb1: Product: EHCI Host Controller
[13:30:04:202][ 9.021418] usb usb1: Manufacturer: Linux 4.9.69-10757-gc806bc4-dirty ehci_hcd
[13:30:04:212][ 9.028649] usb usb1: SerialNumber: ci_hdrc.1
[13:30:04:212][ 9.033312] hub 1-0:1.0: USB hub found
[13:30:04:217][ 9.037078] hub 1-0:1.0: 1 port detected
[13:30:04:543][ 9.369020] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[13:30:04:678][ 9.505019] usb 1-1: device no response, device descriptor read/64, error -71
[13:30:04:922][ 9.749018] usb 1-1: device no response, device descriptor read/64, error -71

is there any problem with the configuration ?

Thanks.

0 Kudos
Reply
1 Reply

629 Views
b36401
NXP Employee
NXP Employee

Error "-71" means it could not complete a process.
It seems there is some issue with enumeration.
Please try to attach the device with a hub.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply