Re: [PATCH 3/5] serial: 8250: omap: Set wakeup capable, do not enable

From: Kevin Hilman
Date: Tue Jul 30 2024 - 17:19:25 EST


Markus Schneider-Pargmann <msp@xxxxxxxxxxxx> writes:

> The driver sets wakeup enable by default. But not all uarts are meant to
> be wakeup enabled. Change the default to be wakeup capable but not
> enabled. The user can enable wakeup when needed.

In addition to the user enabling via sysfs, this driver should also look
for the `wakeup-source` DT property, and enable when that property is set.

> Signed-off-by: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>

Reviewed-by: Kevin Hilman <khilman@xxxxxxxxxxxx>