From patchwork Thu Apr 18 11:44:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 2460151 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 E4B603FCA5 for ; Thu, 18 Apr 2013 11:45:39 +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 1USnH0-000670-Qu; Thu, 18 Apr 2013 11:45:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1USnGs-0003q7-CC; Thu, 18 Apr 2013 11:44:58 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1USnGf-0003oZ-Bb for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2013 11:44:46 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3IBifw5006887; Thu, 18 Apr 2013 06:44:41 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r3IBifeJ020464; Thu, 18 Apr 2013 06:44:41 -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; Thu, 18 Apr 2013 06:44:40 -0500 Received: from localhost.localdomain (h115-164.vpn.ti.com [172.24.115.164]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3IBiaLt024395; Thu, 18 Apr 2013 06:44:39 -0500 From: Roger Quadros To: , Subject: [PATCH v2 2/2] ARM: dts: omap3-beagle-xm: Add USB host supprot for Rev. Ax/Bx Date: Thu, 18 Apr 2013 14:44:34 +0300 Message-ID: <1366285474-19967-2-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1366285474-19967-1-git-send-email-rogerq@ti.com> References: <1366285474-19967-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130418_074445_513444_93EF08EC X-CRM114-Status: GOOD ( 14.17 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.41 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 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: devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, grinberg@compulab.co.il, linux-omap@vger.kernel.org, robertcnelson@gmail.com, linux-arm-kernel@lists.infradead.org, Roger Quadros 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 Rev. Ax/Bx boards have reversed polarity for USBHOST_PWR_ENable signal when compared to Rev. C boards. We create a new dts file for Ax/Bx boards. Also update model and compatible flags for Rev. C board. CC: BenoƮt Cousson Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle-xm-ab.dts | 19 +++++++++++++++++++ arch/arm/boot/dts/omap3-beagle-xm.dts | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-beagle-xm-ab.dts diff --git a/arch/arm/boot/dts/omap3-beagle-xm-ab.dts b/arch/arm/boot/dts/omap3-beagle-xm-ab.dts new file mode 100644 index 0000000..041b40e --- /dev/null +++ b/arch/arm/boot/dts/omap3-beagle-xm-ab.dts @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/include/ "omap3-beagle-xm.dts" + +/ { + model = "TI OMAP3 BeagleBoard xM Rev: Ax/Bx"; + compatible = "ti,omap3-beagle-xm-ab", "ti,omap3-beagle", "ti,omap3"; +}; + +/* On Rev A/B USBHOST_PWR_EN is active high */ +&hsusb2_power { + enable-active-high; +}; diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index 04376a6..8a46dc5 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -10,8 +10,8 @@ /include/ "omap36xx.dtsi" / { - model = "TI OMAP3 BeagleBoard xM"; - compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3"; + model = "TI OMAP3 BeagleBoard xM Rev: C"; + compatible = "ti,omap3-beagle-xm-c", "ti,omap3-beagle", "ti,omap3"; cpus { cpu@0 {