]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/usb/mtu3/mtu3_dr.h
usb: mtu3: register a USB Role Switch for dual role mode
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 29 Aug 2019 09:22:38 +0000 (17:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 18:02:15 +0000 (20:02 +0200)
commit1ac91ac5d097c1928efe6691d72c619462a9e3c5
tree24b7dbf1cccdcb71b8679f21b3447fb91ebda012
parent4602f3bff2669012c1147eecfe74c121765f5c56
usb: mtu3: register a USB Role Switch for dual role mode

Because extcon is not allowed for new bindings, and the
dual role switch is supported by USB Role Switch,
especially for Type-C drivers, so register a USB Role
Switch to support the new way

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1567070558-29417-12-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/Kconfig
drivers/usb/mtu3/mtu3.h
drivers/usb/mtu3/mtu3_debugfs.c
drivers/usb/mtu3/mtu3_dr.c
drivers/usb/mtu3/mtu3_dr.h
drivers/usb/mtu3/mtu3_plat.c