aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsl_devices.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r--include/linux/fsl_devices.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index fffdf00f87b..1962102d132 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -58,6 +58,13 @@ enum fsl_usb2_phy_modes {
58 FSL_USB2_PHY_SERIAL, 58 FSL_USB2_PHY_SERIAL,
59}; 59};
60 60
61enum fsl_usb2_phy_types {
62 FSL_USB2_PHY_TYPE_UTMIP = 1,
63 FSL_USB2_PHY_TYPE_ULPI = 2,
64 FSL_USB2_PHY_TYPE_HSIC = 3,
65 FSL_USB2_PHY_TYPE_ICUSB = 4,
66};
67
61struct clk; 68struct clk;
62struct platform_device; 69struct platform_device;
63 70
@@ -72,7 +79,6 @@ struct fsl_usb2_platform_data {
72 void (*exit)(struct platform_device *); 79 void (*exit)(struct platform_device *);
73 void __iomem *regs; /* ioremap'd register base */ 80 void __iomem *regs; /* ioremap'd register base */
74 struct clk *clk; 81 struct clk *clk;
75 unsigned power_budget; /* hcd->power_budget */
76 unsigned big_endian_mmio:1; 82 unsigned big_endian_mmio:1;
77 unsigned big_endian_desc:1; 83 unsigned big_endian_desc:1;
78 unsigned es:1; /* need USBMODE:ES */ 84 unsigned es:1; /* need USBMODE:ES */
@@ -95,6 +101,9 @@ struct fsl_usb2_platform_data {
95 u32 pm_configured_flag; 101 u32 pm_configured_flag;
96 u32 pm_portsc; 102 u32 pm_portsc;
97 u32 pm_usbgenctrl; 103 u32 pm_usbgenctrl;
104
105 void *phy_config;
106 enum fsl_usb2_phy_types usb_phy_type;
98}; 107};
99 108
100/* Flags in fsl_usb2_mph_platform_data */ 109/* Flags in fsl_usb2_mph_platform_data */