summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-03-16 16:11:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-17 20:03:27 +0100
commit5004eaa28eff6386091aa84ba392b4b8dc4ee067 (patch)
tree810b573bfe8c82697ef73ad6476ab234bd8e9aee /drivers/usb/musb/Kconfig
parent57aadb46bd634c7889403220dcd110c7ff2c4868 (diff)
downloadlinux-next-5004eaa28eff6386091aa84ba392b4b8dc4ee067.tar.gz
linux-next-5004eaa28eff6386091aa84ba392b4b8dc4ee067.zip
usb: musb: jz4740: Register USB role switch
Register a USB role switch, in order to get notified by the connector driver when the USB role changes. The notification is then transmitted to the PHY. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Bin Liu <b-liu@ti.com> Link: https://lore.kernel.org/r/20200316211136.2274-5-b-liu@ti.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/Kconfig')
-rw-r--r--drivers/usb/musb/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index c4b349e074c1..3268adb7d7cf 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -113,6 +113,7 @@ config USB_MUSB_JZ4740
depends on MIPS || COMPILE_TEST
depends on USB_MUSB_GADGET
depends on USB=n || USB_OTG_BLACKLIST_HUB
+ select USB_ROLE_SWITCH
config USB_MUSB_MEDIATEK
tristate "MediaTek platforms"