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

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Shawn Guo <shawnguo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume
Date Sat, 11 Jun 2016 16:10:01 +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>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 21
Organization linux.* mail to news gateway
X-Original-Cc gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, mturquette@baylibre.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, stefan@agner.ch, kernel@pengutronix.de, jslaby@suse.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org
X-Original-Date Sat, 11 Jun 2016 22:03:41 +0800
X-Original-Message-ID <20160611140341.GT20243@tiger>
X-Original-References <20160609151039.20817-1-bhuvanchandra.dv@toradex.com> <20160609151039.20817-3-bhuvanchandra.dv@toradex.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1419979

Show key headers only | 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