From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499AbcFIVKv (ORCPT ); Thu, 9 Jun 2016 17:10:51 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:52560 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751703AbcFIVKr (ORCPT ); Thu, 9 Jun 2016 17:10:47 -0400 Date: Thu, 9 Jun 2016 16:09:48 -0500 From: Bin Liu To: Felipe Balbi CC: Tony Lindgren , Pali =?iso-8859-1?Q?Roh=E1r?= , joerg Reisenweber , Felipe Greg Kroah-Hartman , , , , Ivaylo Dimitrov , Sebastian Reichel , Aaro Koskinen , Pavel Machek , Nishanth Menon Subject: Re: Nokia N900: musb is in wrong state after boot Message-ID: <20160609210920.GD2167@uda0271908> Mail-Followup-To: Bin Liu , Felipe Balbi , Tony Lindgren , Pali =?iso-8859-1?Q?Roh=E1r?= , joerg Reisenweber , Felipe Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Ivaylo Dimitrov , Sebastian Reichel , Aaro Koskinen , Pavel Machek , Nishanth Menon References: <201601091616.04193@pali> <3690314.8jDXSUDcRZ@saturn> <20160121192113.GM19432@atomide.com> <201601231357.32629@pali> <20160529103824.GM29844@pali> <20160607125044.GI29844@pali> <20160608095321.GH22406@atomide.com> <87h9d49exz.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h9d49exz.fsf@linux.intel.com> 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 Wed, Jun 08, 2016 at 01:02:00PM +0300, Felipe Balbi wrote: > > Hi, > > Tony Lindgren writes: > > * Pali Rohár [160607 05:53]: > >> > Tony, what do you think about that patch? > >> > > >> > >> Tony, PING > > > > Yeah I don't know, AFAIK we don't have a generic way to > > force MUSB to change mode without ID pin. If you have figured > > something generic for that which does not actually tinker with > > the PHY registers directly, that should be the generic > > musb_set_mode() that we've been wondering about for years. > > #define MUSB_TEST_FORCE_HOST 0x80 > > Can someone confirm on MUSB's docs (and actual running system) that this > does what's supposed to do? I don't know what to expect while setting this bit. I am never able to get musb to enumerate anything or does anything which a host suppose to do. Regards, -Bin.