[PATCH v2 0/5] serial: 8250: omap: Add am62 wakeup support

From: Markus Schneider-Pargmann
Date: Wed Aug 07 2024 - 10:13:03 EST


Hi,

v2
--

In Version 2 I removed the Partial-IO specific patches as these can't be
tested due to power issues in Partial-IO on am62-lp-sk and similar
boards.

I added a patch to add DT 'wakeup-source' support.

Series
------

To support wakeup from several low power modes on am62, don't always
enable device wakeup. Instead only set it to wakeup capable. A
devicetree property 'wakeup-source' can be used to enable wakeup. The
user is also able to control if wakeup is enabled through sysfs.

Base
----
v6.11-rc1

Tests
-----
I tested these patches on am62-lp-sk.

Previous versions
-----------------
v1: https://lore.kernel.org/lkml/20240523075819.1285554-1-msp@xxxxxxxxxxxx/

Changes in v2
-------------
- Remove Partial-IO patches
- Replace device_init_wakeup with device_set_wakeup_capable in
omap8250_remove as well

Best,
Markus

Markus Schneider-Pargmann (5):
dt-bindings: serial: 8250_omap: Add wakeup-source property
serial: 8250: omap: Remove unused wakeups_enabled
serial: 8250: omap: Cleanup on error in request_irq
serial: 8250: omap: Set wakeup capable, do not enable
serial: 8250: omap: Parse DT wakeup-source proerty

.../devicetree/bindings/serial/8250_omap.yaml | 1 +
drivers/tty/serial/8250/8250_omap.c | 10 ++++++----
2 files changed, 7 insertions(+), 4 deletions(-)

--
2.45.2