USB: ehci-tegra: add probing through device tree
authorOlof Johansson <olof@lixom.net>
Fri, 4 Nov 2011 09:12:40 +0000 (09:12 +0000)
committerOlof Johansson <olof@lixom.net>
Thu, 8 Dec 2011 04:47:48 +0000 (20:47 -0800)
commit4a53f4e692c5df8a4bf9bf059b8007d575b0204a
treea8ed23bee2f1c0233566105c77f0d084ecfc59e9
parentc27317c0ed114152d02b2ed40056f232e5732b9d
USB: ehci-tegra: add probing through device tree

Rely on platform_data being passed through auxdata for now; more elaborate
bindings for phy config and tunings to be added.

v2: moved vbus-gpio check to the helper function, added check for !of_node,
    added usb2 clock to board-dt table.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/mach-tegra/board-dt.c
drivers/usb/host/ehci-tegra.c