From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753318AbcHWPUG (ORCPT ); Tue, 23 Aug 2016 11:20:06 -0400 Received: from bear.ext.ti.com ([198.47.19.11]:60258 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753243AbcHWPUE (ORCPT ); Tue, 23 Aug 2016 11:20:04 -0400 Date: Tue, 23 Aug 2016 10:17:39 -0500 From: Bin Liu To: Ayaka CC: , Felipe Balbi , , Subject: Re: musb: am3358: having problem with high-speed on usb1 at peripheral Message-ID: <20160823151739.GA4050@uda0271908> Mail-Followup-To: Bin Liu , Ayaka , linux-usb@vger.kernel.org, Felipe Balbi , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org References: <1470968595-29231-1-git-send-email-ayaka@soulik.info> <20160818160712.GA1853@uda0271908> <40498A37-039E-4A40-8795-76064956010C@soulik.info> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40498A37-039E-4A40-8795-76064956010C@soulik.info> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Aug 23, 2016 at 09:57:17AM +0800, Ayaka wrote: > > > 從我的 iPad 傳送 > > > Bin Liu 於 2016年8月19日 上午12:08 寫道: > > > > Hi, > > > >> 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 with musb > >> at the peripheral mode. > >> I have force usb1 in peripheral mode in dts as it only have USB_DP, > >> USB_DM and USBDRV connected. I start up a ether gadget using the configfs, > > > > Do you mean USB1_DRVVBUS pin? If so, you have wrong hw design. For > > peripheral mode, you should float this pin, but connect USB1_VBUS pin > > instead. > > > Thank you very much. After hardware modification, it could work on hi-speed mode now. > But I wonder it have effect? As the vbus is not used to transmit data in USB? >>From am3358 perspective, USB1_VBUS is an input pin, which is one of the conditions for musb role switching. More detail is in the am335x TRM. Regards, -Bin. > > Regards, > > -Bin. > > > >> But I found it would always work on the USB 2.0 full speed mode, > >> even the testmode can't force it in high speed mode or it won't appear > >> at host side. If I want it work at high speed mode, what should I do? > >> I also meet the DMA problem, I have to apply the "ARM: dts: am33xx: > >> fix DMA support for the second USB interface", but does patches really > >> work? Although it make the error message disapear, but the mail list > >> said the just make the usb back to PIO mode. > >> > >> -- > >> 2.7.4 > >> > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-usb" in > >> the body of a message to majordomo@vger.kernel.org > >> More majordomo info at http://vger.kernel.org/majordomo-info.html >