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: 32893 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8BBEF20672 for ; Tue, 1 Jul 2014 14:32:04 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rd18sf60758231iec.10 for ; Tue, 01 Jul 2014 07:32:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=AvYyBp1qnLqIFkAdrKG4LELhAiANdtH5r3UIbpkfZXo=; b=V31VHhFglb17+z94roganiD0HN9w6I7X9KdackEUNdXc0/os98Z60QHPe/1q2xVQG8 Wuryyl+h/nowBBvlBsrsIos+kmAnCZzMpcV+UYiP0RI1Yivx7kQVilibXkovwU22ReXD CMq37x18hwPpWiQ9MobhADOAsl5mW64Bq+xv3JKbbn+mPfRRUP9EbF78Q3aX/TviTTp3 1J5yxvj8uAk+L1+xLyDCpgKReF5/48wKQEgyrpNosEEW0TZoLiGXw0mJ/oLj7s9xQu8R GX1UhjdKhQv9nePBSsJoBV14THvqdUcoYunE9Y9mhaiiUAjwgjTm3SRNYXKC8giRSWr+ n56Q== X-Gm-Message-State: ALoCoQncm7zbiu2xZcbmJQoEvQpqnzr4FcWnzzv2C2dxU23bsQ/JlX9aaNWiDKHigjFdpW4RsC8U X-Received: by 10.182.148.1 with SMTP id to1mr24382531obb.50.1404225124018; Tue, 01 Jul 2014 07:32:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.48 with SMTP id w45ls1952601qgd.73.gmail; Tue, 01 Jul 2014 07:32:03 -0700 (PDT) X-Received: by 10.58.69.76 with SMTP id c12mr953008veu.35.1404225123853; Tue, 01 Jul 2014 07:32:03 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id tx9si11469154vcb.102.2014.07.01.07.32.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 07:32:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id sa20so9745732veb.38 for ; Tue, 01 Jul 2014 07:32:03 -0700 (PDT) X-Received: by 10.221.64.80 with SMTP id xh16mr1134794vcb.35.1404225123724; Tue, 01 Jul 2014 07:32:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp219263vcb; Tue, 1 Jul 2014 07:32:03 -0700 (PDT) X-Received: by 10.68.171.193 with SMTP id aw1mr61358033pbc.117.1404225123008; Tue, 01 Jul 2014 07:32:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rn1si27135940pbc.172.2014.07.01.07.32.02; Tue, 01 Jul 2014 07:32:02 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757835AbaGAObx (ORCPT + 8 others); Tue, 1 Jul 2014 10:31:53 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:45053 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757807AbaGAObw (ORCPT ); Tue, 1 Jul 2014 10:31:52 -0400 Received: by mail-wi0-f177.google.com with SMTP id r20so7830190wiv.16 for ; Tue, 01 Jul 2014 07:31:49 -0700 (PDT) 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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org 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> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>;