[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y2j8+f/wAvUCDii5@black.fi.intel.com>
Date: Mon, 7 Nov 2022 14:41:29 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Rajat Khandelwal <rajat.khandelwal@...el.com>
Cc: michael.jamet@...el.com, YehezkelShB@...il.com,
andreas.noever@...il.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
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@...el.com>
> Reviewed-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
Applied to thunderbolt.git/next, thanks!
Powered by blists - more mailing lists