Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1419979

Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume

From Shawn Guo <shawnguo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume
Date 2016-06-11 16:10 +0200
Message-ID <rIRLP-45x-9@gated-at.bofh.it> (permalink)
References <rIa49-8aG-3@gated-at.bofh.it> <rIRLP-45x-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 09, 2016 at 08:40:33PM +0530, Bhuvanchandra DV wrote:
> From: Stefan Agner <stefan@agner.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@agner.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(-)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] Improve Rx/Tx DMA implementation Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> - 2016-06-09 17:30 +0200
  [PATCH 4/8] tty: serial: fsl_lpuart: Fix broken 8m/s1 support Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> - 2016-06-09 17:30 +0200
  [PATCH 1/8] tty: serial: fsl_lpuart: consider TX FIFO too in tx_empty Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> - 2016-06-09 17:30 +0200
  Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume Shawn Guo <shawnguo@kernel.org> - 2016-06-11 16:10 +0200
    Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume Stefan Agner <stefan@agner.ch> - 2016-06-14 04:50 +0200
      Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume Stephen Boyd <sboyd@codeaurora.org> - 2016-06-21 02:30 +0200

csiph-web