thunderbolt: Add CL1 support for USB4 and Titan Ridge routers
authorGil Fine <gil.fine@intel.com>
Thu, 26 May 2022 10:59:20 +0000 (13:59 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 6 Jun 2022 09:24:56 +0000 (12:24 +0300)
commitb017a46d486cd4113b1856f3fd611f54cd0f9c03
tree0888e6d909bee026b539e931f47dcd3e0d995909
parent5fd6b9a5cbe63fea4c490fee8af34144a139a266
thunderbolt: Add CL1 support for USB4 and Titan Ridge routers

In this patch we add support for a second low power state of the link: CL1.
Low power states (called collectively CLx) are used to reduce
transmitter and receiver power when a high-speed lane is idle.
We enable it, if both sides of the link support it,
and only for the first hop router (i.e. the first device that connected
to the host router). This is needed for better thermal management.

Signed-off-by: Gil Fine <gil.fine@intel.com>
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