devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] add suspend support for RK3288
@ 2014-10-17 20:44 zyw-TNX95d0MmH7DzftRWevZcw
  2014-10-17 20:45 ` [PATCH v2 1/4] clk: rockchip: RK3288: add suspend and resume zyw
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: zyw-TNX95d0MmH7DzftRWevZcw @ 2014-10-17 20:44 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Mike Turquette, Ian Campbell, dianders-F7+t8E8rja9g9hUCZPvPmw,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Russell King,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
	Pawel Moll, Chris Zhong, Mark Rutland,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

From: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>

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 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 Zhong (4):
  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                        |  323 ++++++++++++++++++++
 arch/arm/mach-rockchip/pm.h                        |  105 +++++++
 arch/arm/mach-rockchip/rockchip.c                  |   11 +-
 arch/arm/mach-rockchip/sleep.S                     |   87 ++++++
 drivers/clk/rockchip/clk-rk3288.c                  |   63 ++++
 8 files changed, 614 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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-18  0:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17 20:44 [PATCH v2 0/4] add suspend support for RK3288 zyw-TNX95d0MmH7DzftRWevZcw
2014-10-17 20:45 ` [PATCH v2 1/4] clk: rockchip: RK3288: add suspend and resume zyw
2014-10-17 20:47 ` [PATCH v2 2/4] ARM: rockchip: add suspend and resume for RK3288 zyw
2014-10-18  0:57   ` Doug Anderson
2014-10-17 20:47 ` [PATCH v2 3/4] ARM: rockchip: Add pmu-sram binding zyw
2014-10-17 20:47 ` [PATCH v2 4/4] ARM: dts: add RK3288 suspend support zyw

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