From: Chunfeng Yun Date: Wed, 14 Oct 2020 07:08:27 +0000 (+0800) Subject: usb: add USB_SPEED_SUPER_PLUS X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a4de6e380fd1078c3f06210a0be0f3f8a69062dc;p=u-boot.git usb: add USB_SPEED_SUPER_PLUS Add enum USB_SPEED_SUPER_PLUS for USB3.1 Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c index d4ae18693c..76f5a9ce60 100644 --- a/drivers/usb/common/common.c +++ b/drivers/usb/common/common.c @@ -46,6 +46,7 @@ static const char *const speed_names[] = { [USB_SPEED_HIGH] = "high-speed", [USB_SPEED_WIRELESS] = "wireless", [USB_SPEED_SUPER] = "super-speed", + [USB_SPEED_SUPER_PLUS] = "super-speed-plus", }; enum usb_device_speed usb_get_maximum_speed(ofnode node) diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 989a5fcbd9..7d225ee9cb 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h @@ -956,6 +956,7 @@ enum usb_device_speed { USB_SPEED_HIGH, /* usb 2.0 */ USB_SPEED_WIRELESS, /* wireless (usb 2.5) */ USB_SPEED_SUPER, /* usb 3.0 */ + USB_SPEED_SUPER_PLUS, /* usb 3.1 */ }; #ifdef __KERNEL__