Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

serial: 8250: omap: set out-of-band wakeup if wakeup pinctrl exists

In TI K3 SoCs, I/O daisy chaining is used to allow wakeup from UART when the
UART controller is off. Set UART device as wakeup capable using out-of-band
wakeup if the 'wakeup' pinctrl state exists and the device may wakeup.

Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Kendall Willis <k-willis@ti.com>
Link: https://patch.msgid.link/20260116-uart-wakeup-v2-1-0078ae9996e4@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kendall Willis and committed by
Greg Kroah-Hartman
b64da5b1 0e19f73f

+2
+2
drivers/tty/serial/8250/8250_omap.c
··· 1382 1382 if (!device_may_wakeup(dev)) 1383 1383 return 0; 1384 1384 1385 + device_set_out_band_wakeup(dev); 1386 + 1385 1387 return pinctrl_select_state(priv->pinctrl, priv->pinctrl_wakeup); 1386 1388 } 1387 1389