linux-sg2042/drivers/usb/chipidea
Peter Chen a107f8c505 usb: chipidea: add vbus interrupt handler
We add vbus interrupt handler at ci_otg_work, it uses OTGSC_BSV(at otgsc)
to know it is connect or disconnet event.
Meanwhile, we introduce two flags id_event and b_sess_valid_event to
indicate it is an id interrupt or a vbus interrupt.

Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-14 12:37:20 -07:00
..
Kconfig usb: chipidea: improve kconfig 2.0 2013-08-14 12:34:16 -07:00
Makefile usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
bits.h usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
ci.h usb: chipidea: add vbus interrupt handler 2013-08-14 12:37:20 -07:00
ci_hdrc_imx.c usb: chipidea: move vbus regulator operation to core 2013-08-14 12:34:17 -07:00
ci_hdrc_imx.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_msm.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_pci.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
core.c usb: chipidea: add vbus interrupt handler 2013-08-14 12:37:20 -07:00
debug.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
otg.c usb: chipidea: add vbus interrupt handler 2013-08-14 12:37:20 -07:00
otg.h usb: chipidea: add vbus interrupt handler 2013-08-14 12:37:20 -07:00
udc.c usb: chipidea: add vbus interrupt handler 2013-08-14 12:37:20 -07:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00