diff options
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 |