diff options
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/ch9.h | 2 | ||||
-rw-r--r-- | include/usb/composite.h | 3 | ||||
-rw-r--r-- | include/usb/gadget.h | 4 | ||||
-rw-r--r-- | include/usb/musb.h | 8 |
4 files changed, 9 insertions, 8 deletions
diff --git a/include/usb/ch9.h b/include/usb/ch9.h index 89d83e0d09..85f3e64cac 100644 --- a/include/usb/ch9.h +++ b/include/usb/ch9.h @@ -234,6 +234,8 @@ struct usb_ctrlrequest { #define USB_DT_PIPE_USAGE 0x24 /* From the USB 3.0 spec */ #define USB_DT_SS_ENDPOINT_COMP 0x30 +/* From the USB 3.1 spec */ +#define USB_DT_SSP_ISOC_ENDPOINT_COMP 0x31 /* Conventional codes for class-specific descriptors. The convention is * defined in the USB "Common Class" Spec (3.11). Individual class specs diff --git a/include/usb/composite.h b/include/usb/composite.h index f30568a54f..ec9abe7447 100644 --- a/include/usb/composite.h +++ b/include/usb/composite.h @@ -395,6 +395,9 @@ struct usb_composite_dev { spinlock_t lock; int in_reset_config; + + /* public: */ + unsigned int setup_pending:1; }; extern int usb_string_id(struct usb_composite_dev *c); diff --git a/include/usb/gadget.h b/include/usb/gadget.h index 80418a9cd4..afa11b2d9d 100644 --- a/include/usb/gadget.h +++ b/include/usb/gadget.h @@ -1018,6 +1018,10 @@ extern void usb_gadget_set_state(struct usb_gadget *gadget, /*-------------------------------------------------------------------------*/ +/* utility to tell udc core that the bus reset occurs */ +extern void usb_gadget_udc_reset(struct usb_gadget *gadget, + struct usb_gadget_driver *driver); + /* utility wrapping a simple endpoint selection policy */ extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *, diff --git a/include/usb/musb.h b/include/usb/musb.h index 13eb9f8aac..fef7dc5f2c 100644 --- a/include/usb/musb.h +++ b/include/usb/musb.h @@ -85,14 +85,6 @@ struct musb_hdrc_config { u8 ram_bits; /* ram address size */ struct musb_hdrc_eps_bits *eps_bits __deprecated; -#ifdef CONFIG_BLACKFIN - /* A GPIO controlling VRSEL in Blackfin */ - unsigned int gpio_vrsel; - unsigned int gpio_vrsel_active; - /* musb CLKIN in Blackfin in MHZ */ - unsigned char clkin; -#endif - }; struct musb_hdrc_platform_data { |