diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2021-01-19 17:36:14 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-06 14:21:21 +0100 |
commit | 52c2d15703c3a900d5f78cd599b823db40d5100b (patch) | |
tree | c5dceb701423f894c87246d49aafba1ec5c1fce5 /drivers/usb/dwc3/gadget.c | |
parent | de4d9ea789530ac0ce3409878422e9389c3a7cd3 (diff) | |
download | lwn-52c2d15703c3a900d5f78cd599b823db40d5100b.tar.gz lwn-52c2d15703c3a900d5f78cd599b823db40d5100b.zip |
usb: common: Parse for USB SSP genXxY
The USB "maximum-speed" property can now take the SSP signaling rate
generation and lane count with these new strings:
"super-speed-plus-gen2x2"
"super-speed-plus-gen2x1"
"super-speed-plus-gen1x2"
Introduce usb_get_maximum_ssp_rate() to parse for the corresponding
usb_ssp_rate enum. The original usb_get_maximum_speed() will return
USB_SPEED_SUPER_PLUS if it matches one of these new strings.
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/f8ed896313d8cd8e2d2b540fc82db92b3ddf8a47.1611106162.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
0 files changed, 0 insertions, 0 deletions