Skip to content

Commit b64da5b

Browse files
kwillis01gregkh
authored andcommitted
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>
1 parent 0e19f73 commit b64da5b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/tty/serial/8250/8250_omap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,8 @@ static int omap8250_select_wakeup_pinctrl(struct device *dev,
13821382
if (!device_may_wakeup(dev))
13831383
return 0;
13841384

1385+
device_set_out_band_wakeup(dev);
1386+
13851387
return pinctrl_select_state(priv->pinctrl, priv->pinctrl_wakeup);
13861388
}
13871389

0 commit comments

Comments
 (0)