ohci-platform: Add support for devicetree instantiation
authorHans de Goede <hdegoede@redhat.com>
Fri, 7 Feb 2014 15:36:40 +0000 (16:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 22:24:24 +0000 (14:24 -0800)
commitca52a17ba975dbf47e87c9bc63086aca0cf92806
tree5aad16944490a0c4dd9727089b05050da197ea8b
parent31c6bf70955dda6ef92ab40624f289576cff97d3
ohci-platform: Add support for devicetree instantiation

Add support for ohci-platform instantiation from devicetree, including
optionally getting clks and a phy from devicetree, and enabling / disabling
those on power_on / off.

This should allow using ohci-platform from devicetree in various cases.
Specifically after this commit it can be used for the ohci controller found
on Allwinner sunxi SoCs.

Signed-off-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-ohci.txt [new file with mode: 0644]
drivers/usb/host/ohci-platform.c