From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753265AbcHPIbi (ORCPT ); Tue, 16 Aug 2016 04:31:38 -0400 Received: from mga02.intel.com ([134.134.136.20]:38424 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbcHPIbg (ORCPT ); Tue, 16 Aug 2016 04:31:36 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,529,1464678000"; d="asc'?scan'208";a="1041917956" 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: 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> User-Agent: Notmuch/0.22.1+63~g994277e (https://notmuchmail.org) Emacs/25.1.1 (x86_64-pc-linux-gnu) Date: Tue, 16 Aug 2016 11:31:20 +0300 Message-ID: <87k2fh8693.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: >> ayaka writes: >>>> On 08/13/2016 01:44 AM, Greg KH wrote: >>>>> On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: >>>>>=20 >>>>>> 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 br= anch >>>>>>> processor-sdk-linux-03.00.00 from Ti git. But I meet a problem with= musb >>>>>>> at the peripheral mode. >>>>>> Then you are going to have to get support from TI for this, nothing = we >>>>>> can do here about random vendor kernel trees, sorry. >>>>>>=20 >>>>>> 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 probl= em. >>> musb-hdrc musb-hdrc.0.auto: Failed to request rx1. >>> musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517 >>=20 >> -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. >>=20 > I have set the status of cppi41dma to okay in dts. And CONFIG_USB_TI_CPPI= 41_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/ =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXss9YAAoJEIaOsuA1yqREUfEP/R/VIeGuVvs2J/XZ8YxYaJqu k/w5kpqFHhLo4JoYSKiNpDxSprfL4vkz2/r2eEDoZ0Dr11NSDjn6Lki1++XF+byU nVM9GJp6C21aQW+JLJsKkKojef8KMLpGZnq16qMBo34gJRtEoNbW+pID8mzscRA1 dBLKYrBoB+lRKizino/fXRT0EJ2no44iO+DzX8hK1Oe/n1Lf51RQ36Xb1u8PrVbf lgx2BUNTA6wuUUatkzrplQr6ptmFurITTxbkNDrZvNdxcnp5ylEv+FhZGHafFdDk qaG+hY1eYCdkfz/k77NW/xOp4YAHxVxxw1/0mYYCGlIOm8Qy9bBlIVlt8lohF61o kqHjP8qdUGceOFNxjMxksHGKxnJF+5NtMfAbZcAywVam//LSMBLlMChGCU/tZERg xll8xes8cZnojowPpzBfgmOoNIAtcrmZZj91IaX97xZL+sm+NIN6W5pb0AohTZup 4qyDUhWEhjqctModJIcicHYG4lgh0sLT1V3BYc/hlwfpLdcAOYFGJ2yAxvjTrxGV JpwgLY/r1WCqnJNEcDj+CvqDrNSe1SXDrCBSzRZTteJnWcO8qdCu9rYaVejNwxS9 9hk2ek6DTgY/uEXzdqQtvLz5aFyIz5spyMZmQmeFHdJh1d2zBcJGm0kHNRzjqL2z TBl2EeFNev+T22wZnHnz =7CAI -----END PGP SIGNATURE----- --=-=-=--