mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 07:13:34 +00:00
a5cfc9d658
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> |
||
---|---|---|
.. | ||
acpi.c | ||
cap.c | ||
ctl.c | ||
ctl.h | ||
debugfs.c | ||
dma_port.c | ||
dma_port.h | ||
dma_test.c | ||
domain.c | ||
eeprom.c | ||
icm.c | ||
Kconfig | ||
lc.c | ||
Makefile | ||
nhi.c | ||
nhi.h | ||
nhi_ops.c | ||
nhi_regs.h | ||
nvm.c | ||
path.c | ||
property.c | ||
quirks.c | ||
retimer.c | ||
sb_regs.h | ||
switch.c | ||
tb.c | ||
tb.h | ||
tb_msgs.h | ||
tb_regs.h | ||
test.c | ||
tmu.c | ||
tunnel.c | ||
tunnel.h | ||
usb4.c | ||
usb4_port.c | ||
xdomain.c |