RE: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-30 Thread Peter Chen
> > On 16-03-29 00:24:46, Peter Chen wrote: > > > > > > > > On 2016-03-25 00:40, Peter Chen wrote: > > > > 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

Re: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-29 Thread maitysanchayan
Hello Peter, On 16-03-29 00:24:46, Peter Chen wrote: > > > > > On 2016-03-25 00:40, Peter Chen wrote: > > > 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

RE: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-28 Thread Peter Chen
> > On 2016-03-25 00:40, Peter Chen wrote: > > 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

Re: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-28 Thread Stefan Agner
On 2016-03-25 00:40, Peter Chen wrote: > 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

Re: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-25 Thread Peter Chen
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_

[RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-15 Thread Sanchayan Maity
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