linux/drivers/thunderbolt
Rajat Khandelwal a5cfc9d658 thunderbolt: Add wake on connect/disconnect on USB4 ports
Wake on connect/disconnect is only supported while runtime suspend for
now, which is obviously necessary. It is also not inherently desired for
the system to wakeup on Thunderbolt/USB4 hot plug events. However, we
can still make user in control of waking up the system in the events of
hot plug/unplug.

This patch adds 'wakeup' attribute under 'usb4_portX/power' sysfs
attribute and only enables wakes on connect/disconnect to the respective
port when 'wakeup' is set to 'enabled'. The attribute is set to
'disabled' by default.

Signed-off-by: Rajat Khandelwal <rajat.khandelwal@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2022-11-07 14:36:47 +02:00
..
acpi.c thunderbolt: ACPI: Use the helper fwnode_find_reference() 2022-10-25 11:45:28 +03:00
cap.c
ctl.c thunderbolt: Use the actual buffer in tb_async_error() 2022-08-18 11:55:46 +03:00
ctl.h thunderbolt: Fix typo in comment 2022-06-17 18:19:15 +03:00
debugfs.c thunderbolt: debugfs: Fix spelling mistakes in seq_puts text 2022-09-07 09:09:24 +03:00
dma_port.c
dma_port.h
dma_test.c
domain.c thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-09-24 09:22:01 +03:00
eeprom.c
icm.c thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
Kconfig thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
lc.c
Makefile
nhi_ops.c
nhi_regs.h
nhi.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
nhi.h thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
nvm.c thunderbolt: Add support for ASMedia NVM image format 2022-09-07 09:06:51 +03:00
path.c
property.c
quirks.c
retimer.c thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-09-24 09:22:01 +03:00
sb_regs.h thunderbolt: Add support for receiver lane margining 2022-09-05 09:02:16 +03:00
switch.c thunderbolt: Use str_enabled_disabled() helper 2022-10-23 09:46:05 +03:00
tb_msgs.h thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
tb_regs.h thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
tb.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
tb.h USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
test.c thunderbolt: test: Use kunit_test_suite() macro 2022-07-11 17:13:21 -06:00
tmu.c thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneled 2022-06-06 12:24:56 +03:00
tunnel.c thunderbolt: Fix buffer allocation of devices with no DisplayPort adapters 2022-05-12 09:22:11 +03:00
tunnel.h
usb4_port.c thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
usb4.c thunderbolt: Add wake on connect/disconnect on USB4 ports 2022-11-07 14:36:47 +02:00
xdomain.c thunderbolt: Remove redundant assignment to variable len 2022-10-23 09:50:50 +03:00