Hi Arnaud, On Tue, Dec 14, 2010 at 2:26 PM, Arnaud Patard <arnaud.patard@xxxxxxxxxxx> wrote: ... > > Please, read again what I said. I'm not talking of .portsc but of > .init. To reach the ulpi, the portsc register should be set to ulpi mode > _before_ calling otg_init() in ehci_mxc_drv_probe() but the code is using > .portsc/setting portsc in ehci_mxc_setup() which is afaik _after_ > ehci_mxc_drv_probe(). Ok, I understand what you mean now and I confirmed what you said: current code is setting the portsc register after writing to the OTG viewport. The MX31 is by default configured for a USB serial phy, so like you stated we need first to setup portsc to work in ULPI mode and after that we can read/write the OTG viewport. Thanks, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html