From patchwork Fri Jul 12 16:14:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 2827001 Return-Path: X-Original-To: patchwork-linux-arm@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 B78E3C0AB2 for ; Fri, 12 Jul 2013 16:16:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 967B92012D for ; Fri, 12 Jul 2013 16:16:36 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88DF2200B1 for ; Fri, 12 Jul 2013 16:16:35 +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 1Uxg0h-00076c-SQ; Fri, 12 Jul 2013 16:15:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uxg0R-0003lC-Ek; Fri, 12 Jul 2013 16:15:39 +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 1Uxg0N-0003kT-WC for linux-arm-kernel@lists.infradead.org; Fri, 12 Jul 2013 16:15:36 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r6CGF3DK008249; Fri, 12 Jul 2013 11:15:03 -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 r6CGF2eN007124; Fri, 12 Jul 2013 11:15:03 -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, 12 Jul 2013 11:15:01 -0500 Received: from localhost (h79-26.vpn.ti.com [172.24.79.26]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r6CGF1uS011088; Fri, 12 Jul 2013 11:15:01 -0500 From: Felipe Balbi To: Tony Lindgren Subject: [PATCH] arm: omap5: dts: add palmas-usb node Date: Fri, 12 Jul 2013 19:14:41 +0300 Message-ID: <1373645681-29779-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.8.2.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130712_121536_254568_48039AF3 X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.2 (-------) Cc: Benoit Cousson , Linux OMAP Mailing List , Felipe Balbi , Linux ARM Kernel Mailing List , Kishon Vijay Abraham I 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 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Without this node, there will be no palmas driver to notify dwc3 that a cable has been connected and, without that, dwc3 will never initialize. Signed-off-by: Felipe Balbi --- after this, all we need is wait EXTCON merge which contains the final changes necessary to get USB3 working out of the box. I'd suggest waiting on this patch until EXTCON reaches mainline, just to make sure we don't end up with DTS data for devices which don't exist. cheers arch/arm/boot/dts/omap5-uevm.dts | 9 +++++++++ arch/arm/boot/dts/omap5.dtsi | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 08b7267..7fe0e2b 100644 --- a/arch/arm/boot/dts/omap5-uevm.dts +++ b/arch/arm/boot/dts/omap5-uevm.dts @@ -280,6 +280,11 @@ ti,ldo6-vibrator; + extcon_usb3: palmas_usb { + compatible = "ti,palmas-usb"; + ti,wakeup; + }; + regulators { smps123_reg: smps123 { regulator-name = "smps123"; @@ -450,6 +455,10 @@ phys = <0 &hsusb2_phy &hsusb3_phy>; }; +&usb3 { + extcon = <&extcon_usb3>; +}; + &mcspi1 { }; diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 4e41409..1659246 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -634,7 +634,7 @@ ti,type = <2>; }; - omap_dwc3@4a020000 { + usb3: omap_dwc3@4a020000 { compatible = "ti,dwc3"; ti,hwmods = "usb_otg_ss"; reg = <0x4a020000 0x10000>;