Messages in this thread | | | Date | Mon, 7 Nov 2022 14:41:29 +0200 | From | Mika Westerberg <> | Subject | Re: [PATCH v2] thunderbolt: Add wake on connect/disconnect on USB4 ports |
| |
On Tue, Nov 01, 2022 at 05:20:42PM +0530, Rajat Khandelwal wrote: > 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> > Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Applied to thunderbolt.git/next, thanks!
| |