From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753070AbcHRGf6 (ORCPT ); Thu, 18 Aug 2016 02:35:58 -0400 Received: from mga14.intel.com ([192.55.52.115]:33972 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750816AbcHRGf5 (ORCPT ); Thu, 18 Aug 2016 02:35:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,538,1464678000"; d="asc'?scan'208";a="1027487905" From: Felipe Balbi To: ayaka Cc: Greg KH , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, b-liu@ti.com Subject: Re: musb: am3358: having problem with high-speed on usb1 at peripheral In-Reply-To: <680379fb-52ac-a717-0657-dd60911f8276@soulik.info> References: <1470968595-29231-1-git-send-email-ayaka@soulik.info> <20160812074051.GA12546@kroah.com> <295cf920-535e-9f17-c477-1fa8f4972630@soulik.info> <20160812174423.GA6571@kroah.com> <1f1c1bf0-a6b9-2e07-143e-e6352e3c7588@soulik.info> <874m6l9ojr.fsf@linux.intel.com> <87k2fh8693.fsf@linux.intel.com> <680379fb-52ac-a717-0657-dd60911f8276@soulik.info> User-Agent: Notmuch/0.22.1+63~g994277e (https://notmuchmail.org) Emacs/25.1.1 (x86_64-pc-linux-gnu) Date: Thu, 18 Aug 2016 09:35:22 +0300 Message-ID: <87twei60ut.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, ayaka writes: >>>>>> On 08/13/2016 01:44 AM, Greg KH wrote: >>>>>>> On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: >>>>>>> >>>>>>>> On 08/12/2016 03:40 PM, Greg KH wrote: >>>>>>>>> On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: >>>>>>>>> Hello all: >>>>>>>>> I recently add a support for customize am3358 board using the= branch >>>>>>>>> processor-sdk-linux-03.00.00 from Ti git. But I meet a problem wi= th musb >>>>>>>>> at the peripheral mode. >>>>>>>> Then you are going to have to get support from TI for this, nothin= g we >>>>>>>> can do here about random vendor kernel trees, sorry. >>>>>>>> >>>>>>>> If you can use the 4.7 tree, or better yet, the 4.8-rc tree, then = we >>>>>>> I have tried the 4.8-rc1, I meet the same problem. >>>>>> What problem is that exactly? >>>>> Sorry, the USB1 can't work at high speed gadget mode and have DMA pro= blem. >>>>> musb-hdrc musb-hdrc.0.auto: Failed to request rx1. >>>>> musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -= 517 >>>> -517 is EPROBE_DEFER. Most likely DMA hasn't probed and MUSB is >>>> deferring to try later. This does _NOT_ MUSB can't work with >>>> DMA. Perhaps you didn't enable support for MUSB's DMA engine. >>>> >>> I have set the status of cppi41dma to okay in dts. And CONFIG_USB_TI_CP= PI41_DMA, >>> CONFIG_TI_CPPI41 and CONFIG_TI_EDMA are enabled with build into kernel. >>> >>> Anything else I should do? >> no, that should do it. Since musb returned -EPROBE_DEFER, it will retry >> probing later. Check if musb probed fine. The easiest way is to check if >> you have anything in /sys/class/udc/ > Yes, it has musb-hdrc.0.auto. But it doesn't mean that it fallback PIO mo= de? no, it doesn't. MUSB knows it needs the DMA, that's why is defers its own probe routine. > Actually I don't care whether it use PIO or DMA, I just can't bear it=20 > work in USB 2.0 Full Speed mode, too slow. So it always enumerates in Full-speed? That's odd. Bin, any ideas? =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJXtVcqAAoJEIaOsuA1yqRE/tIP/iGj3kb0/g7Syry/z3bATqyi on1XF25z6GTrAdXrvyrDTruhUX9KTLU5XBE+1wY8yxGNFEciO0fVga6oeUWrNYQq W4w0rvHR2G2hU/QwAbwPt1c2oRKyKAhTEDkFG3pFAYOm2eU43CixtWfaLbMgc12x dZW6rAn8C+Yl2Fj+2/+lskXOdjm6pFOyrFB3aunpWLI4jqvP/K4urgNXJ8xsAH7m Bz9mMszcmrR+LelbI/IxyGiOwfsNQxAdI6R2WZpwlc1kHk6PavHgGciuIZd1bQpY A5uKSGexuzPPqrmHmqWlR3KPrDKnhrX/bpDdFS6bgIAkYJyyisZYI1Z0BpwiRwQk BeJ6Nt4+57db6lOfCkZPkkEmEMCa9dVDJSa4ERde+mILVs82P8JGQzGPYBWLBAKe 0oE1Xc0zj/B4uwOEaXHIwsUM7PxbzTqy3ysTqMIrb1lmOTJD3+f9H+T14crKwnyI zfJQWOosiCs1TtoWT3LW47gyeJTcy5MNp++aZ9ShB7Eoiu6IZ6gmOA4/M+MAGMs7 jUCi9bekqIC5XYCYDtASQPI4h2Uau1zkrVAglG6cUFEgcctkXEXjv/90vaGO1JPZ HFr+1xssad5Hu1B/pGKQmsseVQ4KE8b/Lmxp+VbV436kqdiOQwVLLfvfXTfVgqlL iQXT5V706SVIC4ObXR2D =5baJ -----END PGP SIGNATURE----- --=-=-=--