From patchwork Wed Jul 2 14:08:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4465851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1234D9F36A for ; Wed, 2 Jul 2014 14:12:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32AF4203F3 for ; Wed, 2 Jul 2014 14:12:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0C1A7203EB for ; Wed, 2 Jul 2014 14:12:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2LEx-0000FG-Vy; Wed, 02 Jul 2014 14:10:27 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2LEe-0007Pg-Ev for linux-arm-kernel@lists.infradead.org; Wed, 02 Jul 2014 14:10:10 +0000 Received: by mail-wi0-f171.google.com with SMTP id n15so9703584wiw.4 for ; Wed, 02 Jul 2014 07:09:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=50hsr2yGMoaQOu0HplqYCQpLkigctpofJxx6TtcyP9M=; b=dtOZQEAeOlwGAKrE0d1xEcm+tWNeLl3uaYdXX0FvW1DNidOs1hL9DX+fd9cJb+P449 U/DvGTpj5+Eo7jAIIIspT1gZl1TdB+//3DMykz34NP94u9RR6NPvli9stsKlOl6Lx83g LajxGCm5JWC9WZnV7JA8AukxwmoEj5vvJIU8qhBA888n6/5KKZnQqTpFJsFPFx75Vmbl EPg0dMaHi9MP1pt9ig6myGRo8Jok5DfUs8fZUKGViUHYtpiTcqsmwg0gFh+cNzRC3KNS bzndVi1JZSGTv2e20cq2QAtCmHPpz/OXe3d1FnIbM8cTwyiW1BTPrqfX0fJv/kEaiUy0 QI+Q== X-Gm-Message-State: ALoCoQkgo/bzfzNRNG3WpkKVvmU6+svCNAcfPpFJSNaLzlkTeVeDEOAqkKnpWK0/f32XrL8bu017 X-Received: by 10.180.82.7 with SMTP id e7mr43492321wiy.74.1404310184903; Wed, 02 Jul 2014 07:09:44 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id ey16sm55596854wid.14.2014.07.02.07.09.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jul 2014 07:09:44 -0700 (PDT) From: Peter Griffin 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 Subject: [PATCH v2 4/4] ARM: sti: Add STiH407 reset controller support. Date: Wed, 2 Jul 2014 15:08:49 +0100 Message-Id: <1404310129-14667-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404310129-14667-1-git-send-email-peter.griffin@linaro.org> References: <1404310129-14667-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140702_071008_692624_2B7870A3 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the reset controller DT nodes for the powerdown, softreset and picophy controllers. Signed-off-by: Peter Griffin --- 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 / { #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>;