diff options
author | Jun Li <r65092@freescale.com> | 2008-03-05 13:07:34 +0800 |
---|---|---|
committer | Daniel Schaeffer <daniel.schaeffer@timesys.com> | 2008-08-25 15:20:41 -0400 |
commit | 3bb34e6ac73ffcf58cdaa3f988cc84268b32b3c2 (patch) | |
tree | 9856fab200175a3669408f5f52242600d3127827 /include/linux | |
parent | 0844a8934f378cec24892cab393f798b7bba1381 (diff) |
ENGR00064728 MX31 3DS USB Patch
The patch for USB changes on mx31 3stack board: USBOTG, USBHOST,ISP1504
Signed-off-by: Jun Li <r65092@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fsl_devices.h | 1 | ||||
-rw-r--r-- | include/linux/usb/fsl_xcvr.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index f1195d70cbfd..031d88517ba9 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -123,6 +123,7 @@ struct fsl_usb2_platform_data { int does_otg; unsigned power_budget; /* for hcd->power_budget */ struct fsl_xcvr_ops *xcvr_ops; + struct fsl_xcvr_power *xcvr_pwr; int (*gpio_usb_active) (void); void (*gpio_usb_inactive) (void); }; diff --git a/include/linux/usb/fsl_xcvr.h b/include/linux/usb/fsl_xcvr.h index ea4a11d4242e..b15990a9808c 100644 --- a/include/linux/usb/fsl_xcvr.h +++ b/include/linux/usb/fsl_xcvr.h @@ -1,5 +1,7 @@ #ifndef __LINUX_USB_FSL_XCVR_H #define __LINUX_USB_FSL_XCVR_H +#include <linux/platform_device.h> +#include <linux/regulator/regulator.h> /** * @name: transceiver name * @xcvr_type: one of PORTSC_PTS_{UTMI,SERIAL,ULPI} @@ -15,10 +17,16 @@ struct fsl_xcvr_ops { void (*init) (struct fsl_xcvr_ops * ops); void (*uninit) (struct fsl_xcvr_ops * ops); + void (*suspend) (struct fsl_xcvr_ops *ops); void (*set_host) (void); void (*set_device) (void); void (*set_vbus_power) (u32 * view, int on); void (*set_remote_wakeup) (u32 * view); }; +struct fsl_xcvr_power { + struct platform_device *usb_pdev; + struct regulator *regu1; + struct regulator *regu2; +}; #endif |