RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-12 Thread Jun Li
richtek.com; cy_hu...@richtek.com; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH v7] staging: typec: handle vendor defined part and modify > drp toggling flow > > Hi Jun, > > 2018-03-12 13:58 GMT+08:00 Jun Li <jun...@nxp.com>: > >

RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-12 Thread Jun Li
l@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH v7] staging: typec: handle vendor defined part and modify > drp toggling flow > > Hi Jun, > > 2018-03-12 13:58 GMT+08:00 Jun Li : > > Hi > >> -Original Message- > >> From: 李書帆 [mailt

Re: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-12 Thread 李書帆
t;; >> heikki.kroge...@linux.intel.com; li...@roeck-us.net; g...@kroah.com; >> shufan_...@richtek.com; cy_hu...@richtek.com; >> linux-kernel@vger.kernel.org; linux-...@vger.kernel.org >> Subject: Re: [PATCH v7] staging: typec: handle vendor defined part and modify >> dr

Re: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-12 Thread 李書帆
h.com; >> shufan_...@richtek.com; cy_hu...@richtek.com; >> linux-kernel@vger.kernel.org; linux-...@vger.kernel.org >> Subject: Re: [PATCH v7] staging: typec: handle vendor defined part and modify >> drp toggling flow >> >> Hi Jun, >> >> Thank you. >&

RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-11 Thread Jun Li
gt; shufan_...@richtek.com; cy_hu...@richtek.com; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH v7] staging: typec: handle vendor defined part and modify > drp toggling flow > > Hi Jun, > > Thank you. > > 2018-03-12 12:33 GMT+08:00 Jun Li <j

RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-11 Thread Jun Li
l@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH v7] staging: typec: handle vendor defined part and modify > drp toggling flow > > Hi Jun, > > Thank you. > > 2018-03-12 12:33 GMT+08:00 Jun Li : > > Hi, > > > >> +static irqreturn

Re: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-11 Thread 李書帆
Hi Jun, Thank you. 2018-03-12 12:33 GMT+08:00 Jun Li : > Hi, > >> +static irqreturn_t _tcpci_irq(int irq, void *dev_id) { >> + struct tcpci *tcpci = dev_id; >> + >> + return tcpci_irq(tcpci); >> +} >> > ... > >> + err = devm_request_threaded_irq(>dev, client->irq,

Re: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-11 Thread 李書帆
Hi Jun, Thank you. 2018-03-12 12:33 GMT+08:00 Jun Li : > Hi, > >> +static irqreturn_t _tcpci_irq(int irq, void *dev_id) { >> + struct tcpci *tcpci = dev_id; >> + >> + return tcpci_irq(tcpci); >> +} >> > ... > >> + err = devm_request_threaded_irq(>dev, client->irq, NULL, >> +

RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-11 Thread Jun Li
Hi, > +static irqreturn_t _tcpci_irq(int irq, void *dev_id) { > + struct tcpci *tcpci = dev_id; > + > + return tcpci_irq(tcpci); > +} > ... > + err = devm_request_threaded_irq(>dev, client->irq, NULL, > + _tcpci_irq, >

RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-11 Thread Jun Li
Hi, > +static irqreturn_t _tcpci_irq(int irq, void *dev_id) { > + struct tcpci *tcpci = dev_id; > + > + return tcpci_irq(tcpci); > +} > ... > + err = devm_request_threaded_irq(>dev, client->irq, NULL, > + _tcpci_irq, >

Re: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-09 Thread Guenter Roeck
On Tue, Mar 06, 2018 at 09:50:32AM +0800, ShuFan Lee wrote: > From: ShuFan Lee > > Handle vendor defined behavior in tcpci_init, tcpci_set_vconn, > tcpci_start_drp_toggling > and export tcpci_irq. More operations can be extended in tcpci_data if needed. > According to

Re: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-09 Thread Guenter Roeck
On Tue, Mar 06, 2018 at 09:50:32AM +0800, ShuFan Lee wrote: > From: ShuFan Lee > > Handle vendor defined behavior in tcpci_init, tcpci_set_vconn, > tcpci_start_drp_toggling > and export tcpci_irq. More operations can be extended in tcpci_data if needed. > According to TCPCI specification,