diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-01-14 16:44:17 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-05-31 14:39:52 +0300 |
commit | 6026b703e8f61bf9c395bb286fa3b46956ce0496 (patch) | |
tree | 90f235d735fd87cab12630c017c761688411e569 /drivers/thunderbolt/tb.h | |
parent | 68977e61ab9e3fbb8ebbb1c7e8c772762d232f7c (diff) | |
download | linux-stable-6026b703e8f61bf9c395bb286fa3b46956ce0496.tar.gz linux-stable-6026b703e8f61bf9c395bb286fa3b46956ce0496.tar.bz2 linux-stable-6026b703e8f61bf9c395bb286fa3b46956ce0496.zip |
thunderbolt: Add wake from DisplayPort
Latest USB4 spec added a new wake bit for DisplayPort so add this to the
driver when runtime suspending. This way wake up the domain when a new
monitor is plugged in to any of the device routers.
Also do the same for pre-USB4 devices through the link controller
registers as documented in chapter 13 of the USB4 spec.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb.h')
-rw-r--r-- | drivers/thunderbolt/tb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h index d9d1adc4cfd3..60a987c748ca 100644 --- a/drivers/thunderbolt/tb.h +++ b/drivers/thunderbolt/tb.h @@ -347,6 +347,7 @@ struct tb_path { #define TB_WAKE_ON_USB4 BIT(2) #define TB_WAKE_ON_USB3 BIT(3) #define TB_WAKE_ON_PCIE BIT(4) +#define TB_WAKE_ON_DP BIT(5) /** * struct tb_cm_ops - Connection manager specific operations vector |