public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume
Date: Sat, 11 Jun 2016 22:03:41 +0800	[thread overview]
Message-ID: <20160611140341.GT20243@tiger> (raw)
In-Reply-To: <20160609151039.20817-3-bhuvanchandra.dv@toradex.com>

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(-)

  reply	other threads:[~2016-06-11 14:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 15:10 [PATCH 0/8] Improve Rx/Tx DMA implementation Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 1/8] tty: serial: fsl_lpuart: consider TX FIFO too in tx_empty Bhuvanchandra DV
2016-06-25 21:26   ` Greg KH
2016-06-28  3:54     ` Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume Bhuvanchandra DV
2016-06-11 14:03   ` Shawn Guo [this message]
2016-06-14  0:18     ` Bhhuvanchandra DV
2016-06-14  2:42       ` Stefan Agner
2016-06-21  0:11         ` Stephen Boyd
2016-06-09 15:10 ` [PATCH 3/8] tty: serial: fsl_lpuart: fix clearing of receive flag Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 4/8] tty: serial: fsl_lpuart: Fix broken 8m/s1 support Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 5/8] tty: serial: fsl-lpuart: Use cyclic DMA for Rx Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 6/8] tty: serial: fsl-lpuart: Use scatter/gather DMA for Tx Drop PIO to DMA switching and use scatter/gather DMA for Tx path to improve performance Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 7/8] tty: serial: fsl-lpuart: Update suspend/resume for DMA mode Bhuvanchandra DV
2016-06-09 15:10 ` [PATCH 8/8] tty: serial: fsl_lpuart: Add support for RS-485 Bhuvanchandra DV

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160611140341.GT20243@tiger \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox