Enable high speed support for USB device framework and usbtty
authorVipin KUMAR <vipin.kumar@st.com>
Mon, 26 Mar 2012 10:08:06 +0000 (15:38 +0530)
committerMarek Vasut <marek.vasut@gmail.com>
Wed, 28 Mar 2012 14:31:08 +0000 (16:31 +0200)
commitf9da0f894328802cb8aaeb8a24660e37ff624d26
tree5906cbda2eee776bc3200bf0e2c20e2378ddc42a
parent7cb30b13f12077c7eec8ce2419cd96cd65ace8e2
Enable high speed support for USB device framework and usbtty

This patch adds the support for high speed in usb device framework and usbtty
driver. This feature has been kept within a macro CONFIG_USBD_HS, so the board
configuration files have to define this macro to enable high speed support.

Along with that specific peripheral drivers also need to define a function to
let the framework know that the enumeration has happened at high speed.
This function prototype is "int is_usbd_high_speed(void)"

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
README
drivers/serial/usbtty.c
drivers/serial/usbtty.h
drivers/usb/gadget/core.c
drivers/usb/gadget/ep0.c
include/usbdescriptors.h
include/usbdevice.h