Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760114Ab3HNSRb (ORCPT ); Wed, 14 Aug 2013 14:17:31 -0400 Received: from www.linutronix.de ([62.245.132.108]:57792 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758561Ab3HNSR3 (ORCPT ); Wed, 14 Aug 2013 14:17:29 -0400 Message-ID: <520BC9A6.608@linutronix.de> Date: Wed, 14 Aug 2013 20:17:10 +0200 From: Sebastian Andrzej Siewior User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 MIME-Version: 1.0 To: Bin Liu CC: Sergei Shtylyov , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@ti.com, george.cherian@ti.com Subject: Re: [PATCH] usb: musb: am335x: Do not remove the session bin HOST-only mode References: <51F2BE6F.3010008@linutronix.de> <51F2D427.7050106@linutronix.de> <51F2DD90.2030405@linutronix.de> <20130729165329.GA5773@linutronix.de> <51F6ABA2.7060102@linutronix.de> <20130809160339.GA14829@linutronix.de> <5205516D.1030707@cogentembedded.com> <5209DCB9.8020705@linutronix.de> <520A3206.5080505@linutronix.de> <520A3847.4090506@linutronix.de> <520A414A.1000102@linutronix.de> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 36 On 08/13/2013 04:32 PM, Bin Liu wrote: > Sebastian, Hi Bin, > On Tue, Aug 13, 2013 at 9:23 AM, Sebastian Andrzej Siewior > wrote: >> Where is my memory going? So now I have a beagle bone in front of me >> and I see a micro USB port a standard A connector. My memory was >> different. >> The micro USB is the UART and standard is most likely the first musb >> instance. So this should run also in host mode and not in OTG mode. >> Hmmm. Let me double check this. > I don't know how dts instances both in mainline, but I would think if > you create two musb instances, and load a gadget driver for this micro > USB port, the USB host should enumerate it. The standard port should > be the 2nd instance which has its ID pin grounded and work in > host-only mode. > > This is how they work in TI 3.2 kernel. So I tried to boot my beagle bone board to figure out if they use the first or the second port in host mode (but it doesn't boot). The tiny micro USB plug is 100% for UART and not wired up to MUSB. Any comments on that patch? I would remove the ID pin changes and repost if you don't mind. >> Sebastian Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/