From patchwork Thu Sep 24 14:26:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 54101 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 7D19722DC2 for ; Thu, 24 Sep 2015 14:27:40 +0000 (UTC) Received: by wicuu12 with SMTP id uu12sf42124118wic.2 for ; Thu, 24 Sep 2015 07:27:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=Q/sgNPdPLdoyEgt1plXK4riavOsi09nNuUkhLGv9ldI=; b=MrM55wiQwimV+GH+30N5/1rKLr88zp2bmTulgPph7IH8wodgdZn1b087kSBFx1Y1WI /+FpdtdzCILarkea+XHvwXULFrksR6kcWoClrQ+Q01988VRMz9E90cRb/fhqQmnedlay EOQzRKaCOnIIL6dgqwM6ZJg2lAJ/EBc/bIXJX/QpTRei+kMge6GmuUdnA8kxQyYTCkfZ +/eWk4vXENoVHDULHg3JgqVwixB/QHoI21p/kmg8vwd4iqSZSMw5eCE8ZxlqwEh/Zlfm JnMt5MLtPOYSTQ/s1VJUkIMLqa/RSGd0MpdIVDD2t62bRN6l2Xj8oAsUS2DNoVPS0WJS xwEg== X-Gm-Message-State: ALoCoQlTN8iaFf1GqArPc42QMw0pLZ4Sgiay7z1j2q/pkwgHfx3GVosplR4uI9pwRIxzjGsovDiO X-Received: by 10.112.145.3 with SMTP id sq3mr6190100lbb.7.1443104859717; Thu, 24 Sep 2015 07:27:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.218.208 with SMTP id r199ls189885lfg.2.gmail; Thu, 24 Sep 2015 07:27:39 -0700 (PDT) X-Received: by 10.112.163.193 with SMTP id yk1mr13381084lbb.1.1443104859585; Thu, 24 Sep 2015 07:27:39 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id e7si5809818lfe.10.2015.09.24.07.27.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 07:27:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by lahh2 with SMTP id h2so64571472lah.0 for ; Thu, 24 Sep 2015 07:27:39 -0700 (PDT) X-Received: by 10.112.51.142 with SMTP id k14mr11409337lbo.76.1443104859314; Thu, 24 Sep 2015 07:27:39 -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.112.59.35 with SMTP id w3csp378702lbq; Thu, 24 Sep 2015 07:27:38 -0700 (PDT) X-Received: by 10.68.195.3 with SMTP id ia3mr29554501pbc.106.1443104849645; Thu, 24 Sep 2015 07:27:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ou3si18845730pbb.11.2015.09.24.07.27.29; Thu, 24 Sep 2015 07:27:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752418AbbIXO1W (ORCPT + 5 others); Thu, 24 Sep 2015 10:27:22 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:60731 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752275AbbIXO1U (ORCPT ); Thu, 24 Sep 2015 10:27:20 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8OEQuIT008621; Thu, 24 Sep 2015 09:26:56 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8OEQuov023559; Thu, 24 Sep 2015 09:26:56 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Thu, 24 Sep 2015 09:26:56 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8OEQjRS012528; Thu, 24 Sep 2015 09:26:54 -0500 From: Tero Kristo To: , , , CC: Subject: [PATCH 03/17] ARM: dts: omap3: add reset data Date: Thu, 24 Sep 2015 17:26:44 +0300 Message-ID: <1443104818-993-4-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1443104818-993-1-git-send-email-t-kristo@ti.com> References: <1443104818-993-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: t-kristo@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mailfrom=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: , Copy over the reset data from hwmod database to DT. After this is taken into use, the data in hwmod database can be removed. A new node has been also added for sad2d to support sad2d resets. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/omap3.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 69a40cf..5be9aaa 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -64,11 +64,23 @@ iva: iva { compatible = "ti,iva2.2"; ti,hwmods = "iva"; + reset-names = "logic", "seq0", "seq1"; + resets = <&prm 0x0000 0 0 0 8>, + <&prm 0x0000 0 1 0 9>, + <&prm 0x0000 0 2 0 10>; dsp { compatible = "ti,omap3-c64"; }; }; + + sad2d: sad2d { + compatible = "ti,sad2d"; + ti,hwmods = "sad2d"; + reset-names = "rst_modem_sw", "rst_modem_pwron_sw"; + resets = <&prm 0x0a00 0 0 0 8>, + <&prm 0x0a00 0 1 0 9>; + }; }; /* @@ -154,6 +166,7 @@ compatible = "ti,omap3-prm"; reg = <0x48306000 0x4000>; interrupts = <11>; + #reset-cells = <5>; prm_clocks: clocks { #address-cells = <1>; @@ -162,6 +175,12 @@ prm_clockdomains: clockdomains { }; + + system_reset: system_reset { + compatible = "ti,system-reset"; + reset-names = "system"; + resets = <&prm 0x1200 0 2 0 0>; + }; }; cm: cm@48004000 { @@ -471,6 +490,8 @@ interrupts = <28>; ti,hwmods = "mmu_iva"; status = "disabled"; + reset-names = "mmu"; + resets = <&prm 0x0000 0 1 0 9>; }; wdt2: wdt@48314000 {