USB: chipidea: add vbus detect for udc
authorRichard Zhao <richard.zhao@freescale.com>
Wed, 12 Sep 2012 11:58:09 +0000 (14:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 18:20:38 +0000 (11:20 -0700)
commit8c4fc031954b4eb72daf13d3c907a985a3eee208
tree0c55afe1e363f14ec6847c3ea8b7d3b1d24e10db
parent984f753cf120db60d97271e34cf16c95761f0278
USB: chipidea: add vbus detect for udc

Using vbus valid interrupt to detect vbus.

Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/udc.c