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, Feng Kan <fkan@apm.com>
Subject: [PATCH 1/2 RESEND] power: reset: Add syscon reboot device node for APM X-Gene platform
Date: Tue,  2 Jun 2015 12:19:06 -0700	[thread overview]
Message-ID: <1433272747-27114-2-git-send-email-ttnguyen@apm.com> (raw)
In-Reply-To: <1433272747-27114-1-git-send-email-ttnguyen@apm.com>

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

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

diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index c8d3e0e..16efcf7 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -710,5 +710,17 @@
 			dma-coherent;
 			clocks = <&dmaclk 0>;
 		};
+
+		scu: system-clk-controller@17000000 {
+			compatible = "apm,xgene-scu","syscon";
+			reg = <0x0 0x17000000 0x0 0x400>;
+		};
+
+		reboot: reboot@17000014 {
+			compatible = "syscon-reboot";
+			regmap = <&scu>;
+			offset = <0x14>;
+			mask = <0x1>;
+		};
 	};
 };
-- 
1.7.9.5


  reply	other threads:[~2015-06-02 19:19 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 ` Tai Nguyen [this message]
2015-06-09 15:32   ` [PATCH 1/2 RESEND] power: reset: Add syscon reboot device node " Dann Frazier
2015-06-02 19:19 ` [PATCH 2/2 RESEND] power: reset: Add syscon poweroff " Tai Nguyen
2015-06-09  3:44   ` 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-2-git-send-email-ttnguyen@apm.com \
    --to=ttnguyen@apm.com \
    --cc=arm@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fkan@apm.com \
    --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®