USB0 host mode not working on mainline kernel for Olinuxino Micro

Started by Zaxter, July 30, 2017, 08:51:53 AM

Previous topic - Next topic

Zaxter

Hi All,

I am not able to get USB0 to work in host mode.
This is an Olimex A20 Olinuxino micro and I have set `dr_mode = "host";` in the dts. I have compiled the kernel with USB support and the other USBs are working fine.

I found this post (https://groups.google.com/forum/#!msg/linux-sunxi/uulK5lf7XrU/QUMtNbVpAQAJ) which addresses a similar problem for the lime2 board. I tried making these changes but it isn't working for me.
My kernel version is 4.4.71 and it should have USB support as per the sunxi mainlining effort page.

FWIW, I see the following in my boot logs:
[    1.591201] vcc5v0: disabling
[    1.591218] ahci-5v: disabling
[    1.591225] usb0-vbus: disabling


I'd appreciate if someone can help me here.

Thanks,
~~ Shoaib.