diff options
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r-- | include/linux/fsl_devices.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 28e33fea5107..d5f9a7431bd0 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
@@ -58,11 +58,26 @@ enum fsl_usb2_phy_modes { | |||
58 | FSL_USB2_PHY_SERIAL, | 58 | FSL_USB2_PHY_SERIAL, |
59 | }; | 59 | }; |
60 | 60 | ||
61 | struct clk; | ||
62 | struct platform_device; | ||
63 | |||
61 | struct fsl_usb2_platform_data { | 64 | struct fsl_usb2_platform_data { |
62 | /* board specific information */ | 65 | /* board specific information */ |
63 | enum fsl_usb2_operating_modes operating_mode; | 66 | enum fsl_usb2_operating_modes operating_mode; |
64 | enum fsl_usb2_phy_modes phy_mode; | 67 | enum fsl_usb2_phy_modes phy_mode; |
65 | unsigned int port_enables; | 68 | unsigned int port_enables; |
69 | |||
70 | int (*init)(struct platform_device *); | ||
71 | void (*exit)(struct platform_device *); | ||
72 | void __iomem *regs; /* ioremap'd register base */ | ||
73 | struct clk *clk; | ||
74 | unsigned big_endian_mmio:1; | ||
75 | unsigned big_endian_desc:1; | ||
76 | unsigned es:1; /* need USBMODE:ES */ | ||
77 | unsigned le_setup_buf:1; | ||
78 | unsigned have_sysif_regs:1; | ||
79 | unsigned invert_drvvbus:1; | ||
80 | unsigned invert_pwr_fault:1; | ||
66 | }; | 81 | }; |
67 | 82 | ||
68 | /* Flags in fsl_usb2_mph_platform_data */ | 83 | /* Flags in fsl_usb2_mph_platform_data */ |