RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-04 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Wednesday, May 04, 2016 2:37 PM > To: Peter Chen > Cc: Jun Li ; st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; peter.c...@freescale.com; > dan.j.wi

RE: [PATCH v7 03/14] usb: hcd.h: Add OTG to HCD interface

2016-05-10 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Tuesday, May 10, 2016 3:35 PM > To: Peter Chen > Cc: peter.c...@freescale.com; st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; dan.j.willi...@intel.com; jun...@freescale.com; > mathias.

RE: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-05-17 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Monday, May 16, 2016 5:52 PM > To: Peter Chen > Cc: peter.c...@freescale.com; ba...@kernel.org; t...@atomide.com; > gre...@linuxfoundation.org; dan.j.willi...@intel.com; > mathias.ny...@linux.intel.com; joao.pi..

RE: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-05-17 Thread Jun Li
Hi Roger, > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Tuesday, May 17, 2016 4:09 PM > To: Jun Li ; Peter Chen > Cc: peter.c...@freescale.com; ba...@kernel.org; t...@atomide.com; > gre...@linuxfoundation.org; dan.j.willi...@intel

RE: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-05-18 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Wednesday, May 18, 2016 8:43 PM > To: Jun Li ; Peter Chen > Cc: peter.c...@freescale.com; ba...@kernel.org; t...@atomide.com; > gre...@linuxfoundation.org; dan.j.willi...@intel

RE: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-05-18 Thread Jun Li
> >> > >> I didn't want to have complex Kconfig so decided to have otg as > >> built-in only. > >> What do you want me to change in existing code? and why? > > > > Remove those stuff which only for pass diff driver config Like every > > controller driver need a duplicated > > > > static struct ot

RE: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-05-23 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Monday, May 23, 2016 6:12 PM > To: Peter Chen > Cc: Jun Li ; peter.c...@freescale.com; ba...@kernel.org; > t...@atomide.com; gre...@linuxfoundation.org; dan.j.willi...@intel.com; > mathias.

RE: [PATCH v8 08/14] usb: otg: add OTG/dual-role core

2016-05-24 Thread Jun Li
> -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Wednesday, May 25, 2016 10:44 AM > To: Roger Quadros > Cc: peter.c...@freescale.com; ba...@kernel.org; t...@atomide.com; > gre...@linuxfoundation.org; dan.j.willi...@intel.com; > mathias.ny...@linux.intel.com;

RE: [PATCH v8 08/14] usb: otg: add OTG/dual-role core

2016-05-25 Thread Jun Li
Hi Roger > >> > >> Here, we should be checking if user needs to disable any OTG > >> features. So, > >> > >>if (dev->of_node) > >>of_usb_update_otg_caps(dev->of_node, &otg->caps); > >> > >> Do you agree? > >> This means we need to change otg->caps from 'struct usb_otg_caps > *caps;

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-05 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Lu Baolu > Sent: Sunday, June 05, 2016 2:56 PM > To: Peter Chen > Cc: felipe.ba...@linux.intel.com; Mathias Nyman ; > Greg Kroah-Hartman ; Lee Jones > ; Heikki Krogerus

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-05 Thread Jun Li
> -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Sunday, June 05, 2016 4:47 PM > To: Jun Li ; Peter Chen > Cc: felipe.ba...@linux.intel.com; Mathias Nyman ; > Greg Kroah-Hartman ; Lee Jones > ; Heikki Krogerus ; > Liam Girdwood ;

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-06 Thread Jun Li
Hi Roger > > For Mux devices implementing dual-role, the mux device driver _must_ use > OTG/dual-role core API so that a common ABI is presented to user space for > OTG/dual-role. That's the only point we have concern, do dual role switch through OTG/dual-role core, not do it by itself. > > I

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-07 Thread Jun Li
Hi Baolu > -Original Message- > From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Tuesday, June 07, 2016 2:27 PM > To: Jun Li ; Roger Quadros ; Peter Chen > > Cc: felipe.ba...@linux.intel.com; Mathias Nyman ; > Greg Kroah-Hartman ; Lee Jones > ; Heikki Kr

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-07 Thread Jun Li
Hi, > -Original Message- > From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > Sent: Tuesday, June 07, 2016 11:05 PM > To: Roger Quadros ; Lu Baolu ; > Jun Li ; Peter Chen > Cc: Mathias Nyman ; Greg Kroah-Hartman > ; Lee Jones ; Heikki > Krogerus ; Liam

RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-07 Thread Jun Li
Hi, Baolu From: Lu Baolu [mailto:baolu...@linux.intel.com] Sent: Wednesday, June 08, 2016 1:11 PM To: Jun Li ; Felipe Balbi ; Roger Quadros ; Peter Chen Cc: Mathias Nyman ; Greg Kroah-Hartman ; Lee Jones ; Heikki Krogerus ; Liam Girdwood ; Mark Brown ; linux-usb@vger.kernel.org; linux-ker

RE: [PATCH v10 09/14] usb: of: add an API to get OTG device from USB controller node

2016-06-13 Thread Jun Li
Hi > diff --git a/drivers/usb/common/common.c b/drivers/usb/common/common.c > index e3d0161..d7ec471 100644 > --- a/drivers/usb/common/common.c > +++ b/drivers/usb/common/common.c > @@ -238,6 +238,33 @@ int of_usb_update_otg_caps(struct device_node *np, } > EXPORT_SYMBOL_GPL(of_usb_update_otg_cap

RE: [RESEND PATCH v11 2/4] gadget: Support for the usb charger framework

2016-06-13 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Monday, June 13, 2016 4:47 PM > To: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org > Cc:

RE: [RESEND PATCH v11 3/4] gadget: Integrate with the usb gadget supporting for usb charger

2016-06-13 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Monday, June 13, 2016 4:47 PM > To: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org > Cc:

RE: [RESEND PATCH v11 1/4] gadget: Introduce the usb charger framework

2016-06-13 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Monday, June 13, 2016 4:47 PM > To: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org > Cc:

RE: [PATCH 04/21] usb: chipidea: Only read/write OTGSC from one place

2016-06-27 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Stephen Boyd > Sent: Sunday, June 26, 2016 3:28 PM > To: linux-usb@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; > linux-arm-

RE: [PATCH] usb: otg-fsm: Cancel HNP polling work when not used

2016-06-27 Thread Jun Li
Hi > -Original Message- > From: Stephen Boyd [mailto:stephen.b...@linaro.org] > Sent: Tuesday, June 28, 2016 9:18 AM > To: Peter Chen ; Felipe Balbi > Cc: linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; > linux-usb@vger.kernel.org; Jun Li ;

RE: [PATCH] usb: otg-fsm: Cancel HNP polling work when not used

2016-06-29 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Wednesday, June 29, 2016 5:44 PM > To: Stephen Boyd > Cc: Peter Chen ; Felipe Balbi ; > linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; linux- > u...@vger.kernel.org

RE: [PATCH 08/21] usb: chipidea: Kick OTG state machine for AVVIS with vbus extcon

2016-06-29 Thread Jun Li
Hi Stephen, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Peter Chen > Sent: Thursday, June 30, 2016 9:27 AM > To: Stephen Boyd > Cc: linux-usb@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-ker...@vge

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-09 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikk

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-11 Thread Jun Li
> -Original Message- > From: Guenter Roeck [mailto:gro...@google.com] > Sent: Monday, September 12, 2016 10:24 AM > To: Jun Li > Cc: Guenter Roeck ; Felipe Balbi > ; Chandra Sekhar Anagani > ; Bruce Ashfield > ; Bin Gao ; Pranav Tipnis > ; He

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-11 Thread Jun Li
Hi Guenter > -Original Message- > From: Guenter Roeck [mailto:gro...@google.com] > Sent: Saturday, September 10, 2016 10:23 AM > To: Jun Li > Cc: Guenter Roeck ; Felipe Balbi > ; Chandra Sekhar Anagani > ; Bruce Ashfield > ; Bin Gao ; Pranav Tipnis > ; He

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-29 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikk

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-29 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikki

RE: [RFC PATCH v3 2/2] usb: typec: Type-C Port Controller Interface driver (tcpci)

2016-09-30 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikk

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-30 Thread Jun Li
Hi, > -Original Message- > From: Guenter Roeck [mailto:gro...@google.com] > Sent: Friday, September 30, 2016 12:37 AM > To: Jun Li > Cc: Guenter Roeck ; Felipe Balbi > ; Chandra Sekhar Anagani > ; Bruce Ashfield > ; Bin Gao ; Pranav Tipnis > ; He

RE: [RFC PATCH v3 2/2] usb: typec: Type-C Port Controller Interface driver (tcpci)

2016-09-30 Thread Jun Li
Hi, > -Original Message- > From: Guenter Roeck [mailto:gro...@google.com] > Sent: Saturday, October 01, 2016 2:45 AM > To: Jun Li > Cc: Guenter Roeck ; Felipe Balbi > ; Chandra Sekhar Anagani > ; Bruce Ashfield > ; Bin Gao ; Pranav Tipnis > ; He

RE: [PATCH 0/7][v4] Add OTG support for FSL socs

2015-12-22 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Felipe Balbi > Sent: Wednesday, December 23, 2015 2:21 AM > To: Ramneek Mehresh ; linux- > ker...@vger.kernel.org > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation

RE: [PATCH 0/7][v4] Add OTG support for FSL socs

2015-12-23 Thread Jun Li
> -Original Message- > From: Ramneek Mehresh [mailto:ramneek.mehr...@freescale.com] > Sent: Wednesday, December 23, 2015 8:20 PM > To: Jun Li ; Felipe Balbi ; linux- > ker...@vger.kernel.org > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; linux- >

RE: [PATCH v5 07/10] usb: chipidea: disable irq while do role switch

2016-01-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, January 25, 2016 3:42 PM > To: Jun Li > Cc: Peter Chen ; ba...@ti.com; > gre...@linuxfoundation.org; linux-usb@vger.kernel.org > Subject: Re: [PATCH v5 07/10] usb: chipidea:

RE: [PATCH v5 10/10] usb: chipidea: otg: add A idle to B disconnect timer

2016-01-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, January 25, 2016 3:46 PM > To: Jun Li > Cc: Peter Chen ; ba...@ti.com; > gre...@linuxfoundation.org; linux-usb@vger.kernel.org > Subject: Re: [PATCH v5 10/10] usb: chipidea:

RE: [PATCH v6 00/10] add HNP polling support for usb otg fsm

2016-01-27 Thread Jun Li
Hi Felipe, > -Original Message- > From: Jun Li > Sent: Tuesday, January 26, 2016 3:19 PM > To: Peter Chen ; hzpeterc...@gmail.com; ba...@ti.com; > gre...@linuxfoundation.org > Cc: linux-usb@vger.kernel.org; Jun Li > Subject: [PATCH v6 00/10] add HNP polling su

RE: [PATCH 1/2] usb: phy: mxs: declare variable with initialized value

2016-02-03 Thread Jun Li
Hi > -Original Message- > From: Felipe Balbi [mailto:bal...@gmail.com] On Behalf Of Felipe Balbi > Sent: Thursday, February 04, 2016 1:55 AM > To: Jun Li ; Peter Chen ; > hzpeterc...@gmail.com > Cc: linux-usb@vger.kernel.org; Jun Li > Subject: Re: [PATCH 1/2] u

RE: [PATCH v6 00/10] add HNP polling support for usb otg fsm

2016-02-14 Thread Jun Li
Resend with Felipe's new email address > -Original Message- > From: Jun Li > Sent: Monday, February 15, 2016 10:16 AM > To: ba...@ti.com > Cc: linux-usb@vger.kernel.org; Peter Chen ; > hzpeterc...@gmail.com; gre...@linuxfoundation.org; Jun Li > Subject: RE

RE: [PATCH v6 00/10] add HNP polling support for usb otg fsm

2016-02-14 Thread Jun Li
Ping... > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Jun Li > Sent: Thursday, January 28, 2016 2:50 PM > To: ba...@ti.com > Cc: linux-usb@vger.kernel.org; Peter Chen ; > hzpet

RE: [PATCH v6 00/10] add HNP polling support for usb otg fsm

2016-02-18 Thread Jun Li
Hi Felipe I didn't get any response for this request, if you need a resend of the whole patchset, please let me know. Li Jun > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Jun Li > Sent: Monday, Feb

RE: [PATCH v6 00/10] add HNP polling support for usb otg fsm

2016-02-19 Thread Jun Li
Hi Felipe, > -Original Message- > From: Felipe Balbi [mailto:bal...@gmail.com] > Sent: Friday, February 19, 2016 4:58 PM > To: Jun Li ; Felipe Balbi > Cc: linux-usb@vger.kernel.org; Peter Chen ; > hzpeterc...@gmail.com; gre...@linuxfoundation.org > Subject: RE: [PA

RE: [RESEND PATCH v6 07/10] usb: chipidea: otg: enable HNP polling support for gadget and host

2016-02-19 Thread Jun Li
Hi Felipe, > -Original Message- > From: Felipe Balbi [mailto:bal...@gmail.com] > Sent: Friday, February 19, 2016 10:07 PM > To: Jun Li ; ba...@kernel.org; Peter Chen > > Cc: linux-usb@vger.kernel.org; Jun Li > Subject: Re: [RESEND PATCH v6 07/10] usb: chipidea: otg:

RE: [RESEND PATCH v6 07/10] usb: chipidea: otg: enable HNP polling support for gadget and host

2016-02-19 Thread Jun Li
Hi, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Jun Li > Sent: Friday, February 19, 2016 10:49 PM > To: Felipe Balbi ; ba...@kernel.org; Peter Chen > > Cc: linux-usb@vger.kernel.org > Subje

RE: [PATCH 2/2] usb: chipidea: usbmisc: set over current polarity for imx6 and imx7

2016-07-15 Thread Jun Li
> -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Friday, July 15, 2016 5:21 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org > Subject: Re: [PATCH 2/2] usb: chipidea: usbmisc: set over current polarity > for imx6 and imx

RE: [PATCH 2/2] usb: chipidea: usbmisc: set over current polarity for imx6 and imx7

2016-07-15 Thread Jun Li
Hi, > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Friday, July 15, 2016 3:02 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org > Subject: Re: [PATCH 2/2] usb: chipidea: usbmisc: set over current polarity > for imx6 and imx

RE: [PATCH 2/2] usb: chipidea: usbmisc: set over current polarity for imx6 and imx7

2016-07-18 Thread Jun Li
Hi Peter, > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Friday, July 15, 2016 5:21 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org > Subject: Re: [PATCH 2/2] usb: chipidea: usbmisc: set over current polarity > for imx6

RE: [PATCH 4/4] usb: chipidea: imx: set over current polarity per dts setting

2016-07-18 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, July 19, 2016 9:57 AM > To: Jun Li > Cc: Peter Chen ; robh...@kernel.org; > shawn...@kernel.org; devicet...@vger.kernel.org; linux-usb@vger.kernel.org; > linux-arm-ker..

RE: [PATCH 2/4] doc: usb: ci-hdrc-usb2: add property over-current-polarity

2016-07-19 Thread Jun Li
Hi, > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, July 19, 2016 9:47 AM > To: Joshua Clayton > Cc: Jun Li ; Peter Chen ; > robh...@kernel.org; shawn...@kernel.org; devicet...@vger.kernel.org; > linux-usb@vger.kern

RE: [PATCH v5 5/6] usb: chipidea: let chipidea core device of_node equal's glue layer device of_node

2016-08-10 Thread Jun Li
Hi, Peter > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Peter Chen > Sent: Wednesday, August 10, 2016 11:12 AM > To: Stephen Boyd > Cc: Peter Chen ; gre...@linuxfoundation.org; > st...@rowland.harvard.edu; ulf.hans...

RE: [PATCH] usb: chipidea: udc: don't touch DP when controller is in host mode

2016-08-12 Thread Jun Li
Hi, > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Friday, August 12, 2016 4:48 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org > Subject: Re: [PATCH] usb: chipidea: udc: don't touch DP when controller is > in hos

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-29 Thread Jun Li
> -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Monday, March 28, 2016 2:52 PM > To: Peter Chen > Cc: Felipe Balbi ; Greg KH ; > Sebastian Reichel ; Dmitry Eremin-Solenikov > ; David Woodhouse ; Pet

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-29 Thread Jun Li
> -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Tuesday, March 29, 2016 5:49 PM > To: Jun Li > Cc: Peter Chen ; Felipe Balbi ; > Greg KH ; Sebastian Reichel ; > Dmitry Eremin-Solenikov ; David Woodhouse > ; Peter Chen

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-30 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Wednesday, March 30, 2016 2:15 PM > To: Jun Li > Cc: Peter Chen ; Felipe Balbi ; > Greg KH ; Sebastian Reichel ; > Dmitry Eremin-Solenikov ; David Woodhouse > ; Peter Chen

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-30 Thread Jun Li
> -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Wednesday, March 30, 2016 5:31 PM > To: Jun Li > Cc: Peter Chen ; Felipe Balbi ; > Greg KH ; Sebastian Reichel ; > Dmitry Eremin-Solenikov ; David Woodhouse > ; Peter Chen

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-30 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Thursday, March 31, 2016 1:23 PM > To: Jun Li > Cc: Peter Chen ; Felipe Balbi ; > Greg KH ; Sebastian Reichel ; > Dmitry Eremin-Solenikov ; David Woodhouse > ; Peter Chen

RE: [PATCH v9 1/4] gadget: Introduce the usb charger framework

2016-04-06 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Friday, April 01, 2016 3:22 PM > To: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org > Cc:

RE: [PATCH v9 1/4] gadget: Introduce the usb charger framework

2016-04-06 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Wednesday, April 06, 2016 7:31 PM > To: Jun Li > Cc: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org; peter.c...@f

RE: [PATCH v9 2/4] gadget: Support for the usb charger framework

2016-04-06 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Wednesday, April 06, 2016 6:47 PM > To: Peter Chen > Cc: Felipe Balbi ; Greg KH ; > Sebastian Reichel ; Dmitry Eremin-Solenikov > ; David Woodhouse

RE: [PATCH v9 2/4] gadget: Support for the usb charger framework

2016-04-06 Thread Jun Li
> -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Wednesday, April 06, 2016 8:22 PM > To: Jun Li ; Baolin Wang ; Peter > Chen > Cc: Greg KH ; Sebastian Reichel > ; Dmitry Eremin-Solenikov ; David > Woodhouse ; Peter Chen ; > Alan St

RE: [PATCH v9 2/4] gadget: Support for the usb charger framework

2016-04-06 Thread Jun Li
Hi > -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Wednesday, April 06, 2016 8:56 PM > To: Jun Li ; Baolin Wang ; Peter > Chen > Cc: Greg KH ; Sebastian Reichel > ; Dmitry Eremin-Solenikov ; David > Woodhouse ; Peter Chen ; > Alan St

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Jun Li
Hi, Baolin > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Thursday, April 07, 2016 7:49 PM > To: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Jun Li
> -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Friday, April 08, 2016 7:00 PM > To: Jun Li > Cc: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org; peter.c...@f

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Friday, April 08, 2016 5:56 PM > To: Jun Li > Cc: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org; peter.c...@f

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-10 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Friday, April 08, 2016 7:51 PM > To: Jun Li > Cc: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org; peter.c...@f

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Monday, April 11, 2016 7:15 PM > To: Jun Li > Cc: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead.org; peter.c...@f

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-20 Thread Jun Li
Hi, ... > > /** > + * usb_gadget_start - start the usb gadget controller and connect to > +bus > + * @gadget: the gadget device to start > + * > + * This is external API for use by OTG core. > + * > + * Start the usb device controller and connect to bus (enable pull). > + */ > +static int usb_ga

RE: [PATCH 1/5] usb: chipidea: add usb charger detection support

2016-04-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, April 25, 2016 11:27 AM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org; > baolin.w...@linaro.org > Subject: Re: [PATCH 1/5] usb: chipidea: add usb charger detectio

RE: [PATCH 4/5] usb: chipidea: imx: add usb charger detection for imx7d

2016-04-25 Thread Jun Li
Hi, > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, April 25, 2016 2:03 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org; > baolin.w...@linaro.org > Subject: Re: [PATCH 4/5] usb: chipidea: imx: add usb charger

RE: [PATCH 1/5] usb: chipidea: add usb charger detection support

2016-04-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, April 25, 2016 2:15 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org; > baolin.w...@linaro.org > Subject: Re: [PATCH 1/5] usb: chipidea: add usb charger detectio

RE: [PATCH 5/5] doc: usb: ci-hdrc-usb2: add property usb-charger-detection

2016-04-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Monday, April 25, 2016 2:23 PM > To: Jun Li > Cc: Peter Chen ; linux-usb@vger.kernel.org; > baolin.w...@linaro.org > Subject: Re: [PATCH 5/5] doc: usb: ci-hdrc-usb2: add property usb

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-25 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Monday, April 25, 2016 10:04 PM > To: Jun Li ; st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; peter.c...@freescale.com > Cc: dan.j.willi...@intel.com; ju

RE: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-25 Thread Jun Li
Hi Roger > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Tuesday, April 05, 2016 10:05 PM > To: st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; peter.c...@freescale.com > Cc: dan.j.willi...@intel.com; jun...@freescale.com; > mathias.ny..

RE: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, April 26, 2016 11:47 AM > To: Jun Li > Cc: Roger Quadros ; st...@rowland.harvard.edu; > ba...@kernel.org; gre...@linuxfoundation.org; peter.c...@freescale.com; > dan.j.wi

RE: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-26 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, April 26, 2016 2:28 PM > To: Jun Li > Cc: Roger Quadros ; st...@rowland.harvard.edu; > ba...@kernel.org; gre...@linuxfoundation.org; peter.c...@freescale.com; > dan.j.wi

RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core

2016-04-27 Thread Jun Li
Hi > > + > +static struct otg_hcd_ops otg_hcd_intf = { > + .add = usb_add_hcd, > + .remove = usb_remove_hcd, > + .usb_bus_start_enum = usb_bus_start_enum, Build break if CONFIG_USB_OTG is not enabled: drivers/built-in.o:(.data+0x1db30): undefined reference to `usb_bus_start_enum' Ma

RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core

2016-04-27 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Wednesday, April 27, 2016 7:12 PM > To: Jun Li ; st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; peter.c...@freescale.com > Cc: dan.j.willi...@intel.com; ju

RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core

2016-04-27 Thread Jun Li
Hi, > -Original Message- > From: Jun Li [mailto:jun...@nxp.com] > Sent: Wednesday, April 27, 2016 8:50 PM > To: Roger Quadros ; st...@rowland.harvard.edu; > ba...@kernel.org; gre...@linuxfoundation.org; peter.c...@freescale.com > Cc: dan.j.willi...@intel.com; ju

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-28 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Thursday, April 28, 2016 5:55 PM > To: Jun Li ; st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; peter.c...@freescale.com > Cc: dan.j.willi...@intel.com; ju

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-03 Thread Jun Li
Hi > >>> /** > >>> + * usb_gadget_start - start the usb gadget controller and > >>> +connect to bus > >>> + * @gadget: the gadget device to start > >>> + * > >>> + * This is external API for use by OTG core. > >>> + * > >>> + * Start the usb device controller and c

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-08 Thread Jun Li
Hi, > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Tuesday, March 07, 2017 5:39 PM > To: NeilBrown > Cc: Felipe Balbi ; Greg KH ; > Sebastian Reichel ; Dmitry Eremin-Solenikov > ; David Woodhouse ; > r...@kernel.org; Jun Li ; Mar

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-09 Thread Jun Li
> -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Thursday, March 09, 2017 2:11 PM > To: Jun Li > Cc: NeilBrown ; Felipe Balbi ; Greg KH > ; Sebastian Reichel ; Dmitry > Eremin-Solenikov ; David Woodhouse > ; r...@kernel.org; Mar

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-09 Thread Jun Li
> -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Thursday, March 09, 2017 7:23 PM > To: Jun Li > Cc: NeilBrown ; Felipe Balbi ; Greg KH > ; Sebastian Reichel ; Dmitry > Eremin-Solenikov ; David Woodhouse > ; r...@kernel.org; Mar

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-10 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Friday, March 10, 2017 3:15 PM > To: Jun Li > Cc: NeilBrown ; Felipe Balbi ; Greg KH > ; Sebastian Reichel ; Dmitry > Eremin-Solenikov ; David Woodhouse > ; r...@kernel.org; Mar

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-12 Thread Jun Li
Hi, > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Friday, March 10, 2017 6:52 PM > To: Jun Li > Cc: NeilBrown ; Felipe Balbi ; Greg KH > ; Sebastian Reichel ; Dmitry > Eremin-Solenikov ; David Woodhouse > ; r...@kernel.org; Mar

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-13 Thread Jun Li
Hi, > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Monday, March 13, 2017 4:44 PM > To: Jun Li > Cc: NeilBrown ; Felipe Balbi ; Greg KH > ; Sebastian Reichel ; Dmitry > Eremin-Solenikov ; David Woodhouse > ; r...@kernel.org; Mar

RE: [PATCH 1/2] Documentation: usb: dwc3: add power down clock scale property

2019-03-10 Thread Jun Li
> -Original Message- > From: Rob Herring > Sent: 2019年2月23日 8:33 > To: Jun Li > Cc: mark.rutl...@arm.com; ba...@kernel.org; linux-usb@vger.kernel.org; > devicet...@vger.kernel.org; dl-linux-imx > Subject: Re: [PATCH 1/2] Documentation: usb: dwc3: add power down c

[PATCH v3 1/2] dt-bindings: usb: add documentation for typec switch via GPIO

2019-03-11 Thread Jun Li
Some typec super speed active channel switch can be controlled via a GPIO, this binding can be used to specify the switch node by a GPIO and the remote endpoint of its consumer. Signed-off-by: Li Jun --- .../devicetree/bindings/usb/typec-switch-gpio.txt | 30 ++ 1 file chang

[PATCH v3 2/2] usb: typec: add typec switch via GPIO control

2019-03-11 Thread Jun Li
s/usb/typec/mux/gpio-switch.c @@ -0,0 +1,105 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * Typec switch via a simple GPIO control driver. + * + * Copyright 2019 NXP + * Author: Jun Li + * + */ + +#include +#include +#include +#include +#include +#include +#include + +struct gp

RE: [PATCH v3 1/2] dt-bindings: usb: add documentation for typec switch via GPIO

2019-03-12 Thread Jun Li
Hi Hans > -Original Message- > From: Hans de Goede > Sent: 2019年3月11日 19:03 > To: Jun Li ; robh...@kernel.org; > heikki.kroge...@linux.intel.com > Cc: gre...@linuxfoundation.org; andy.shevche...@gmail.com; > linux-usb@vger.kernel.org; devicet...@vger.kernel.org; dl-l

RE: [PATCH v3 1/2] dt-bindings: usb: add documentation for typec switch via GPIO

2019-03-18 Thread Jun Li
> -Original Message- > From: Hans de Goede > Sent: 2019年3月11日 19:12 > To: Jun Li ; robh...@kernel.org; > heikki.kroge...@linux.intel.com > Cc: gre...@linuxfoundation.org; andy.shevche...@gmail.com; > linux-usb@vger.kernel.org; devicet...@vger.kernel.org; dl-linux

RE: [PATCH v3 1/2] dt-bindings: usb: add documentation for typec switch via GPIO

2019-03-18 Thread Jun Li
> -Original Message- > From: Rob Herring > Sent: 2019年3月12日 22:45 > To: Jun Li > Cc: heikki.kroge...@linux.intel.com; gre...@linuxfoundation.org; > hdego...@redhat.com; andy.shevche...@gmail.com; linux-usb@vger.kernel.org; > devicet...@vger.kernel.org; dl-lin

RE: [PATCH v3 1/2] dt-bindings: usb: add documentation for typec switch via GPIO

2019-03-18 Thread Jun Li
> -Original Message- > From: Heikki Krogerus > Sent: 2019年3月13日 17:36 > To: Rob Herring > Cc: Jun Li ; gre...@linuxfoundation.org; hdego...@redhat.com; > andy.shevche...@gmail.com; linux-usb@vger.kernel.org; > devicet...@vger.kernel.org; dl-linux-imx > Subjec

[PATCH] usb: dwc3: move core validation to be after clks enable

2019-05-07 Thread Jun Li
From: Jun Li Register access in core validation may hang before the bulk clks are enabled. Fixes: b873e2d0ea1e ("usb: dwc3: Do core validation early on probe") Signed-off-by: Jun Li --- drivers/usb/dwc3/core.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) di

RE: [PATCH] usb: dwc3: move core validation to be after clks enable

2019-05-08 Thread Jun Li
Hi Sriharsha, > -Original Message- > From: Sriharsha Allenki > Sent: 2019年5月8日 18:26 > To: Jun Li ; ba...@kernel.org; gre...@linuxfoundation.org > Cc: thi...@synopsys.com; linux-usb@vger.kernel.org; dl-linux-imx > > Subject: Re: [PATCH] usb: dwc3: move core valida

[PATCH v2] usb: dwc3: move core validation to be after clks enable

2019-05-08 Thread Jun Li
From: Jun Li Register access in core validation may hang before the bulk clks are enabled. Fixes: b873e2d0ea1e ("usb: dwc3: Do core validation early on probe") Signed-off-by: Jun Li --- Change for v2: - Update ret to be -ENODEV in case dwc3_core_is_valid() fail. drivers/usb/dwc3/c

[PATCH 1/5] usb: chipidea: replace ci_role with usb_role

2019-07-03 Thread jun . li
From: Li Jun Since there is usb_role which has similar definition like ci_role, switch to use usb_role, then we can directly compare usb role with a common definition, this can benifit on usb role switch class support. Signed-off-by: Li Jun --- drivers/usb/chipidea/ci.h | 28 -

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

2019-07-03 Thread jun . li
From: Li Jun 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. Signed-off-by: Li Jun --- drivers/usb/chipidea/ci.h | 2 + drivers/usb/chipidea/core.c | 125 ++

Re: [PATCH 3/3] usb: typec: mux: Use the "compatible" property instead of a boolean property

2019-07-15 Thread Jun Li
Hi Heikki, Heikki Krogerus 于2019年3月28日周四 上午12:45写道: > > Instead of searching for a boolean property, matching > against the "compatible" property. > > Signed-off-by: Heikki Krogerus > --- > drivers/usb/typec/mux.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/

[PATCH 2/2] usb: typec: tcpm: remove tcpm dir if no children

2019-07-17 Thread jun . li
From: Li Jun If config tcpm as module, module unload will not remove tcpm dir, then the next module load will have problem: the rootdir is NULL but tcpm dir is still there, so tcpm_debugfs_init() will create tcpm dir again with failure, fix it by remove the tcpm dir if no children. Cc: sta...@vg

[PATCH 1/2] usb: typec: tcpm: free log buf memory when remove debug file

2019-07-17 Thread jun . li
From: Li Jun The logbuffer memory should be freed when remove debug file. Cc: sta...@vger.kernel.org # v4.15+ Fixes: 4b4e02c83167 ("typec: tcpm: Move out of staging") Signed-off-by: Li Jun --- drivers/usb/typec/tcpm/tcpm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/us

  1   2   3   >