summaryrefslogtreecommitdiff
path: root/include/linux/usb/fsl_xcvr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/fsl_xcvr.h')
-rw-r--r--include/linux/usb/fsl_xcvr.h8
1 files changed, 8 insertions, 0 deletions
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