1 /*
2  * Copyright (C) 2010 Google, Inc.
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  */
14 
15 #ifndef _TEGRA_USB_H_
16 #define _TEGRA_USB_H_
17 
18 enum tegra_usb_operating_modes {
19 	TEGRA_USB_DEVICE,
20 	TEGRA_USB_HOST,
21 	TEGRA_USB_OTG,
22 };
23 
24 struct tegra_ehci_platform_data {
25 	enum tegra_usb_operating_modes operating_mode;
26 	/* power down the phy on bus suspend */
27 	int power_down_on_bus_suspend;
28 	void *phy_config;
29 };
30 
31 #endif /* _TEGRA_USB_H_ */
32