From: zyw@rock-chips.com (zyw at rock-chips.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/6] add suspend support for RK3288
Date: Mon, 20 Oct 2014 20:41:34 -0700 [thread overview]
Message-ID: <1413862894-2623-1-git-send-email-zyw@rock-chips.com> (raw)
From: Chris Zhong <zyw@rock-chips.com>
this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and
other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin
to high in the final stage of the process of suspend, pull the pin to low again
when resume.
Changes in v3:
- move the pinmux of gpio6_c6 save and restore to pinctrl-rockchip
Changes in v2:
- __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed
- add the regulator calls in prepare and finish.
- add the pinmux of gpio6_c6 save and restore
- put "rockchip,rk3288-pmu-sram" to first
Chris (1):
pinctrl: rockchip: add suspend/resume functions
Chris Zhong (5):
pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume
clk: rockchip: RK3288: add suspend and resume
ARM: rockchip: add suspend and resume for RK3288
ARM: rockchip: Add pmu-sram binding
ARM: dts: add RK3288 suspend support
.../devicetree/bindings/arm/rockchip/pmu-sram.txt | 15 +
arch/arm/boot/dts/rk3288.dtsi | 11 +
arch/arm/mach-rockchip/Makefile | 1 +
arch/arm/mach-rockchip/pm.c | 316 ++++++++++++++++++++
arch/arm/mach-rockchip/pm.h | 102 +++++++
arch/arm/mach-rockchip/rockchip.c | 11 +-
arch/arm/mach-rockchip/sleep.S | 87 ++++++
drivers/clk/rockchip/clk-rk3288.c | 63 ++++
drivers/pinctrl/pinctrl-rockchip.c | 57 ++++
9 files changed, 661 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/rockchip/pmu-sram.txt
create mode 100644 arch/arm/mach-rockchip/pm.c
create mode 100644 arch/arm/mach-rockchip/pm.h
create mode 100644 arch/arm/mach-rockchip/sleep.S
--
1.7.9.5
next reply other threads:[~2014-10-21 3:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 3:41 zyw at rock-chips.com [this message]
2014-10-21 3:42 ` [PATCH v3 1/6] pinctrl: rockchip: add suspend/resume functions zyw at rock-chips.com
2014-10-21 16:50 ` Dmitry Torokhov
2014-10-21 21:20 ` Heiko Stübner
2014-10-21 3:43 ` [PATCH v3 2/6] pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume zyw at rock-chips.com
2014-10-28 15:52 ` Linus Walleij
2014-10-28 16:05 ` Doug Anderson
2014-10-21 3:44 ` [PATCH v3 3/6] clk: rockchip: RK3288: add suspend and resume zyw at rock-chips.com
2014-10-21 3:44 ` [PATCH v3 4/6] ARM: rockchip: add suspend and resume for RK3288 zyw at rock-chips.com
2014-10-24 21:47 ` Kevin Hilman
2014-10-27 17:42 ` Doug Anderson
2014-10-21 3:44 ` [PATCH v3 5/6] ARM: rockchip: Add pmu-sram binding zyw at rock-chips.com
2014-10-21 3:45 ` [PATCH v3 6/6] ARM: dts: add RK3288 suspend support zyw at rock-chips.com
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=1413862894-2623-1-git-send-email-zyw@rock-chips.com \
--to=zyw@rock-chips.com \
--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;
as well as URLs for NNTP newsgroup(s).