Hi,
I am using latest OpenEmbedded Release on DragonBoard820c(p4).
Release: http://snapshots.linaro.org/96boards/dragonboard820c/linaro/openembedded/rocko/latest/rpb/1
root@dragonboard-820c:~# uname -a
Linux dragonboard-820c 4.14.15+linaro #1 SMP PREEMPT Wed May 16 13:10:36 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
Setup:
Mass storage(pendrive) connected on USB2.0 port via micro USB 2.0 OTG cable.
Issue :
USB2.0 port doesn’t work in host mode.By default dr_mode for dwc3@7600000 is set as otg, which means it can be configured as both host and gadget.
I tried modifying dr_mode=“host” in dwc3@7600000, but it didn’t work.
Note: USB2.0 host mode works with kernel v4.11.
root@dragonboard-820c:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, driver=xhci-hcd/0p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, driver=hub/4p, 480M
Can you please suggest any workaround to enable USB2.0 in host mode in kernel v4.14.?
Regards,
Krupal