[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160611140341.GT20243@tiger>
Date: Sat, 11 Jun 2016 22:03:41 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Bhuvanchandra DV <bhuvanchandra.dv@...adex.com>
Cc: gregkh@...uxfoundation.org, linux-serial@...r.kernel.org,
mturquette@...libre.com, sboyd@...eaurora.org,
linux-kernel@...r.kernel.org, stefan@...er.ch,
kernel@...gutronix.de, jslaby@...e.com, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume
On Thu, Jun 09, 2016 at 08:40:33PM +0530, Bhuvanchandra DV wrote:
> From: Stefan Agner <stefan@...er.ch>
>
> In order to allow wake support in STOP sleep mode, clocks are
> needed. Use imx_clk_gate2_cgr to disable automatic clock gating
> in low power mode STOP. This allows to enable wake by UART using:
> echo enabled > /sys/class/tty/ttyLP0/power/wakeup
>
> However, if wake is not enabled, the driver should disable the
> clocks explicitly to save power.
>
> Signed-off-by: Stefan Agner <stefan@...er.ch>
> ---
> drivers/clk/imx/clk-vf610.c | 12 ++++++------
Please send clock driver changes in a separate patch.
Shawn
> drivers/tty/serial/fsl_lpuart.c | 16 ++++++++++++++--
> 2 files changed, 20 insertions(+), 8 deletions(-)
Powered by blists - more mailing lists