lkml.org 
[lkml]   [2016]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Nokia N900: musb is in wrong state after boot
From
Date
On 6/8/2016 1:02 PM, Felipe Balbi wrote:

>> * Pali Rohár <pali.rohar@gmail.com> [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?

The MUSB programmer's guide says the CID (sic) input is ignored when the
Force_Host bit is set. The host mode is entered when the Session bit is set.
But I don't have a MUSB hardware readily available to confirm.

MBR, Sergei

\
 
 \ /
  Last update: 2016-06-08 14:21    [W:0.129 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site