linux/drivers/usb/mtu3
Chunfeng Yun 4da72e6d2a usb: mtu3: set otg_sel for u2port only if works as dual-role mode
When set otg_sel(SSUSB_U2_PORT_OTG_SEL) for u2port which supports
dual-role mode, the controller will automatically switch mode
between host and device according to IDDIG signal. But if the
u2port only supports device mode, and no IDDIG pin is provided,
setting otg_sel may cause failure of detection by host.
So set it only for dual-role mode.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-10-19 10:38:13 +03:00
..
Kconfig usb: mtu3: dual-role mode support 2016-10-27 17:02:41 +02:00
Makefile usb: mtu3: dual-role mode support 2016-10-27 17:02:41 +02:00
mtu3_core.c usb: mtu3: set otg_sel for u2port only if works as dual-role mode 2017-10-19 10:38:13 +03:00
mtu3_dr.c usb: mtu3: use FORCE/RG_IDDIG to implement manual DRD switch 2017-10-19 10:38:11 +03:00
mtu3_dr.h usb: mtu3: use FORCE/RG_IDDIG to implement manual DRD switch 2017-10-19 10:38:11 +03:00
mtu3_gadget_ep0.c usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00
mtu3_gadget.c usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00
mtu3_host.c usb: mtu3: use FORCE/RG_IDDIG to implement manual DRD switch 2017-10-19 10:38:11 +03:00
mtu3_hw_regs.h usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00
mtu3_plat.c usb: mtu3: set invalid dr_mode as dual-role mode 2017-10-19 10:38:12 +03:00
mtu3_qmu.c usb: mtu3: support 36-bit DMA address 2017-10-19 10:38:11 +03:00
mtu3_qmu.h
mtu3.h usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00