]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250: omap: Support wakeup pinctrl state on suspend
authorMarkus Schneider-Pargmann <msp@baylibre.com>
Wed, 10 Sep 2025 21:23:32 +0000 (16:23 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Sep 2025 14:11:12 +0000 (16:11 +0200)
commited68411e879e9bd512e266d3c46d4b35c5f5fbbc
treef28efafca390a0d111ab13a68165e4f5d22aeae6
parent49fce0730fd3c028982574c85eb2eb824d6e63f7
serial: 8250: omap: Support wakeup pinctrl state on suspend

UART can be used as a wakeup source for am62 from suspend to ram states.
To enable wakeup from UART am62 requires a wakeup flag being set in the
pinctrl.

If the device is marked as wakeup enabled, select the 'wakeup' pinctrl
state on suspend and restore the default pinctrl state on resume.

Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Signed-off-by: Kendall Willis <k-willis@ti.com>
Link: https://lore.kernel.org/r/20250910-uart-daisy-chain-8250-omap-v2-2-e90d44c1a9ac@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c