diff options
Diffstat (limited to 'include/linux/fsl_devices.h')
| -rw-r--r-- | include/linux/fsl_devices.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index a9f1cfd096ff..a3a0e078f79d 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
| @@ -83,5 +83,32 @@ struct fsl_i2c_platform_data { | |||
| 83 | #define FSL_I2C_DEV_SEPARATE_DFSRR 0x00000001 | 83 | #define FSL_I2C_DEV_SEPARATE_DFSRR 0x00000001 |
| 84 | #define FSL_I2C_DEV_CLOCK_5200 0x00000002 | 84 | #define FSL_I2C_DEV_CLOCK_5200 0x00000002 |
| 85 | 85 | ||
| 86 | |||
| 87 | enum fsl_usb2_operating_modes { | ||
| 88 | FSL_USB2_MPH_HOST, | ||
| 89 | FSL_USB2_DR_HOST, | ||
| 90 | FSL_USB2_DR_DEVICE, | ||
| 91 | FSL_USB2_DR_OTG, | ||
| 92 | }; | ||
| 93 | |||
| 94 | enum fsl_usb2_phy_modes { | ||
| 95 | FSL_USB2_PHY_NONE, | ||
| 96 | FSL_USB2_PHY_ULPI, | ||
| 97 | FSL_USB2_PHY_UTMI, | ||
| 98 | FSL_USB2_PHY_UTMI_WIDE, | ||
| 99 | FSL_USB2_PHY_SERIAL, | ||
| 100 | }; | ||
| 101 | |||
| 102 | struct fsl_usb2_platform_data { | ||
| 103 | /* board specific information */ | ||
| 104 | enum fsl_usb2_operating_modes operating_mode; | ||
| 105 | enum fsl_usb2_phy_modes phy_mode; | ||
| 106 | unsigned int port_enables; | ||
| 107 | }; | ||
| 108 | |||
| 109 | /* Flags in fsl_usb2_mph_platform_data */ | ||
| 110 | #define FSL_USB2_PORT0_ENABLED 0x00000001 | ||
| 111 | #define FSL_USB2_PORT1_ENABLED 0x00000002 | ||
| 112 | |||
| 86 | #endif /* _FSL_DEVICE_H_ */ | 113 | #endif /* _FSL_DEVICE_H_ */ |
| 87 | #endif /* __KERNEL__ */ | 114 | #endif /* __KERNEL__ */ |
