RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-07 Thread Jun Li
> -Original Message- > From: Peter Chen > Sent: 2019年8月7日 10:41 > To: Jun Li ; Peter Chen > Cc: Greg Kroah-Hartman ; dl-linux-imx > ; USB list > Subject: RE: [PATCH 2/5] usb: chipidea: add role switch class support > > > > > > > > >

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-06 Thread Peter Chen
> > > > > > > > > > > > You may use connect bit at portsc since VBUS may not connect to SoC. > > > > > > By this way, disconnect can be decided but connect is a problem in > > > current driver, as controller was stopped in low power mode so can't > > > detect connection from host, unless we also

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-06 Thread Jun Li
> -Original Message- > From: Peter Chen > Sent: 2019年8月6日 15:52 > To: Jun Li ; Peter Chen > Cc: Greg Kroah-Hartman ; dl-linux-imx > ; USB list > Subject: RE: [PATCH 2/5] usb: chipidea: add role switch class support > > > > > > > > You may

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-06 Thread Peter Chen
> > > > You may use connect bit at portsc since VBUS may not connect to SoC. > > By this way, disconnect can be decided but connect is a problem in current > driver, > as controller was stopped in low power mode so can't detect connection from > host, > unless we also update this behavior too.

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-05 Thread Jun Li
Hi > -Original Message- > From: Peter Chen > Sent: 2019年8月5日 12:57 > To: Jun Li ; Peter Chen > Cc: Greg Kroah-Hartman ; dl-linux-imx > ; USB list > Subject: RE: [PATCH 2/5] usb: chipidea: add role switch class support > > > > > > > > US

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-04 Thread Peter Chen
> > > > > USB role is fully controlled by usb role switch consumer(e.g. > > > > > typec), usb port either at host mode, or at device connected > > > > > mode, will not stay at USB_ROLE_NONE mode. > > > > > > > > > > > > > Then, if the Type-C cable is disconnected from PC host, the > > > > control

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-04 Thread Jun Li
> -Original Message- > From: Peter Chen > Sent: 2019年8月5日 11:15 > To: Jun Li > Cc: Peter Chen ; Greg Kroah-Hartman > ; dl-linux-imx ; USB list > > Subject: Re: [PATCH 2/5] usb: chipidea: add role switch class support > > > > > > > >

Re: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-04 Thread Peter Chen
> > > > > USB role is fully controlled by usb role switch consumer(e.g. typec), > > > usb port either at host mode, or at device connected mode, will not > > > stay at USB_ROLE_NONE mode. > > > > > > > Then, if the Type-C cable is disconnected from PC host, the controller > > driver can't be > > n

RE: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-04 Thread Jun Li
> -Original Message- > From: Peter Chen > Sent: 2019年8月2日 17:41 > To: Jun Li > Cc: Peter Chen ; Greg Kroah-Hartman > ; dl-linux-imx ; USB list > > Subject: Re: [PATCH 2/5] usb: chipidea: add role switch class support > > > USB role is fully controlle

Re: [PATCH 2/5] usb: chipidea: add role switch class support

2019-08-02 Thread Peter Chen
> USB role is fully controlled by usb role switch consumer(e.g. typec), > usb port either at host mode, or at device connected mode, will not > stay at USB_ROLE_NONE mode. > Then, if the Type-C cable is disconnected from PC host, the controller driver can't be notified?If that, how controller ente