Richard Purdie | 81f280e | 2005-11-12 14:22:11 +0000 | [diff] [blame] | 1 | #ifndef ASMARM_ARCH_OHCI_H |
| 2 | #define ASMARM_ARCH_OHCI_H |
| 3 | |
| 4 | struct device; |
| 5 | |
| 6 | struct pxaohci_platform_data { |
| 7 | int (*init)(struct device *); |
| 8 | void (*exit)(struct device *); |
| 9 | |
| 10 | int port_mode; |
| 11 | #define PMM_NPS_MODE 1 |
| 12 | #define PMM_GLOBAL_MODE 2 |
| 13 | #define PMM_PERPORT_MODE 3 |
Richard Purdie | 0c27c5d | 2006-06-08 22:44:07 +0100 | [diff] [blame] | 14 | |
| 15 | int power_budget; |
Richard Purdie | 81f280e | 2005-11-12 14:22:11 +0000 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | extern void pxa_set_ohci_info(struct pxaohci_platform_data *info); |
| 19 | |
| 20 | #endif |