diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:18:00 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:18:00 -0600 |
commit | e3d08ca33aa9f75d88e0539b0457c7291e726c51 (patch) | |
tree | b061d2e619004267c9a37525a667d407ca5468c5 /include | |
parent | e7ee233efd7fbb252444cb772744cfb18fd109d4 (diff) |
This patch adds USB Host, Gadget and OTG functionality to the linux
2.6.22 kernel for MX platforms.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-drivers_usb.patch
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/fsl_xcvr.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/usb/fsl_xcvr.h b/include/linux/usb/fsl_xcvr.h new file mode 100644 index 000000000000..e15f32e46363 --- /dev/null +++ b/include/linux/usb/fsl_xcvr.h @@ -0,0 +1,24 @@ +#ifndef __LINUX_USB_FSL_XCVR_H +#define __LINUX_USB_FSL_XCVR_H +/** + * @name: transceiver name + * @xcvr_type: one of PORTSC_PTS_{UTMI,SERIAL,ULPI} + * @init: transceiver- and board-specific initialization function + * @uninit: transceiver- and board-specific uninitialization function + * @set_host: + * @set_device: + * + */ +struct fsl_xcvr_ops { + char *name; + u32 xcvr_type; + + void (*init) (struct fsl_xcvr_ops * ops); + void (*uninit) (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); +}; + +#endif |