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: 2827000 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 23CF5C0AB2 for ; Fri, 12 Jul 2013 16:15:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0353E2012D for ; Fri, 12 Jul 2013 16:15:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A884C200B1 for ; Fri, 12 Jul 2013 16:15:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964778Ab3GLQPh (ORCPT ); Fri, 12 Jul 2013 12:15:37 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:46976 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932577Ab3GLQPh (ORCPT ); Fri, 12 Jul 2013 12:15:37 -0400 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 CC: Benoit Cousson , Kishon Vijay Abraham I , Linux OMAP Mailing List , Linux ARM Kernel Mailing List , Felipe Balbi 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 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.2 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 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>;