Re: Nokia N900: musb is in wrong state after boot

From: Bin Liu
Date: Thu Jun 09 2016 - 17:10:53 EST


Hi,

On Wed, Jun 08, 2016 at 01:02:00PM +0300, Felipe Balbi wrote:
>
> Hi,
>
> Tony Lindgren <tony@xxxxxxxxxxx> writes:
> > * Pali Rohár <pali.rohar@xxxxxxxxx> [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.