From patchwork Thu Apr 4 20:16:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hunter, Jon" X-Patchwork-Id: 2394971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 89B413FD8C for ; Thu, 4 Apr 2013 20:36:56 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNqty-0002Vh-Gk for patchwork-linux-arm@patchwork.kernel.org; Thu, 04 Apr 2013 20:36:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNqbO-0004Ri-FC; Thu, 04 Apr 2013 20:17:42 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNqaG-0003hf-QA for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2013 20:16:35 +0000 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r34KGUA4023513; Thu, 4 Apr 2013 15:16:30 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r34KGUKI014449; Thu, 4 Apr 2013 15:16:30 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Thu, 4 Apr 2013 15:16:30 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r34KGUEr005434; Thu, 4 Apr 2013 15:16:30 -0500 Received: from localhost (h0-54.vpn.ti.com [172.24.0.54]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r34KGTV14517; Thu, 4 Apr 2013 15:16:30 -0500 (CDT) From: Jon Hunter To: Linus Walleij , Grant Likely , Santosh Shilimkar , Kevin Hilman Subject: [PATCH 5/5] ARM: dts: OMAP2+: Identify GPIO banks that are always powered Date: Thu, 4 Apr 2013 15:16:16 -0500 Message-ID: <1365106576-31816-6-git-send-email-jon-hunter@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1365106576-31816-1-git-send-email-jon-hunter@ti.com> References: <1365106576-31816-1-git-send-email-jon-hunter@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130404_161633_004767_AF2397A4 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -9.3 (---------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-9.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.40 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -2.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: device-tree , linux-omap , Jon Hunter , linux-arm , Benoit Cousson X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add the "ti,gpio-always-on" property to the appropriate GPIO banks to indicate which banks are always powered and will never lose logic state. Cc: Benoit Cousson Signed-off-by: Jon Hunter --- arch/arm/boot/dts/omap2420.dtsi | 4 ++++ arch/arm/boot/dts/omap2430.dtsi | 4 ++++ arch/arm/boot/dts/omap3.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 1 + arch/arm/boot/dts/omap5.dtsi | 1 + 5 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi index 455b239..76446ff 100644 --- a/arch/arm/boot/dts/omap2420.dtsi +++ b/arch/arm/boot/dts/omap2420.dtsi @@ -34,6 +34,7 @@ reg = <0x48018000 0x200>; interrupts = <29>; ti,hwmods = "gpio1"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; @@ -45,6 +46,7 @@ reg = <0x4801a000 0x200>; interrupts = <30>; ti,hwmods = "gpio2"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; @@ -56,6 +58,7 @@ reg = <0x4801c000 0x200>; interrupts = <31>; ti,hwmods = "gpio3"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; @@ -67,6 +70,7 @@ reg = <0x4801e000 0x200>; interrupts = <32>; ti,hwmods = "gpio4"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi index 477b120..ca2c4a3 100644 --- a/arch/arm/boot/dts/omap2430.dtsi +++ b/arch/arm/boot/dts/omap2430.dtsi @@ -34,6 +34,7 @@ reg = <0x4900c000 0x200>; interrupts = <29>; ti,hwmods = "gpio1"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; @@ -45,6 +46,7 @@ reg = <0x4900e000 0x200>; interrupts = <30>; ti,hwmods = "gpio2"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; @@ -56,6 +58,7 @@ reg = <0x49010000 0x200>; interrupts = <31>; ti,hwmods = "gpio3"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; @@ -67,6 +70,7 @@ reg = <0x49012000 0x200>; interrupts = <32>; ti,hwmods = "gpio4"; + ti,gpio-always-on; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <2>; diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 3344f05..626406f 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -116,6 +116,7 @@ reg = <0x48310000 0x200>; interrupts = <29>; ti,hwmods = "gpio1"; + ti,gpio-always-on; gpio-controller; #gpio-cells = <2>; interrupt-controller; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 3329140..627f6ca 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -140,6 +140,7 @@ reg = <0x4a310000 0x200>; interrupts = <0 29 0x4>; ti,hwmods = "gpio1"; + ti,gpio-always-on; gpio-controller; #gpio-cells = <2>; interrupt-controller; diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index f4c71d9..82a4b03 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -133,6 +133,7 @@ reg = <0x4ae10000 0x200>; interrupts = <0 29 0x4>; ti,hwmods = "gpio1"; + ti,gpio-always-on; gpio-controller; #gpio-cells = <2>; interrupt-controller;