devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Griffin <peter.griffin@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, p.zabel@pengutronix.de,
	srinivas.kandagatla@gmail.com, maxime.coquelin@st.com,
	patrice.chotard@st.com
Cc: peter.griffin@linaro.org, lee.jones@linaro.org,
	devicetree@vger.kernel.org
Subject: [PATCH v2 4/4] ARM: sti: Add STiH407 reset controller support.
Date: Wed,  2 Jul 2014 15:08:49 +0100	[thread overview]
Message-ID: <1404310129-14667-5-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1404310129-14667-1-git-send-email-peter.griffin@linaro.org>

This patch adds the reset controller DT nodes for the powerdown,
 softreset and picophy controllers.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 arch/arm/boot/dts/stih407.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi
index 4f9024f..d2f1aaa 100644
--- a/arch/arm/boot/dts/stih407.dtsi
+++ b/arch/arm/boot/dts/stih407.dtsi
@@ -8,6 +8,7 @@
  */
 #include "stih407-clock.dtsi"
 #include "stih407-pinctrl.dtsi"
+#include <dt-bindings/reset-controller/stih407-resets.h>
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -63,6 +64,21 @@
 		ranges;
 		compatible = "simple-bus";
 
+		powerdown: powerdown-controller {
+			compatible = "st,stih407-powerdown";
+			#reset-cells = <1>;
+		};
+
+		softreset: softreset-controller {
+			compatible = "st,stih407-softreset";
+			#reset-cells = <1>;
+		};
+
+		picophyreset: picophyreset-controller {
+			compatible = "st,stih407-picophyreset";
+			#reset-cells = <1>;
+		};
+
 		syscfg_sbc: sbc-syscfg@9620000 {
 			compatible = "st,stih407-sbc-syscfg", "syscon";
 			reg = <0x9620000 0x1000>;
-- 
1.9.1

  parent reply	other threads:[~2014-07-02 14:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-02 14:08 [PATCH v2 0/4] Add reset controllers for STiH407 SoC Peter Griffin
2014-07-02 14:08 ` [PATCH v2 1/4] reset: stih407: Add softreset, powerdown and picophy controllers Peter Griffin
     [not found]   ` <1404310129-14667-2-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-02 15:40     ` Lee Jones
2014-07-02 14:08 ` Peter Griffin [this message]
     [not found]   ` <1404310129-14667-5-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-04 11:42     ` [PATCH v2 4/4] ARM: sti: Add STiH407 reset controller support Maxime Coquelin
2014-07-02 16:06 ` [PATCH v2 0/4] Add reset controllers for STiH407 SoC Philipp Zabel
2014-07-02 16:59   ` Lee Jones
2014-07-03  8:06     ` Maxime Coquelin
2014-07-03  9:20       ` Philipp Zabel
2014-07-03  9:33         ` Lee Jones
2014-07-03  9:40         ` Lee Jones
2014-07-03 13:32           ` [GIT PULL] STiH407 reset controller support Philipp Zabel
     [not found]             ` <1404394341.18039.35.camel-+qGW7pzALmz7o/J7KWpOmN53zsg1cpMQ@public.gmane.org>
2014-07-04 11:39               ` Maxime Coquelin
     [not found] ` <1404310129-14667-1-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-02 14:08   ` [PATCH v2 2/4] reset: sti: Document sti-picophyreset controllers bindings Peter Griffin
2014-07-02 14:08   ` [PATCH v2 3/4] ARM: sti: Add STiH407 Kconfig entry to select STIH407_RESET Peter Griffin
     [not found]     ` <1404310129-14667-4-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-07-04 11:42       ` Maxime Coquelin
2014-07-03  7:22   ` [PATCH v2 0/4] Add reset controllers for STiH407 SoC Maxime Coquelin

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=1404310129-14667-5-git-send-email-peter.griffin@linaro.org \
    --to=peter.griffin@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.coquelin@st.com \
    --cc=p.zabel@pengutronix.de \
    --cc=patrice.chotard@st.com \
    --cc=srinivas.kandagatla@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).