usb: mtu3: dual-role mode support
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 19 Oct 2016 02:28:26 +0000 (10:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Oct 2016 15:02:41 +0000 (17:02 +0200)
commitd0ed062a8b75b9c9ba5a942894636f2d9bb72040
tree13f0860c5451f03778668e823b7c9321b5089d00
parentb3f4e727c1ecec36e628e89298349d9c51a32aac
usb: mtu3: dual-role mode support

support dual-role mode; there are two ways to switch between
host and device modes, one is by idpin, another is by debugfs
which depends on user input.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/Kconfig
drivers/usb/mtu3/Makefile
drivers/usb/mtu3/mtu3.h
drivers/usb/mtu3/mtu3_core.c
drivers/usb/mtu3/mtu3_dr.c [new file with mode: 0644]
drivers/usb/mtu3/mtu3_dr.h
drivers/usb/mtu3/mtu3_gadget.c
drivers/usb/mtu3/mtu3_host.c
drivers/usb/mtu3/mtu3_plat.c