usb: musb: Add support for optional VBUS irq to dsps glue layer
authorTony Lindgren <tony@atomide.com>
Thu, 2 Feb 2017 03:30:25 +0000 (21:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:05:11 +0000 (10:05 +0100)
commit369469a92393d8e365093d44c0df7a7b6430bc8b
treee744f354202fc19526e0b2929223f8d1477a8bc0
parent1ef2bcefa21d1c0c61bfce1f994a0fcd12ab40e7
usb: musb: Add support for optional VBUS irq to dsps glue layer

We can now configure the PMIC interrupt to provide us VBUS
events. In that case we don't need to constantly poll the
status and can make it optional. This is only wired up
for the mini-B interface on beaglebone.

Note that eventually we should get also the connect status
for the host interface when the am335x internal PM coprocessor
provides us with an IRQ chip. For now, we still need to poll
for the host mode status.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_dsps.c