diff options
| author | Stephen Warren <[email protected]> | 2012-03-16 16:06:07 -0600 |
|---|---|---|
| committer | Stephen Warren <[email protected]> | 2012-04-18 10:26:37 -0600 |
| commit | 434103adea3f63f6550f4b2bd16653328f933a66 (patch) | |
| tree | 1d7d4b3fea9b3b866841e51ed848e6d52547ddf4 /include/linux/platform_data | |
| parent | dcb5dbc305b975cccf40942feba40964069541d3 (diff) | |
usb: ehci-tegra: Add vbus_gpio to platform data
Add a vbus_gpio field to platform data. This mirrors the device tree
property nvidia,vbus-gpio. This makes the VBUS GPIO handling identical
between booting with board files and device tree; the driver always does
it.
This removes the need for board files to request and initialize the GPIO
early during their boot process, perhaps even before the GPIO driver is
ready to process the request.
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: [email protected]
Signed-off-by: Stephen Warren <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/tegra_usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/tegra_usb.h b/include/linux/platform_data/tegra_usb.h index 6bca5b569acb..66c673fef408 100644 --- a/include/linux/platform_data/tegra_usb.h +++ b/include/linux/platform_data/tegra_usb.h @@ -26,6 +26,7 @@ struct tegra_ehci_platform_data { /* power down the phy on bus suspend */ int power_down_on_bus_suspend; void *phy_config; + int vbus_gpio; }; #endif /* _TEGRA_USB_H_ */ |