This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: VBUS error

Part Number: AM3352


Tool/software: Linux

Hi.

I use board with custom hardware, that connect WiFi over USB to am3352. I use mainline Linux 4.8.17. 

In my board schematics only USB signal lines (USB1_DM and USB1_DP) connected from CPU to WiFI (but not USB Power line, USB +5V connected from other power supply, and not connected with am3352).

In result I see USB error in dmesg:

[  734.531123] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0008050c
[  734.683550] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0008050c
[  734.835977] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0008050c
[  734.988398] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008050c

And USB does not work.

lsusb just show internal hub:

# lsusb  
Bus 001 Device 001: ID 1d6b:0002

My device tree (USB part):

&usb1_phy {
    status = "okay";
};

&usb1 {
    status = "okay";
    dr_mode = "host";
};

&cppi41dma {
    status = "okay";
};

 

How I can fix USB?