IMX6 Platform USB case: USB2514B always connect and disconnect while it connected to USB_OTG2

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

IMX6 Platform USB case: USB2514B always connect and disconnect while it connected to USB_OTG2

246 Views
VaeLiu
Contributor I

USB_OTG2 couldn't identify all type devices, like headset, mouse, keyboard can work normally, but a hub and U-disk couldn't  work normally, always repeat connect and disconnect process, flowing is the log message. And all type devices is normally when connected to USB_OTG1.

\u@\h:\w$ lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002 
\u@\h:\w$
\u@\h:\w$
\u@\h:\w$ [ 622.824911] FP press INT
[ 622.827594] FP press INT
[ 623.101644] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 623.310649] hub 2-1:1.0: USB hub found
[ 623.329776] hub 2-1:1.0: 4 ports detected
[ 623.343976] pn54x_probe
[ 623.346500] pn544 1-0028: VEN GPIO error getting from OF node
[ 623.361885] usb 2-1: USB disconnect, device number 2
[ 623.721669] usb 2-1: new high-speed USB device number 3 using ci_hdrc
[ 623.933533] hub 2-1:1.0: USB hub found
[ 623.952128] hub 2-1:1.0: 4 ports detected
[ 623.965181] pn54x_probe
[ 623.967710] pn544 1-0028: VEN GPIO error getting from OF node
[ 623.986230] usb 2-1: USB disconnect, device number 3
[ 624.351655] usb 2-1: new high-speed USB device number 4 using ci_hdrc
[ 624.563518] hub 2-1:1.0: USB hub found
[ 624.583440] hub 2-1:1.0: 4 ports detected
[ 624.594519] pn54x_probe
[ 624.597067] pn544 1-0028: VEN GPIO error getting from OF node
[ 624.617809] usb 2-1: USB disconnect, device number 4
[ 624.981628] usb 2-1: new high-speed USB device number 5 using ci_hdrc
[ 625.193403] hub 2-1:1.0: USB hub found
[ 625.206997] hub 2-1:1.0: 4 ports detected
[ 625.224528] pn54x_probe
[ 625.227078] pn544 1-0028: VEN GPIO error getting from OF node
[ 625.242912] usb 2-1: USB disconnect, device number 5
[ 625.601636] usb 2-1: new high-speed USB device number 6 using ci_hdrc
[ 625.813419] hub 2-1:1.0: USB hub found
[ 625.832032] hub 2-1:1.0: 4 ports detected
[ 625.844129] pn54x_probe
[ 625.846650] pn544 1-0028: VEN GPIO error getting from OF node
[ 625.866102] usb 2-1: USB disconnect, device number 6
[ 626.231659] usb 2-1: new high-speed USB device number 7 using ci_hdrc
[ 626.443420] hub 2-1:1.0: USB hub found
[ 626.462034] hub 2-1:1.0: 4 ports detected
[ 626.475308] pn54x_probe
[ 626.477835] pn544 1-0028: VEN GPIO error getting from OF node
[ 626.496272] usb 2-1: USB disconnect, device number 7
[ 626.861656] usb 2-1: new high-speed USB device number 8 using ci_hdrc
[ 627.073496] hub 2-1:1.0: USB hub found
[ 627.092087] hub 2-1:1.0: 4 ports detected
[ 627.105529] pn54x_probe
[ 627.108055] pn544 1-0028: VEN GPIO error getting from OF node
[ 627.126597] usb 2-1: USB disconnect, device number 8
[ 627.491653] usb 2-1: new high-speed USB device number 9 using ci_hdrc
[ 627.703408] hub 2-1:1.0: USB hub found
[ 627.714307] hub 2-1:1.0: 4 ports detected
[ 627.730029] pn54x_probe
[ 627.738180] pn544 1-0028: VEN GPIO error getting from OF node
[ 627.751153] usb 2-1: USB disconnect, device number 9
[ 628.111649] usb 2-1: new high-speed USB device number 10 using ci_hdrc
[ 628.323651] hub 2-1:1.0: USB hub found
[ 628.342164] hub 2-1:1.0: 4 ports detected
[ 628.355318] pn54x_probe
[ 628.357844] pn544 1-0028: VEN GPIO error getting from OF node
[ 628.376374] usb 2-1: USB disconnect, device number 10
[ 628.741657] usb 2-1: new high-speed USB device number 11 using ci_hdrc
[ 628.954490] usb 2-1: device descriptor read/all, error -71

0 Kudos
1 Reply

203 Views
jimmychan
NXP TechSupport
NXP TechSupport

According to the error "pn544 1-0028: VEN GPIO error getting from OF node", seems the gpio pin setting for the otg may not proper in the dts file.

0 Kudos