From patchwork Mon Dec 15 15:33:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 5495111 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 CB3AFBEEA8 for ; Mon, 15 Dec 2014 15:37:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0F0D5209FD for ; Mon, 15 Dec 2014 15:37:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E74CF209F9 for ; Mon, 15 Dec 2014 15:37:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y0Xfa-0001sE-FK; Mon, 15 Dec 2014 15:34:46 +0000 Received: from mail-bn1bon0715.outbound.protection.outlook.com ([2a01:111:f400:fc10::1:715] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y0XfX-0001jD-0t for linux-arm-kernel@lists.infradead.org; Mon, 15 Dec 2014 15:34:43 +0000 Received: from DM2PR03CA0037.namprd03.prod.outlook.com (10.141.96.36) by BN1PR03MB250.namprd03.prod.outlook.com (10.255.200.16) with Microsoft SMTP Server (TLS) id 15.1.31.17; Mon, 15 Dec 2014 15:34:19 +0000 Received: from BL2FFO11FD042.protection.gbl (2a01:111:f400:7c09::125) by DM2PR03CA0037.outlook.office365.com (2a01:111:e400:2428::36) with Microsoft SMTP Server (TLS) id 15.1.31.17 via Frontend Transport; Mon, 15 Dec 2014 15:34:18 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD042.mail.protection.outlook.com (10.173.161.138) with Microsoft SMTP Server (TLS) id 15.1.26.17 via Frontend Transport; Mon, 15 Dec 2014 15:34:18 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.244.64]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id sBFFYDmR015080; Mon, 15 Dec 2014 08:34:14 -0700 From: Fabio Estevam To: Subject: [PATCH] ARM: dts: imx51-babbage: Fix hang on USB probe Date: Mon, 15 Dec 2014 13:33:59 -0200 Message-ID: <1418657639-19589-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=Fabio.Estevam@freescale.com; X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(77096005)(47776003)(68736005)(120916001)(46102003)(50226001)(4396001)(106466001)(21056001)(36756003)(77156002)(62966003)(19580405001)(229853001)(31966008)(2351001)(20776003)(48376002)(64706001)(107046002)(69596002)(85426001)(99396003)(19580395003)(84676001)(33646002)(110136001)(50466002)(97736003)(92566001)(81156004)(86362001)(50986999)(87936001)(105606002)(104016003)(6806004)(89996001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR03MB250; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB250; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601003); SRVR:BN1PR03MB250; X-Forefront-PRVS: 04267075BD X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB250; X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141215_073443_221168_A33AFBBA X-CRM114-Status: UNSURE ( 5.53 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: Fabio Estevam , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 Currently the following hang is observed during USB probe: [ 1.243660] usbcore: registered new interface driver usb-storage [ 1.261619] ci_hdrc ci_hdrc.1: doesn't support gadget [ 1.266730] ci_hdrc ci_hdrc.1: EHCI Host Controller [ 1.272058] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1 [ 1.290639] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 [ 1.301162] hub 1-0:1.0: USB hub found [ 1.305248] hub 1-0:1.0: 1 port detected (hangs here...) Pass the 'regulator-always-on' to make sure that the USB PHY and USB hub are properly powered. Cc: # 3.16 Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx51-babbage.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index 56569ce..65d3d97 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts @@ -137,6 +137,7 @@ regulator-max-microvolt = <5000000>; gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>; enable-active-high; + regulator-always-on; }; reg_usbotg_vbus: regulator@1 { @@ -149,6 +150,7 @@ regulator-max-microvolt = <5000000>; gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; enable-active-high; + regulator-always-on; }; };