mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/2] tty: serial: imx: improve the imx uart wakeup function
@ 2025-09-24  3:15 Sherry Sun
  2025-09-24  3:15 ` [PATCH V2 1/2] tty: serial: imx: Only configure the wake register when device is set as wakeup source Sherry Sun
  2025-09-24  3:15 ` [PATCH V2 2/2] tty: serial: imx: Add missing wakeup event reporting Sherry Sun
  0 siblings, 2 replies; 6+ messages in thread
From: Sherry Sun @ 2025-09-24  3:15 UTC (permalink / raw)
  To: gregkh, jirislaby, shawnguo, s.hauer, kernel, festevam,
	shenwei.wang, peng.fan, frank.li
  Cc: linux-serial, linux-kernel, imx

Make some improvements for imx uart wakeup function. The first patch adds
device_may_wakeup() check before configuring the wake related registers.
The second patch adds the wakeup event reporting support for imx uart.

Changes in V2:
1. Improve the commit message as Peng suggested.
2. Initialize the may_wake and wake_active variables to avoid build
   warnings. 
3. Move may_wake and wake_active above u32 ucr3.
4. Use linux/irq.h instead of asm/irq.h to avoid build errors.

Sherry Sun (2):
  tty: serial: imx: Only configure the wake register when device is set
    as wakeup source
  tty: serial: imx: Add missing wakeup event reporting

 drivers/tty/serial/imx.c | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-25  8:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-24  3:15 [PATCH V2 0/2] tty: serial: imx: improve the imx uart wakeup function Sherry Sun
2025-09-24  3:15 ` [PATCH V2 1/2] tty: serial: imx: Only configure the wake register when device is set as wakeup source Sherry Sun
2025-09-24 14:50   ` Frank Li
2025-09-24  3:15 ` [PATCH V2 2/2] tty: serial: imx: Add missing wakeup event reporting Sherry Sun
2025-09-24 14:53   ` Frank Li
2025-09-25  8:51     ` Sherry Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®