]> git.sur5r.net Git - u-boot/commit
usb: host: xhci-dwc3: Add dual role mode support from DT
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 09:38:41 +0000 (11:38 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:03 +0000 (23:34 +0200)
commit576e3cc700c598487fed741ee85103373a3f69d6
tree2226e13c5883ce1ad9902445f0497b3fdda39730
parentb7c1c7d2bad9eb052e80b28af6005d7f0ba1db30
usb: host: xhci-dwc3: Add dual role mode support from DT

DWC3 dual role mode is selected using DT "dr_mode"
property. If not found, DWC3 controller is configured
in HOST mode by default

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/xhci-dwc3.c