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: 32987 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8DD0420672 for ; Wed, 2 Jul 2014 14:10:09 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id f51sf11327795qge.6 for ; Wed, 02 Jul 2014 07:10:09 -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=XpGVnM9YISJypFTS/Lbw9zktVsXta5GlOIpal1CvqHg=; b=WCv2VhQIO54NqhRx4kjsqCDp/XB/+QBsZr1/xUwTb818HZzTp+JvMwMQMPPNkdefIM amuyY+173707RZruvLQNQHgZ8CO7xypAxoI8vbqq9yPAB1RJMKOpA25jhK5Hjk/R80R7 ar5/T+/X0fLj+GpRCFzssoQW2KUbByNr8czU3LBuN4CcjiXRcQbEkNFeJiPb+goV98vt 5oZlOt7FmUfDWeSfL4q/7Z6xjFOEfu6JVSkWZwnURj81cAjagbVPbK6xxvWSJ67WRjRP Xe5Z+gogqjgUv1fyOW5poUBv/+dsHJNhLNkBVGuCaE4KNvrGhkqWLYfFDzDsxL4prsqq Xjtw== X-Gm-Message-State: ALoCoQmJ4pRTcZmeCho9g5/cgaOCcQMIdk0TZnoBQnaDdaL0+MpJHWcAfKhU1HhmjLFdX7HMQ2yc X-Received: by 10.58.186.50 with SMTP id fh18mr21243743vec.34.1404310209273; Wed, 02 Jul 2014 07:10:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.107 with SMTP id 98ls56364qga.80.gmail; Wed, 02 Jul 2014 07:10:09 -0700 (PDT) X-Received: by 10.220.195.67 with SMTP id eb3mr7309517vcb.30.1404310209188; Wed, 02 Jul 2014 07:10:09 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id lg9si12931641vdb.3.2014.07.02.07.10.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 07:10:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so10395092vcb.31 for ; Wed, 02 Jul 2014 07:10:09 -0700 (PDT) X-Received: by 10.58.182.234 with SMTP id eh10mr501825vec.41.1404310209033; Wed, 02 Jul 2014 07:10:09 -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 tc5csp296044vcb; Wed, 2 Jul 2014 07:10:08 -0700 (PDT) X-Received: by 10.66.197.131 with SMTP id iu3mr3720236pac.102.1404310208268; Wed, 02 Jul 2014 07:10:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qx10si30380240pbb.182.2014.07.02.07.10.07; Wed, 02 Jul 2014 07:10:07 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1754475AbaGBOJv (ORCPT + 27 others); Wed, 2 Jul 2014 10:09:51 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:50242 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754387AbaGBOJt (ORCPT ); Wed, 2 Jul 2014 10:09:49 -0400 Received: by mail-wi0-f179.google.com with SMTP id cc10so561996wib.0 for ; Wed, 02 Jul 2014 07:09:46 -0700 (PDT) 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 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 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.220.172 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..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>;