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 1/5] powerpc/dts: add mcke-gpios for PM feature
Date: Tue, 2 Aug 2016 19:59:27 +0800 [thread overview]
Message-ID: <1470139172-12699-1-git-send-email-chenhui.zhao@nxp.com> (raw)
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
---
Documentation/devicetree/bindings/soc/fsl/rcpm.txt | 13 +++++++++++++
arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 3 +++
2 files changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt
index e284e4e..1d44a80 100644
--- a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt
+++ b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt
@@ -21,6 +21,10 @@ Required properites:
* "fsl,qoriq-rcpm-2.0": for chassis 2.0 rcpm
* "fsl,qoriq-rcpm-2.1": for chassis 2.1 rcpm
+Optional properites:
+ - mcke-gpios : The GPIO pin is used for keeping the MCKE signal of DDR modules
+ low in the LPM35 state on some platforms, such as T1040.
+
All references to "1.0" and "2.0" refer to the QorIQ chassis version to
which the chip complies.
Chassis Version Example Chips
@@ -37,6 +41,15 @@ The RCPM node for T4240:
fsl,#rcpm-wakeup-cells = <2>;
};
+The RCPM node for T1040 (which supports LPM35 state):
+ rcpm: global-utilities@e2000 {
+ compatible = "fsl,t1040-rcpm", "fsl,qoriq-rcpm-2.1";
+ reg = <0xe2000 0x1000>;
+ fsl,#rcpm-wakeup-cells = <1>;
+ mcke-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>
+ };
+
+
* Freescale RCPM Wakeup Source Device Tree Bindings
-------------------------------------------
Required fsl,rcpm-wakeup property should be added to a device node if the device
diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
index 507649e..f66e7dd 100644
--- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
@@ -33,6 +33,7 @@
*/
#include <dt-bindings/thermal/thermal.h>
+#include <dt-bindings/gpio/gpio.h>
&bman_fbpr {
compatible = "fsl,bman-fbpr";
@@ -474,6 +475,8 @@
rcpm: global-utilities@e2000 {
compatible = "fsl,t1040-rcpm", "fsl,qoriq-rcpm-2.1";
reg = <0xe2000 0x1000>;
+ fsl,#rcpm-wakeup-cells = <1>;
+ mcke-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
};
sfp: sfp@e8000 {
--
1.9.1
next reply other threads:[~2016-08-02 14:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 11:59 Chenhui Zhao [this message]
2016-08-02 11:59 ` [PATCH v3 0/5] powerpc/pm: QorIQ deep sleep Chenhui Zhao
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
-- strict thread matches above, loose matches on Subject: below --
2016-08-02 11:58 [PATCH v3 1/5] powerpc/dts: add mcke-gpios for PM feature Chenhui Zhao
2016-08-04 17:10 ` Rob Herring
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-1-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).