thunderbolt: Add support for USB4 v2 80 Gb/s link
authorGil Fine <gil.fine@intel.com>
Thu, 29 Sep 2022 10:00:09 +0000 (13:00 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 16 Jun 2023 06:53:27 +0000 (09:53 +0300)
commite111fb92513771cbcae70d0aa855c3ca20f48c1b
tree606ddb3983cae272f53c896161b3965c9700bcdb
parent6e21007d0f7e6723bb67e79aa3d0081419c403e8
thunderbolt: Add support for USB4 v2 80 Gb/s link

USB4 v2 bumps the per-lane speed up to 40 Gb/s. Also the lanes are
always bonded which gives 80 Gb/s symmetric link (and 120/40 Gb/s
asymmetric). This updates the speed and width of routers and XDomain
connections to support the Gen 4 link. For now we keep the link as is
even if it is already asymmetric.

While there make tb_port_set_link_width() static.

Signed-off-by: Gil Fine <gil.fine@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/dma_test.c
drivers/thunderbolt/icm.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/xdomain.c
include/linux/thunderbolt.h