aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/tb_regs.h
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2020-11-26 12:52:43 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-01-11 17:15:42 +0300
commitfdb0887c5a87c3a98958d3c5c90f871aa6d1a562 (patch)
tree4dbc78d44f23e68a2af3debe0532dc1635f6663a /drivers/thunderbolt/tb_regs.h
parentthunderbolt: Constify static attribute_group structs (diff)
downloadlinux-dev-fdb0887c5a87c3a98958d3c5c90f871aa6d1a562.tar.xz
linux-dev-fdb0887c5a87c3a98958d3c5c90f871aa6d1a562.zip
thunderbolt: Start lane initialization after sleep
USB4 spec says that for TBT3 compatible device routers the connection manager needs to set SLI (Start Lane Initialization) to get the lanes that were not connected back to functional state after sleep. Same needs to be done if the link was XDomain. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Diffstat (limited to 'drivers/thunderbolt/tb_regs.h')
-rw-r--r--drivers/thunderbolt/tb_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/tb_regs.h b/drivers/thunderbolt/tb_regs.h
index ae427a953489..626751e06292 100644
--- a/drivers/thunderbolt/tb_regs.h
+++ b/drivers/thunderbolt/tb_regs.h
@@ -464,6 +464,7 @@ struct tb_regs_hop {
#define TB_LC_SX_CTRL_L1D BIT(17)
#define TB_LC_SX_CTRL_L2C BIT(20)
#define TB_LC_SX_CTRL_L2D BIT(21)
+#define TB_LC_SX_CTRL_SLI BIT(29)
#define TB_LC_SX_CTRL_UPSTREAM BIT(30)
#define TB_LC_SX_CTRL_SLP BIT(31)