From patchwork Tue Jul 1 14:30:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4459491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7645EBEEAA for ; Tue, 1 Jul 2014 14:36:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 80B77203DC for ; Tue, 1 Jul 2014 14:36:01 +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 AFF12201F2 for ; Tue, 1 Jul 2014 14:36:00 +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 1X1z7E-0001pd-FU; Tue, 01 Jul 2014 14:33:00 +0000 Received: from mail-wi0-f179.google.com ([209.85.212.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1z6W-0000ln-5N for linux-arm-kernel@lists.infradead.org; Tue, 01 Jul 2014 14:32:16 +0000 Received: by mail-wi0-f179.google.com with SMTP id cc10so7899428wib.0 for ; Tue, 01 Jul 2014 07:31:49 -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=ymC5UBwn5iDYrGMmmySfGbsK8Rc0dWKbP4QyfG6TZEo=; b=Tc9lYJIBtr8qDFGcjna4qjrwRjnsfZDZFFzSaajlquOO1R9vNmiBQ/GvGuQEOETJgp U1QpUQCzWI9mjzOUNQu1QT/M3VkzK6qT8ToqQYut1Ihe+fKoZTaBl8TVqCq7bvBqWnrF 1P9gQbeyHdu2mNJcshcoz4u969wEKX9FZy4H86vs8l896cpRQKSO0MIGj7snbgM910GY ygILkTwaUlz9s6hhwKZOacE3/kzGJDigxzynL2UFeDR4yLoPRlSEn3EIecofKhb6FJ43 eZKb4NixaZhZ7IrfEBVuLd/TtF9Z5J6hr1bUywivz2u+S9347AhGWwyAGpGQqbcBerjx p6BA== X-Gm-Message-State: ALoCoQluCxg0v34GzekU38W0X2Gi45rOBbAgbz9j5i7qZZnQ5mrE2Ph72mRe85hWib8Rm8cZk9dV X-Received: by 10.194.91.228 with SMTP id ch4mr52661981wjb.59.1404225108645; Tue, 01 Jul 2014 07:31:48 -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 ww4sm48545470wjc.4.2014.07.01.07.31.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Jul 2014 07:31:48 -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 3/3] ARM: STi: STiH407: Add reset controller support. Date: Tue, 1 Jul 2014 15:30:47 +0100 Message-Id: <1404225047-9495-4-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404225047-9495-1-git-send-email-peter.griffin@linaro.org> References: <1404225047-9495-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140701_073216_403007_8BEE307E X-CRM114-Status: UNSURE ( 9.77 ) 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..e8fbb88 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 { + #reset-cells = <1>; + compatible = "st,stih407-powerdown"; + }; + + softreset: softreset-controller { + #reset-cells = <1>; + compatible = "st,stih407-softreset"; + }; + + picophyreset: picophyreset-controller { + #reset-cells = <1>; + compatible = "st,stih407-picophyreset"; + }; + syscfg_sbc: sbc-syscfg@9620000 { compatible = "st,stih407-sbc-syscfg", "syscon"; reg = <0x9620000 0x1000>;