Documentation sysfs-bus-usb: Add rx_lanes and tx_lanes introduced in USB 3.2
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 19 Apr 2018 16:05:55 +0000 (19:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 14:19:26 +0000 (16:19 +0200)
rx_lanes and tx_lanes sysfs entries show the number of lanes in use by a
device.
USB 3.2 adds support for Dual-lane (symmetrical), using 2 rx lanes and
2 tx lanes for normal non Inter-Chip SSIC devices.
USB 3.1 and older are all single lane.

SSIC devices can have up to 4 lanes per direction in use,
with different number of rx and tx lanes.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-usb

index c702c78..c6e9b30 100644 (file)
@@ -236,3 +236,21 @@ Description:
                Supported values are 0 - 15.
                More information on how besl values map to microseconds can be found in
                USB 2.0 ECN Errata for Link Power Management, section 4.10)
+
+What:          /sys/bus/usb/devices/.../rx_lanes
+Date:          March 2018
+Contact:       Mathias Nyman <mathias.nyman@linux.intel.com>
+Description:
+               Number of rx lanes the device is using.
+               USB 3.2 adds Dual-lane support, 2 rx and 2 tx lanes over Type-C.
+               Inter-Chip SSIC devices support asymmetric lanes up to 4 lanes per
+               direction. Devices before USB 3.2 are single lane (rx_lanes = 1)
+
+What:          /sys/bus/usb/devices/.../tx_lanes
+Date:          March 2018
+Contact:       Mathias Nyman <mathias.nyman@linux.intel.com>
+Description:
+               Number of tx lanes the device is using.
+               USB 3.2 adds Dual-lane support, 2 rx and 2 tx -lanes over Type-C.
+               Inter-Chip SSIC devices support asymmetric lanes up to 4 lanes per
+               direction. Devices before USB 3.2 are single lane (tx_lanes = 1)