linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chenhui Zhao <chenhui.zhao@nxp.com>
To: <oss@buserror.net>, <linuxppc-dev@lists.ozlabs.org>,
	<linux-kernel@vger.kernel.org>
Cc: <jason.jin@nxp.com>, <z.chenhui@gmail.com>,
	Chenhui Zhao <chenhui.zhao@nxp.com>
Subject: [PATCH v3 0/5] powerpc/pm: QorIQ deep sleep
Date: Tue, 2 Aug 2016 19:59:28 +0800	[thread overview]
Message-ID: <1470139172-12699-2-git-send-email-chenhui.zhao@nxp.com> (raw)
In-Reply-To: <1470139172-12699-1-git-send-email-chenhui.zhao@nxp.com>

Changes for v3:
* add mcke-gpios in dts to specify the GPIO pin which works as MCKE signal

Changes for v2:
* Ioremap every dts node used in the patches.
* Check the board compatible string to see if the board supports deep sleep.
* Can not reserve the first page of DDR memory, because PPC64 doesn't support
  changing the kernel base address. So still save and restore the first 128 bytes
  of DDR memory.
* Still save and restoer CCSR registers in kernel, because bootloader doesn't
  know what register values to restore
* Changed copyright and email address from freescale to NXP

Please refer to the version 1:
[1/4] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM
http://patchwork.ozlabs.org/patch/502549/

[2/4] powerpc: get the physical base address of DCSR
http://patchwork.ozlabs.org/patch/502551/
It is removed.

[3/4] powerpc: pm: add EPU FSM configuration for deep sleep
http://patchwork.ozlabs.org/patch/502548/

[4/4] powerpc: pm: support deep sleep feature on T104x
http://patchwork.ozlabs.org/patch/502550/


Chenhui Zhao (5):
  powerpc/dts: add mcke-gpios for PM feature
  powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM
  powerpc: pm: add EPU FSM configuration for deep sleep
  powerpc/pm: support deep sleep feature on T104x
  powerpc/pm: save and restore registers during deep sleep

 Documentation/devicetree/bindings/soc/fsl/rcpm.txt |  13 +
 arch/powerpc/Kconfig                               |   3 +-
 arch/powerpc/boot/dts/fsl/t1040si-post.dtsi        |   3 +
 arch/powerpc/include/asm/fsl_pm.h                  |  28 +-
 arch/powerpc/kernel/asm-offsets.c                  |  12 +
 arch/powerpc/kernel/fsl_booke_entry_mapping.S      |  10 +
 arch/powerpc/kernel/head_64.S                      |   2 +-
 arch/powerpc/platforms/85xx/Kconfig                |   5 +
 arch/powerpc/platforms/85xx/Makefile               |   2 +
 arch/powerpc/platforms/85xx/deepsleep.c            | 384 +++++++++++++++
 arch/powerpc/platforms/85xx/qoriq_pm.c             |  84 ++++
 arch/powerpc/platforms/85xx/sleep_fsm.c            | 267 +++++++++++
 arch/powerpc/platforms/85xx/sleep_fsm.h            |  92 ++++
 arch/powerpc/platforms/85xx/t104x_deepsleep.S      | 531 +++++++++++++++++++++
 arch/powerpc/platforms/86xx/Kconfig                |   1 +
 arch/powerpc/sysdev/fsl_rcpm.c                     |  28 +-
 16 files changed, 1446 insertions(+), 19 deletions(-)
 create mode 100644 arch/powerpc/platforms/85xx/deepsleep.c
 create mode 100644 arch/powerpc/platforms/85xx/qoriq_pm.c
 create mode 100644 arch/powerpc/platforms/85xx/sleep_fsm.c
 create mode 100644 arch/powerpc/platforms/85xx/sleep_fsm.h
 create mode 100644 arch/powerpc/platforms/85xx/t104x_deepsleep.S

-- 
1.9.1

  reply	other threads:[~2016-08-02 16:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 11:59 [PATCH v3 1/5] powerpc/dts: add mcke-gpios for PM feature Chenhui Zhao
2016-08-02 11:59 ` Chenhui Zhao [this message]
2016-08-02 11:59 ` [PATCH v3 2/5] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM Chenhui Zhao
2016-08-02 11:59 ` [PATCH v3 3/5] powerpc: pm: add EPU FSM configuration for deep sleep Chenhui Zhao
2016-08-02 11:59 ` [PATCH v3 4/5] powerpc/pm: support deep sleep feature on T104x Chenhui Zhao
2016-09-25  7:24   ` [v3,4/5] " Scott Wood
2016-09-27 11:05     ` C.H. Zhao
2016-09-28 20:03       ` Scott Wood
2016-09-29 10:21         ` C.H. Zhao
2016-10-03 17:22           ` Scott Wood
2016-08-02 11:59 ` [PATCH v3 5/5] powerpc/pm: save and restore registers during deep sleep Chenhui Zhao

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=1470139172-12699-2-git-send-email-chenhui.zhao@nxp.com \
    --to=chenhui.zhao@nxp.com \
    --cc=jason.jin@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=oss@buserror.net \
    --cc=z.chenhui@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).