diff options
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/da8xx.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/usb.h | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index abb8a5b2c692..3b7527324bf4 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <mach/emac.h> | 19 | #include <mach/emac.h> |
20 | #include <mach/asp.h> | 20 | #include <mach/asp.h> |
21 | #include <mach/mmc.h> | 21 | #include <mach/mmc.h> |
22 | #include <mach/usb.h> | ||
22 | 23 | ||
23 | extern void __iomem *da8xx_syscfg_base; | 24 | extern void __iomem *da8xx_syscfg_base; |
24 | 25 | ||
@@ -78,6 +79,7 @@ void __init da850_init(void); | |||
78 | int da8xx_register_edma(void); | 79 | int da8xx_register_edma(void); |
79 | int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata); | 80 | int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata); |
80 | int da8xx_register_watchdog(void); | 81 | int da8xx_register_watchdog(void); |
82 | int da8xx_register_usb11(struct da8xx_ohci_root_hub *pdata); | ||
81 | int da8xx_register_emac(void); | 83 | int da8xx_register_emac(void); |
82 | int da8xx_register_lcdc(struct da8xx_lcdc_platform_data *pdata); | 84 | int da8xx_register_lcdc(struct da8xx_lcdc_platform_data *pdata); |
83 | int da8xx_register_mmcsd0(struct davinci_mmc_config *config); | 85 | int da8xx_register_mmcsd0(struct davinci_mmc_config *config); |
diff --git a/arch/arm/mach-davinci/include/mach/usb.h b/arch/arm/mach-davinci/include/mach/usb.h index d0fb412a9edd..435f2284238a 100644 --- a/arch/arm/mach-davinci/include/mach/usb.h +++ b/arch/arm/mach-davinci/include/mach/usb.h | |||
@@ -34,4 +34,24 @@ | |||
34 | #define CFGCHIP2_REFFREQ_24MHZ (2 << 0) | 34 | #define CFGCHIP2_REFFREQ_24MHZ (2 << 0) |
35 | #define CFGCHIP2_REFFREQ_48MHZ (3 << 0) | 35 | #define CFGCHIP2_REFFREQ_48MHZ (3 << 0) |
36 | 36 | ||
37 | struct da8xx_ohci_root_hub; | ||
38 | |||
39 | typedef void (*da8xx_ocic_handler_t)(struct da8xx_ohci_root_hub *hub, | ||
40 | unsigned port); | ||
41 | |||
42 | /* Passed as the platform data to the OHCI driver */ | ||
43 | struct da8xx_ohci_root_hub { | ||
44 | /* Switch the port power on/off */ | ||
45 | int (*set_power)(unsigned port, int on); | ||
46 | /* Read the port power status */ | ||
47 | int (*get_power)(unsigned port); | ||
48 | /* Read the port over-current indicator */ | ||
49 | int (*get_oci)(unsigned port); | ||
50 | /* Over-current indicator change notification (pass NULL to disable) */ | ||
51 | int (*ocic_notify)(da8xx_ocic_handler_t handler); | ||
52 | |||
53 | /* Time from power on to power good (in 2 ms units) */ | ||
54 | u8 potpgt; | ||
55 | }; | ||
56 | |||
37 | #endif /* ifndef __ASM_ARCH_USB_H */ | 57 | #endif /* ifndef __ASM_ARCH_USB_H */ |