linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Chenhui Zhao <chenhui.zhao@nxp.com>
To: <linuxppc-dev@lists.ozlabs.org>, <oss@buserror.net>
Cc: <jason.jin@nxp.com>, <chenhui.zhao@nxp.com>
Subject: [PATCH v2 0/5] powerpc/pm: QorIQ deep sleep
Date: Fri, 15 Apr 2016 19:13:12 +0800	[thread overview]
Message-ID: <1460718797-21744-1-git-send-email-chenhui.zhao@nxp.com> (raw)

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/85xx: support sleep feature on QorIQ SoCs with RCPM
  powerpc: pm: add EPU FSM configuration for deep sleep
  powerpc/dts: add a compatible string to gpio0
  powerpc/pm: support deep sleep feature on T104x
  powerpc/pm: save and restore registers during deep sleep

 arch/powerpc/Kconfig                          |   3 +-
 arch/powerpc/boot/dts/fsl/qoriq-gpio-0.dtsi   |   2 +-
 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       | 365 ++++++++++++++++++
 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 +-
 15 files changed, 1412 insertions(+), 20 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-04-15 11:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 11:13 Chenhui Zhao [this message]
2016-04-15 11:13 ` [PATCH v2 1/5] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM Chenhui Zhao
2016-04-15 11:13 ` [PATCH v2 2/5] powerpc: pm: add EPU FSM configuration for deep sleep Chenhui Zhao
2016-04-15 11:13 ` [PATCH v2 3/5] powerpc/dts: add a compatible string to gpio0 Chenhui Zhao
2016-04-15 11:13 ` [PATCH v2 4/5] powerpc/pm: support deep sleep feature on T104x Chenhui Zhao
2016-04-15 11:13 ` [PATCH v2 5/5] powerpc/pm: save and restore registers during deep sleep Chenhui Zhao
2016-04-26 10:27 ` [PATCH v2 0/5] powerpc/pm: QorIQ " Chenhui Zhao
2016-05-03  5:16   ` Scott Wood

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=1460718797-21744-1-git-send-email-chenhui.zhao@nxp.com \
    --to=chenhui.zhao@nxp.com \
    --cc=jason.jin@nxp.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=oss@buserror.net \
    /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).