From patchwork Mon Jun 25 05:58:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1130311 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-davinci@patchwork.kernel.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by patchwork2.kernel.org (Postfix) with ESMTP id F3E4FDFFEA for ; Fri, 29 Jun 2012 00:13:00 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id q5P5wXcw007136; Mon, 25 Jun 2012 00:58:33 -0500 Received: from DFLE70.ent.ti.com (dfle70.ent.ti.com [128.247.5.40]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q5P5wXoo028882; Mon, 25 Jun 2012 00:58:33 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by dfle70.ent.ti.com (128.247.5.40) with Microsoft SMTP Server id 14.1.323.3; Mon, 25 Jun 2012 00:58:33 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id q5P5wWGM002726; Mon, 25 Jun 2012 00:58:32 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id AA71880627; Mon, 25 Jun 2012 00:58:32 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 10D2A80626 for ; Mon, 25 Jun 2012 00:58:31 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id q5P5wUxq022124 for ; Mon, 25 Jun 2012 00:58:30 -0500 (CDT) Received: from psmtp.com (na3sys009amx181.postini.com [74.125.149.162]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id q5P5wTZP017975 for ; Mon, 25 Jun 2012 00:58:30 -0500 Received: from b.relay.invitel.net ([62.77.203.4]) by na3sys009amx181.postini.com ([74.125.148.10]) with SMTP; Mon, 25 Jun 2012 05:58:30 GMT Received: from mail.invitel.hu (mail.invitel.hu [213.163.59.4]) by b.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id 1389031AE3B; Mon, 25 Jun 2012 07:58:26 +0200 (CEST) Received: from [192.168.1.110] ([91.82.183.13]) by mail.invitel.hu (Invitel Messaging Server) with ESMTPA id <0M6500KQRSLBYOH0@invitel.hu>; Mon, 25 Jun 2012 07:58:26 +0200 (CEST) Date: Mon, 25 Jun 2012 07:58:23 +0200 From: Heiko Schocher Subject: Re: OMAP L138 EVM kernel 3.4.0 USB don't work In-Reply-To: <82A37BDE-1A38-40AD-9E14-32960231A77C@efacec.com> To: Message-ID: <4FE7FDFF.70100@denx.de> Organization: DENX Software Engineering MIME-Version: 1.0 References: <82A37BDE-1A38-40AD-9E14-32960231A77C@efacec.com> User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120421 Thunderbird/12.0 X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-dkim: 0 skipped:not-enabled X-pstn-settings: 2 (0.5000:0.5000) s cv gt3 gt2 gt1 r p m c X-pstn-addresses: from [57/2] CC: "davinci-linux-open-source@linux.davincidsp.com" , Felipe Balbi X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Hello jose, On 20.06.2012 14:46, jose.ventura at efacec.com wrote: > I am trying to put some USB devices connected to OMAP L138 Logic EVM > using kernel 3.4.0 and none is detected, on USB 2.0 and USB 1.0 > interfaces. > > After boot a dmesg | grep usb return: > > usbcore: registered new interface driver usbfs > usbcore: registered new interface driver hub > usbcore: registered new device driver usb > ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver > musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) > usbcore: registered new interface driver usbhid > usbhid: USB HID core driver [...] > With kernel 2.6.37 usb works on both USB interfaces. Anyone know about > any regression or is my kernel configuration wrong? Maybe it is worth to try the patch, resulted from the discussion here: http://comments.gmane.org/gmane.linux.usb.general/54505 bye, Heiko diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index a3036b5..b1f50b0 100644 --- a/drivers/usb/musb/da8xx.c +++ b/drivers/usb/musb/da8xx.c @@ -447,6 +445,7 @@ static int da8xx_musb_init(struct musb *musb) rev, __raw_readl(CFGCHIP2), musb_readb(reg_base, DA8XX_USB_CTRL_REG)); + musb->a_wait_bcon = OTG_TIME_A_WAIT_BCON; musb->isr = da8xx_musb_interrupt; return 0; fail: