Sergei Shtylyov | 371b53e0 | 2009-09-25 22:24:57 +0400 | [diff] [blame] | 1 | /* |
| 2 | * USB related definitions |
| 3 | * |
| 4 | * Copyright (C) 2009 MontaVista Software, Inc. <source@mvista.com> |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_ARCH_USB_H |
| 12 | #define __ASM_ARCH_USB_H |
| 13 | |
Sergei Shtylyov | e5d3d25 | 2009-09-25 23:14:02 +0400 | [diff] [blame] | 14 | /* Passed as the platform data to the OHCI driver */ |
| 15 | struct da8xx_ohci_root_hub { |
Sergei Shtylyov | e5d3d25 | 2009-09-25 23:14:02 +0400 | [diff] [blame] | 16 | /* Time from power on to power good (in 2 ms units) */ |
| 17 | u8 potpgt; |
| 18 | }; |
| 19 | |
Sergei Shtylyov | 355fb4e | 2009-10-30 23:46:14 +0400 | [diff] [blame] | 20 | void davinci_setup_usb(unsigned mA, unsigned potpgt_ms); |
| 21 | |
Sergei Shtylyov | 371b53e0 | 2009-09-25 22:24:57 +0400 | [diff] [blame] | 22 | #endif /* ifndef __ASM_ARCH_USB_H */ |