19 Apr, 2015
3 commits
-
Add a few more shifts/masks to make it easier to decode a pipe value (rather
than just building it). We need this for USB device emulation.Signed-off-by: Simon Glass
Reviewed-by: Marek Vasut -
All USB controllers need a root hub. Add a sandbox emulation for this so
that we can add USB devices to sandbox.Signed-off-by: Simon Glass
Reviewed-by: Marek Vasut -
These are better off in a header file so they can be used by other code (e.g.
the sandbox USB storage emulator).Signed-off-by: Simon Glass
Reviewed-by: Marek Vasut
21 Oct, 2013
1 commit
-
Macros defining bmRequestType field of USB device request,
given in table 9.2 USB 2.0 spec, are rather generic macros
which can be further used by other Host controller stacks.
So moving them to usb_defs header.Signed-off-by: Vivek Gautam
Cc: Julius Werner
Cc: Simon Glass
Cc: Minkyu Kang
Cc: Dan Murphy
Cc: Marek Vasut
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
06 May, 2013
4 commits
-
Fix the Port status bit constants and Port feature number
constants as a part of USB 2.0 and USB 3.0 Hub class.Signed-off-by: Vivek Gautam
-
This adds usb framework support for super-speed usb, which will
further facilitate to add stack support for xHCI.Signed-off-by: Vikas C Sajjan
Signed-off-by: Vivek Gautam -
Some cleanup in usb framework, nothing much on feature side.
Signed-off-by: Vikas C Sajjan
Signed-off-by: Vivek Gautam -
This patch adds a new 'usb test' command, that will set a port to a USB
2.0 test mode (see USB 2.0 spec 7.1.20). It supports all five test modes
on both downstream hub ports and ordinary device's upstream ports. In
addition, it supports EHCI root hub ports.Signed-off-by: Julius Werner
20 Nov, 2012
1 commit
-
Linux usb/ch9.h seems to have all the same information (and more)
as usbdescriptors.h so use the former instead of the later one.As a consequense of this change USB_SPEED_* values don't correspond
directly to EHCI speed encoding anymore, I've added necessary
recoding in EHCI driver. Also there is no point to put speed into
pipe anymore so it's removed and a bunch of host drivers fixed to
look at usb_device->speed instead.Old usbdescriptors.h included is not removed as it seems to be
used by old USB device code.This makes usb.h and usbdevice.h incompatible. Fortunately the
only place that tries to include both are the old MUSB code and
it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
on musb_regs structure but this attribute seems to be unneeded
(old MUSB code doesn't support any DMA at all).Signed-off-by: Ilya Yanok
29 Jan, 2009
1 commit
-
Prepare USB layer for ehci support
Signed-off-by: Michael Trimarchi
Signed-off-by: Remy Böhmer
02 Aug, 2005
1 commit
-
Patch by Stefan Roese, 2 Aug 2005
01 Aug, 2005
1 commit
-
Patch by Steven Blakeslee, 27 Jul 2005
21 Jul, 2005
1 commit
-
A new, Windows compatible init sequence was also backported from Linux 2.6,
but disabled with #undef NEW_INIT_SEQ as it wouldn't change the behaviour
of the memopry sticks we tested. Maybe it's not relevant for mass storage
devices. For recerence, see file common/usb.c, function usb_new_device(),
section #ifdef NEW_INIT_SEQ.
28 Jun, 2003
1 commit
-
- remove trailing white space, trailing empty lines, C++ comments, etc.
- split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003:
- major rework of command structure
(work done mostly by Michal Cendrowski and Joakim Kristiansen)
09 Mar, 2002
1 commit