AnsweredAssumed Answered

how to enable imx8qm usb2otg host function

Question asked by Xiaofeng Zang on Sep 5, 2018
Latest reply on Sep 11, 2018 by Victor Linnik

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.

Outcomes