On Tue, Mar 15, 2016 at 02:08:26PM +0530, Sanchayan Maity wrote: > Hello Peter, > > The existing usage of extcon in Chipidea driver relies on OTG > registers. In case of SoC with dual role device but not a true > OTG controller, this does not work. Such SoC's should specify > the existing CI_HDRC_DUAL_ROLE_NOT_OTG flag and do the role > switch without checking any of the OTG registers in my opinion. > This is the case for Vybrid which uses a Chipidea IP but does > not have a true 5 pin OTG implemented. Sorry to reply you late due to my new born baby. Are you sure Vybrid is NOT OTG core? Afaik, it is uses the same IP base with other Freescale SoCs, just the IP core is 2.40a. When working at device mode, can you read vbus status through OTGSC? And if there is an ID pin (input pin) for Vybrid? I mean SoC, not the board. -- Best Regards, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html