thunderbolt: Add support for enhanced uni-directional TMU mode
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 11 Oct 2022 09:11:09 +0000 (12:11 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 16 Jun 2023 06:53:28 +0000 (09:53 +0300)
commitd49b4f043d63bddf4c1836623b8ae800878ed2e3
treefaae3496502bb9f53d658ed1f5431eb7bded1e33
parent322ff701ffed52fb1cade855b2145a3b4316ccd7
thunderbolt: Add support for enhanced uni-directional TMU mode

This is new TMU mode introduced with the USB4 v2. This mode is simpler
than the existing ones and allows all CL states as well. Enable this for
all links where both side routers are v2 and keep the existing
functionality for the v1 and earlier links.

Currently only support the MedRes rate. We can add the HiFi rate later
too if it turns out to be useful.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/tmu.c
drivers/thunderbolt/usb4.c