]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: add USB_SPEED_SUPER_PLUS
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 14 Oct 2020 07:08:27 +0000 (15:08 +0800)
committerMarek Vasut <marex@denx.de>
Mon, 19 Oct 2020 22:49:05 +0000 (00:49 +0200)
Add enum USB_SPEED_SUPER_PLUS for USB3.1

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/common/common.c
include/linux/usb/ch9.h

index d4ae18693c600b3251a09dc3581c0d1ce752fc0b..76f5a9ce60f354ce447f5301a6d750db21b02e48 100644 (file)
@@ -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)
index 989a5fcbd96668dddac062faa7bec07a0906854a..7d225ee9cb16946ad01e1c366f36546285b6c2e2 100644 (file)
@@ -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__