All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: u-boot@lists.denx.de
Subject: [PATCH v6 03/10] usb: add USB_SPEED_SUPER_PLUS
Date: Mon, 14 Sep 2020 17:43:44 +0800	[thread overview]
Message-ID: <1600076631-5928-4-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1600076631-5928-1-git-send-email-chunfeng.yun@mediatek.com>

Add enum USB_SPEED_SUPER_PLUS for USB3.1

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5~v6: no changes

v4: also add it into speed_names array

v2~v3: no changes
---
 drivers/usb/common/common.c | 1 +
 include/linux/usb/ch9.h     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c
index d4ae186..76f5a9c 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 989a5fc..7d225ee 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__
-- 
1.9.1

  parent reply	other threads:[~2020-09-14  9:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14  9:43 [PATCH v6 00/10] Add support MediaTek USB3 DRD driver Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 01/10] dt-binding: usb: add bindings for some common properties Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 02/10] dt-bindings: usb: mtu3: add bindings for MediaTek USB3 DRD Chunfeng Yun
2020-09-14  9:43 ` Chunfeng Yun [this message]
2020-09-14  9:43 ` [PATCH v6 04/10] usb: common: add define of usb_speed_string() Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 05/10] usb: add MediaTek USB3 DRD driver Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 06/10] usb: gadget: Add bcdDevice for the MTU3 USB Gadget Controller Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 07/10] arm: dts: mt8512: add usb related nodes Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 08/10] configs: mt8512: enable fastboot Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 09/10] configs: mt8512: add USB host related configs Chunfeng Yun
2020-09-14  9:43 ` [PATCH v6 10/10] MAINTAINERS: add USB driver to ARM MEDIATEK Chunfeng Yun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1600076631-5928-4-git-send-email-chunfeng.yun@mediatek.com \
    --to=chunfeng.yun@mediatek.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.