[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250924031550.2516704-1-sherry.sun@nxp.com>
Date: Wed, 24 Sep 2025 11:15:48 +0800
From: Sherry Sun <sherry.sun@....com>
To: gregkh@...uxfoundation.org,
	jirislaby@...nel.org,
	shawnguo@...nel.org,
	s.hauer@...gutronix.de,
	kernel@...gutronix.de,
	festevam@...il.com,
	shenwei.wang@....com,
	peng.fan@....com,
	frank.li@....com
Cc: linux-serial@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	imx@...ts.linux.dev
Subject: [PATCH V2 0/2] tty: serial: imx: improve the imx uart wakeup function
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
Powered by blists - more mailing lists