diff options
author | Randy Vinson <rvinson@mvista.com> | 2006-01-20 16:53:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:49:55 -0500 |
commit | 80cb9aee01245b38325dd84f1359b14a3f01f10d (patch) | |
tree | aa261392fa976e86dba2bea43b8afc9a64228b89 /include/linux/fsl_devices.h | |
parent | 469d02293d494d30dba81895cd3d34b0a3a6d51a (diff) |
[PATCH] USB: EHCI for Freescale 83xx
Adding a Host Mode USB driver for the Freescale 83xx.
This driver supports both the Dual-Role (DR) controller and the
Multi-Port-Host (MPH) controller present in the Freescale MPC8349. It has
been tested with the MPC8349CDS reference system. This driver depends on
platform support code for setting up the pins on the device package in a
manner appropriate for the board in use. Note that this patch requires
selecting the EHCI controller option under the USB Host menu.
Signed-off-by: Randy Vinson <rvinson@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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__ */ |