aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsl_devices.h
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-10-15 08:30:58 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:22:17 -0400
commit69cb1ec4ce4da4bc4c07bb09c4c98b3e25d99fb1 (patch)
tree802b47a9b8d485fda7e0083485a0668c090b0ead /include/linux/fsl_devices.h
parent0f266abd70cd83571eca019f764b5f1992da7361 (diff)
mxc_udc: add workaround for ENGcm09152 for i.MX35
this patch gives the possibility to workaround bug ENGcm09152 on i.MX35 when the hardware workaround is also implemented on the board. It covers the workaround described on page 25 of the following Errata : http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf Signed-off-by: Eric Bénard <eric@eukrea.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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index d5f9a7431bd0..4eb56ed75fbc 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -66,6 +66,7 @@ struct fsl_usb2_platform_data {
66 enum fsl_usb2_operating_modes operating_mode; 66 enum fsl_usb2_operating_modes operating_mode;
67 enum fsl_usb2_phy_modes phy_mode; 67 enum fsl_usb2_phy_modes phy_mode;
68 unsigned int port_enables; 68 unsigned int port_enables;
69 unsigned int workaround;
69 70
70 int (*init)(struct platform_device *); 71 int (*init)(struct platform_device *);
71 void (*exit)(struct platform_device *); 72 void (*exit)(struct platform_device *);
@@ -84,6 +85,8 @@ struct fsl_usb2_platform_data {
84#define FSL_USB2_PORT0_ENABLED 0x00000001 85#define FSL_USB2_PORT0_ENABLED 0x00000001
85#define FSL_USB2_PORT1_ENABLED 0x00000002 86#define FSL_USB2_PORT1_ENABLED 0x00000002
86 87
88#define FLS_USB2_WORKAROUND_ENGCM09152 (1 << 0)
89
87struct spi_device; 90struct spi_device;
88 91
89struct fsl_spi_platform_data { 92struct fsl_spi_platform_data {