View Single Post
Posts: 119 | Thanked: 110 times | Joined on Sep 2009 @ Prague
#567
lovely...

well, twl4030 is still used for usb - only now we know, that the PHY is isp1707... As EugeneS said, and as it is written in ULPI specification - it should be possible to do some stuff with the pulldown resistors of PHY, I've even found interesting code in drivers/usb/musb/musb_core.c:

functions musb_verify_charger / musb_ulpi_readb / musb_ulpi_writeb

and definitions like

ISP1704_OTG_CTRL_DP_PULLDOWN / ISP1704_OTG_CTRL_DM_PULLDOWN

which means, we can control the PHY to some extent - and maybe also force it into host mode...

(erm, to be precise - the PHY probably doesn't know too much about host/peripheral modes, when it comes to logic.. it probably only cares about electronics stuff (like power pump (which however might be not present in n900) for host mode, those pulldown resistors, maybe initial speed/OTG negotiation) - so additional work still might need to be done inside the MUSB code, to make it all work together properly...)

I'll have to read the usb/ulpi specification more carefuly - if anyone with greater knowledge is interested - please, don't hasitate to join the discussion :-)

this seems to continue being fun...

Last edited by andree; 2010-01-12 at 00:47.
 

The Following 3 Users Say Thank You to andree For This Useful Post: