usb: musb: jz4740: Register USB role switch
authorPaul Cercueil <paul@crapouillou.net>
Mon, 16 Mar 2020 21:11:32 +0000 (16:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 19:03:27 +0000 (20:03 +0100)
commit5004eaa28eff6386091aa84ba392b4b8dc4ee067
tree810b573bfe8c82697ef73ad6476ab234bd8e9aee
parent57aadb46bd634c7889403220dcd110c7ff2c4868
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>
drivers/usb/musb/Kconfig
drivers/usb/musb/jz4740.c