Skip to content

serial: 8250: omap: Add am62 wakeup support

Markus Schneider-Pargmann linux-devicetree linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v15 patches 8 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: serial: 8250_omap: Add wakeup-source propertyDocumentation/devicetree/bindings/serial/8250_omap.yaml+1 -01 reply
2/5serial: 8250: omap: Remove unused wakeups_enableddrivers/tty/serial/8250/8250_omap.c+0 -10 replies
3/5serial: 8250: omap: Cleanup on error in request_irqdrivers/tty/serial/8250/8250_omap.c+1 -10 replies
4/5serial: 8250: omap: Set wakeup capable, do not enabledrivers/tty/serial/8250/8250_omap.c+2 -20 replies
5/5serial: 8250: omap: Parse DT wakeup-source proertydrivers/tty/serial/8250/8250_omap.c+3 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin HilmanConor Dooley
SeriesR-b T-b
1/5A-b
2/5
3/5
4/5A-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.45.2