usb: ehci-platform: add optional reset controller retrieval
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 13 May 2014 15:44:19 +0000 (17:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:53:01 +0000 (15:53 -0700)
commit2d87bbd634b0fe5aa2285fd2a095867158fb2cc3
tree4ed108676d751e68b09ec2a81816e543bc4ca695
parent4615f3bd089fc4c549ed90e14982b360779feb50
usb: ehci-platform: add optional reset controller retrieval

On the Allwinner's A31 SoC the reset line connected to the EHCI IP has to
be deasserted for the EHCI block to be usable.

Add support for an optional reset controller that will be deasserted on
power off and asserted on power on.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb-ehci.txt
drivers/usb/host/ehci-platform.c