diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc_ehci.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc_ehci.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_ehci.h b/arch/arm/plat-mxc/include/mach/mxc_ehci.h index 4b9b8368c0c0..7fc5f9946199 100644 --- a/arch/arm/plat-mxc/include/mach/mxc_ehci.h +++ b/arch/arm/plat-mxc/include/mach/mxc_ehci.h | |||
@@ -25,6 +25,18 @@ | |||
25 | #define MXC_EHCI_INTERNAL_PHY (1 << 7) | 25 | #define MXC_EHCI_INTERNAL_PHY (1 << 7) |
26 | #define MXC_EHCI_IPPUE_DOWN (1 << 8) | 26 | #define MXC_EHCI_IPPUE_DOWN (1 << 8) |
27 | #define MXC_EHCI_IPPUE_UP (1 << 9) | 27 | #define MXC_EHCI_IPPUE_UP (1 << 9) |
28 | #define MXC_EHCI_WAKEUP_ENABLED (1 << 10) | ||
29 | #define MXC_EHCI_ITC_NO_THRESHOLD (1 << 11) | ||
30 | |||
31 | #define MXC_USBCTRL_OFFSET 0 | ||
32 | #define MXC_USB_PHY_CTR_FUNC_OFFSET 0x8 | ||
33 | #define MXC_USB_PHY_CTR_FUNC2_OFFSET 0xc | ||
34 | |||
35 | #define MX5_USBOTHER_REGS_OFFSET 0x800 | ||
36 | |||
37 | /* USB_PHY_CTRL_FUNC2*/ | ||
38 | #define MX5_USB_UTMI_PHYCTRL1_PLLDIV_MASK 0x3 | ||
39 | #define MX5_USB_UTMI_PHYCTRL1_PLLDIV_SHIFT 0 | ||
28 | 40 | ||
29 | struct mxc_usbh_platform_data { | 41 | struct mxc_usbh_platform_data { |
30 | int (*init)(struct platform_device *pdev); | 42 | int (*init)(struct platform_device *pdev); |
@@ -35,7 +47,7 @@ struct mxc_usbh_platform_data { | |||
35 | struct otg_transceiver *otg; | 47 | struct otg_transceiver *otg; |
36 | }; | 48 | }; |
37 | 49 | ||
38 | int mxc_set_usbcontrol(int port, unsigned int flags); | 50 | int mxc_initialize_usb_hw(int port, unsigned int flags); |
39 | 51 | ||
40 | #endif /* __INCLUDE_ASM_ARCH_MXC_EHCI_H */ | 52 | #endif /* __INCLUDE_ASM_ARCH_MXC_EHCI_H */ |
41 | 53 | ||