usb: dwc3: meson-g12a: Add support for IRQ based OTG switching
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 14 Jun 2019 08:58:24 +0000 (10:58 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 18 Jun 2019 08:58:28 +0000 (11:58 +0300)
commitf90db10779adab4b2bb12dd5de661616b6fda9e3
tree015a8a0c27edfb1a32fb0555bfdee3f7ee1d9c9c
parent23c46801d14cb647afefc9ec9a7f785777251e76
usb: dwc3: meson-g12a: Add support for IRQ based OTG switching

Add support for the OTG ID change interrupt to switch between Host
and Device mode.

Tested on the Hardkernel Odroid-N2 board.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-meson-g12a.c