Skip to content

Commit 1cd8fd2

Browse files
Tatyana Brokhmangregkh
authored andcommitted
usb: gadget: dummy_hcd: add SuperSpeed support
This patch adds SS support to the dummy hcd module. It may be used to test SS device when no (SS) HW is available. USB 3.0 hub includes 2 hubs - one HS and one SS. This patch adds support for a SS root hub in the dummy_hcd module. A new module parameter was added: is_super_speed. When set to true, a SS root hub will also be registered and the connected device will be enumerated over the SS root hub. The default of this parameter is false. Signed-off-by: Tatyana Brokhman <[email protected]> [ [email protected] : slight change to commit log fixed one coding style issue ] Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent cdfcbd2 commit 1cd8fd2

File tree

2 files changed

+477
-88
lines changed

2 files changed

+477
-88
lines changed

drivers/usb/gadget/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ config USB_GADGET_DUMMY_HCD
631631
boolean "Dummy HCD (DEVELOPMENT)"
632632
depends on USB=y || (USB=m && USB_GADGET=m)
633633
select USB_GADGET_DUALSPEED
634+
select USB_GADGET_SUPERSPEED
634635
help
635636
This host controller driver emulates USB, looping all data transfer
636637
requests back to a USB "gadget driver" in the same host. The host

0 commit comments

Comments
 (0)