From patchwork Fri Jul 19 16:24:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Poddar, Sourav" X-Patchwork-Id: 2830599 Return-Path: X-Original-To: patchwork-linux-omap@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 16165C0319 for ; Fri, 19 Jul 2013 16:24:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DBBD520123 for ; Fri, 19 Jul 2013 16:24:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C0F420126 for ; Fri, 19 Jul 2013 16:24:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760810Ab3GSQYZ (ORCPT ); Fri, 19 Jul 2013 12:24:25 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:60717 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760794Ab3GSQYY (ORCPT ); Fri, 19 Jul 2013 12:24:24 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r6JGOJgY021685; Fri, 19 Jul 2013 11:24:19 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r6JGOJ7f032365; Fri, 19 Jul 2013 11:24:19 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Fri, 19 Jul 2013 11:24:18 -0500 Received: from a0131647.apr.dhcp.ti.com (a0131647.apr.dhcp.ti.com [172.24.145.168]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r6JGOCSJ021366; Fri, 19 Jul 2013 11:24:16 -0500 From: Sourav Poddar To: , CC: , , , , Sourav Poddar Subject: [PATCH 1/4] arm: dts: dra7: Add initial status for the devices. Date: Fri, 19 Jul 2013 21:54:07 +0530 Message-ID: <1374251050-10033-2-git-send-email-sourav.poddar@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1374251050-10033-1-git-send-email-sourav.poddar@ti.com> References: <1374251050-10033-1-git-send-email-sourav.poddar@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 disabled I2C/SPI/UART device initially(status = "disabled"). This devices will only be probed, if the devices are present in the dts file(status = "okay"). Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/dra7.dtsi | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index a5d9350..40e450b 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -206,6 +206,7 @@ interrupts = <0 72 0x4>; ti,hwmods = "uart1"; clock-frequency = <48000000>; + status = "disabled"; }; uart2: serial@4806c000 { @@ -214,6 +215,7 @@ interrupts = <0 73 0x4>; ti,hwmods = "uart2"; clock-frequency = <48000000>; + status = "disabled"; }; uart3: serial@48020000 { @@ -222,6 +224,7 @@ interrupts = <0 74 0x4>; ti,hwmods = "uart3"; clock-frequency = <48000000>; + status = "disabled"; }; uart4: serial@4806e000 { @@ -230,6 +233,7 @@ interrupts = <0 70 0x4>; ti,hwmods = "uart4"; clock-frequency = <48000000>; + status = "disabled"; }; uart5: serial@48066000 { @@ -238,6 +242,7 @@ interrupts = <0 105 0x4>; ti,hwmods = "uart5"; clock-frequency = <48000000>; + status = "disabled"; }; uart6: serial@48068000 { @@ -246,6 +251,7 @@ interrupts = <0 106 0x4>; ti,hwmods = "uart6"; clock-frequency = <48000000>; + status = "disabled"; }; timer1: timer@4ae18000 { @@ -354,6 +360,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c1"; + status = "disabled"; }; i2c2: i2c@48072000 { @@ -363,6 +370,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c2"; + status = "disabled"; }; i2c3: i2c@48060000 { @@ -372,6 +380,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c3"; + status = "disabled"; }; i2c4: i2c@4807a000 { @@ -381,6 +390,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c4"; + status = "disabled"; }; i2c5: i2c@4807c000 { @@ -390,6 +400,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c5"; + status = "disabled"; }; mmc1: mmc@4809c000 { @@ -451,6 +462,7 @@ <&sdma 42>; dma-names = "tx0", "rx0", "tx1", "rx1", "tx2", "rx2", "tx3", "rx3"; + status = "disabled"; }; mcspi2: spi@4809a000 { @@ -466,6 +478,7 @@ <&sdma 45>, <&sdma 46>; dma-names = "tx0", "rx0", "tx1", "rx1"; + status = "disabled"; }; mcspi3: spi@480b8000 { @@ -478,6 +491,7 @@ ti,spi-num-cs = <2>; dmas = <&sdma 15>, <&sdma 16>; dma-names = "tx0", "rx0"; + status = "disabled"; }; mcspi4: spi@480ba000 { @@ -490,6 +504,7 @@ ti,spi-num-cs = <1>; dmas = <&sdma 70>, <&sdma 71>; dma-names = "tx0", "rx0"; + status = "disabled"; }; }; };