mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tai Nguyen <ttnguyen@apm.com>
To: arm@kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	patches@apm.com, jcm@redhat.com
Cc: ttnguyen@apm.com
Subject: [PATCH 2/2 RESEND] power: reset: Add syscon poweroff device node for APM X-Gene platform
Date: Tue,  2 Jun 2015 12:19:07 -0700	[thread overview]
Message-ID: <1433272747-27114-3-git-send-email-ttnguyen@apm.com> (raw)
In-Reply-To: <1433272747-27114-1-git-send-email-ttnguyen@apm.com>

This patch adds syscon poweroff device node to support poweroff feature
on APM X-Gene Mustang platform

Signed-off-by: Tai Nguyen <ttnguyen@apm.com>
---
 arch/arm64/boot/dts/apm/apm-mustang.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/apm/apm-mustang.dts b/arch/arm64/boot/dts/apm/apm-mustang.dts
index 83578e7..910d561 100644
--- a/arch/arm64/boot/dts/apm/apm-mustang.dts
+++ b/arch/arm64/boot/dts/apm/apm-mustang.dts
@@ -23,6 +23,18 @@
 		device_type = "memory";
 		reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
 	};
+
+	poweroff_mbox: poweroff_mbox@10548000 {
+		compatible = "syscon";
+		reg = <0x0 0x10548000 0x0 0x30>;
+	};
+
+	poweroff: poweroff@10548010 {
+		compatible = "syscon-poweroff";
+		regmap = <&poweroff_mbox>;
+		offset = <0x10>;
+		mask = <0x1>;
+	};
 };
 
 &pcie0clk {
-- 
1.7.9.5


  parent reply	other threads:[~2015-06-02 19:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 19:19 [PATCH 0/2 RESEND] power: reset: Add syscon reboot/poweroff device nodes " Tai Nguyen
2015-06-02 19:19 ` [PATCH 1/2 RESEND] power: reset: Add syscon reboot device node " Tai Nguyen
2015-06-09 15:32   ` Dann Frazier
2015-06-02 19:19 ` Tai Nguyen [this message]
2015-06-09  3:44   ` [PATCH 2/2 RESEND] power: reset: Add syscon poweroff " Dann Frazier
2015-06-09  4:34     ` Tai Tri Nguyen
2015-06-09 15:31       ` Dann Frazier
2015-06-09 16:47         ` Tai Tri Nguyen
2015-06-10 19:13         ` Dann Frazier
2015-06-10 23:00           ` Moritz Fischer
2015-07-14  8:40 ` [PATCH 0/2 RESEND] power: reset: Add syscon reboot/poweroff device nodes " Olof Johansson
2015-07-22 17:46   ` Loc Ho
2015-07-22 17:52     ` Olof Johansson
2015-07-22 18:10       ` Loc Ho
2015-07-22 18:20         ` Olof Johansson
2015-07-25 18:34           ` Duc Dang
2015-07-26 18:37             ` Olof Johansson
2015-07-28 17:51               ` Duc Dang
2015-08-28 20:00               ` Duc Dang
2015-08-28 20:06                 ` Olof Johansson

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=1433272747-27114-3-git-send-email-ttnguyen@apm.com \
    --to=ttnguyen@apm.com \
    --cc=arm@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jcm@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@apm.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

all inboxes | Powered by JetHome®