From patchwork Tue Jul 24 15:30:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jan_L=C3=BCbbe?= X-Patchwork-Id: 1231671 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 180A33FD4F for ; Tue, 24 Jul 2012 15:30:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755452Ab2GXPaJ (ORCPT ); Tue, 24 Jul 2012 11:30:09 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:46723 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754073Ab2GXPaH convert rfc822-to-8bit (ORCPT ); Tue, 24 Jul 2012 11:30:07 -0400 Received: from coredoba.hi.pengutronix.de ([2001:6f8:1178:2:219:99ff:fe56:8d7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Sth3m-00062s-9k; Tue, 24 Jul 2012 17:30:06 +0200 Received: from jlu by coredoba.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Sth3l-0000SM-5k; Tue, 24 Jul 2012 17:30:05 +0200 Message-ID: <1343143805.834.3.camel@coredoba.hi.pengutronix.de> Subject: Re: am3517: USB state in 3.5-rc6 From: Jan =?ISO-8859-1?Q?L=FCbbe?= To: yegor_sub1@visionsystems.de Cc: "linux-omap@vger.kernel.org" , "Mark A. Greer" , "Porter, Matt" Date: Tue, 24 Jul 2012 17:30:05 +0200 In-Reply-To: <500CF852.4020005@visionsystems.de> References: <500CF852.4020005@visionsystems.de> Organization: Pengutronix X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 2001:6f8:1178:2:219:99ff:fe56:8d7 X-SA-Exim-Mail-From: jlu@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, On Mon, 2012-07-23 at 09:08 +0200, Yegor Yefremov wrote: > After getting MMC working I now have following issues: both musb and EHCI make problems. > > musb: > > musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) > musb-am35x musb-am35x: failed to get clock > musb-am35x: probe of musb-am35x failed with error -2 I've seen the same problem after merging omap-devel-d-for-3.6 onto v3.5. (see http://git.kernel.org/?p=linux/kernel/git/pjw/omap-pending.git;a=tag;h=refs/tags/omap-devel-d-for-3.6) So far I've worked around it like this (I'm not sure this is the correct approach, but it works): diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index 9f3eda9..2184693 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c @@ -480,14 +480,14 @@ static int __devinit am35x_probe(struct platform_device *pdev) goto err1; } - phy_clk = clk_get(&pdev->dev, "fck"); + phy_clk = clk_get(&pdev->dev, "hsotgusb_ick"); if (IS_ERR(phy_clk)) { dev_err(&pdev->dev, "failed to get PHY clock\n"); ret = PTR_ERR(phy_clk); goto err2; } - clk = clk_get(&pdev->dev, "ick"); + clk = clk_get(&pdev->dev, "hsotgusb_fck"); if (IS_ERR(clk)) { dev_err(&pdev->dev, "failed to get clock\n"); ret = PTR_ERR(clk);