Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: zyw@rock-chips.com (zyw at rock-chips.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: rockchip: add pmu-sram sub
Date: Wed, 15 Oct 2014 13:50:25 -0700	[thread overview]
Message-ID: <1413406225-16366-1-git-send-email-zyw@rock-chips.com> (raw)
In-Reply-To: <1413405987-16196-1-git-send-email-zyw@rock-chips.com>

From: Chris Zhong <zyw@rock-chips.com>

The pmu-sram is used to store resume code, suspend/resume need get the
address of it. Therefore add a node and documentation for it.

Signed-off-by: Tony Xie <xxx@rock-chips.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>

---

 .../devicetree/bindings/arm/rockchip/pmu-sram.txt  |   15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/rockchip/pmu-sram.txt

diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu-sram.txt b/Documentation/devicetree/bindings/arm/rockchip/pmu-sram.txt
new file mode 100644
index 0000000..7a134cc
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/rockchip/pmu-sram.txt
@@ -0,0 +1,15 @@
+Rockchip SRAM for pmu:
+------------------------------
+
+The sram of pmu is used to store the function of resume from maskrom(the 1st
+level loader).
+
+Required node properties:
+- compatible : should be "rockchip,rk3288-pmu-sram"
+- reg : physical base address and the size of the registers window
+
+Example:
+	pmu_intmem at ff720000 {
+		compatible = "mmio-sram", "rockchip,rk3288-pmu-sram";
+		reg = <0xff720000 0x4000>;
+	};
-- 
1.7.9.5

  parent reply	other threads:[~2014-10-15 20:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15 20:46 [PATCH 0/4] add suspend support for RK3288 zyw at rock-chips.com
2014-10-15 20:47 ` [PATCH 1/4] ARM: rockchip: add suspend and resume " zyw at rock-chips.com
2014-10-16  3:44   ` Doug Anderson
2014-10-15 20:48 ` [PATCH 2/4] clk: rockchip: RK3288: add suspend and resume zyw at rock-chips.com
2014-10-16  3:34   ` Doug Anderson
2014-10-15 20:49 ` [PATCH 3/4] ARM: dts: add RK3288 suspend support zyw at rock-chips.com
2014-10-16  3:43   ` Doug Anderson
2014-10-16 10:20   ` Mark Rutland
2014-10-15 20:50 ` zyw at rock-chips.com [this message]
2014-10-16  3:41   ` [PATCH 4/4] ARM: rockchip: add pmu-sram sub Doug Anderson

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=1413406225-16366-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