Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-10 Thread Johan Hovold
On Sun, Aug 31, 2014 at 11:24:56PM +0800, Wang YanQing wrote: > PL2303 USB Serial devices may has GPIOs, this patch add > basic PL2303 gpio support. > > Known issue: > If gpios are in use(export to userspace through sysfs interface, etc), > then call pl2303_release(unplug usb-serial convertor, mod

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-09 Thread Wang YanQing
On Tue, Sep 09, 2014 at 04:02:04PM +0200, Johan Hovold wrote: > On Tue, Sep 09, 2014 at 12:43:56PM +0200, Johan Hovold wrote: > > On Tue, Sep 09, 2014 at 06:21:31PM +0800, Wang YanQing wrote: > > > On Tue, Sep 09, 2014 at 12:08:56PM +0200, Johan Hovold wrote: > > > > On Fri, Sep 05, 2014 at 09:30:1

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-09 Thread Wang YanQing
On Tue, Sep 09, 2014 at 04:02:04PM +0200, Johan Hovold wrote: > On Tue, Sep 09, 2014 at 12:43:56PM +0200, Johan Hovold wrote: > > On Tue, Sep 09, 2014 at 06:21:31PM +0800, Wang YanQing wrote: > > > On Tue, Sep 09, 2014 at 12:08:56PM +0200, Johan Hovold wrote: > > > > On Fri, Sep 05, 2014 at 09:30:1

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-09 Thread Johan Hovold
On Tue, Sep 09, 2014 at 12:43:56PM +0200, Johan Hovold wrote: > On Tue, Sep 09, 2014 at 06:21:31PM +0800, Wang YanQing wrote: > > On Tue, Sep 09, 2014 at 12:08:56PM +0200, Johan Hovold wrote: > > > On Fri, Sep 05, 2014 at 09:30:11AM +0800, Wang YanQing wrote: > > > > On Thu, Sep 04, 2014 at 06:44:3

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-09 Thread Johan Hovold
On Tue, Sep 09, 2014 at 06:21:31PM +0800, Wang YanQing wrote: > On Tue, Sep 09, 2014 at 12:08:56PM +0200, Johan Hovold wrote: > > On Fri, Sep 05, 2014 at 09:30:11AM +0800, Wang YanQing wrote: > > > On Thu, Sep 04, 2014 at 06:44:31PM +0200, Benjamin Henrion wrote: > > > > On Thu, Sep 4, 2014 at 6:14

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-09 Thread Wang YanQing
On Tue, Sep 09, 2014 at 12:08:56PM +0200, Johan Hovold wrote: > On Fri, Sep 05, 2014 at 09:30:11AM +0800, Wang YanQing wrote: > > On Thu, Sep 04, 2014 at 06:44:31PM +0200, Benjamin Henrion wrote: > > > On Thu, Sep 4, 2014 at 6:14 PM, Benjamin Henrion wrote: > > > > I have subscribed to the lkml. >

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-09 Thread Johan Hovold
On Fri, Sep 05, 2014 at 09:30:11AM +0800, Wang YanQing wrote: > On Thu, Sep 04, 2014 at 06:44:31PM +0200, Benjamin Henrion wrote: > > On Thu, Sep 4, 2014 at 6:14 PM, Benjamin Henrion wrote: > > > I have subscribed to the lkml. > > > > > > Can you make me a favour, send me your email as you posted

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-05 Thread Linus Walleij
On Thu, Sep 4, 2014 at 11:57 PM, Benjamin Henrion wrote: > On Thu, Sep 4, 2014 at 7:35 PM, Wang YanQing wrote: >> On Sun, Aug 31, 2014 at 11:24:56PM +0800, Wang YanQing wrote: >>> PL2303 USB Serial devices may has GPIOs, this patch add >>> basic PL2303 gpio support. >>> >>> Known issue: >>> If gp

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-04 Thread Wang YanQing
On Thu, Sep 04, 2014 at 06:44:31PM +0200, Benjamin Henrion wrote: > On Thu, Sep 4, 2014 at 6:14 PM, Benjamin Henrion wrote: > > I have subscribed to the lkml. > > > > Can you make me a favour, send me your email as you posted on the LKML > > in mbox format attached to an email? > > > > I am trying

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-04 Thread Benjamin Henrion
On Thu, Sep 4, 2014 at 7:35 PM, Wang YanQing wrote: > On Sun, Aug 31, 2014 at 11:24:56PM +0800, Wang YanQing wrote: >> PL2303 USB Serial devices may has GPIOs, this patch add >> basic PL2303 gpio support. >> >> Known issue: >> If gpios are in use(export to userspace through sysfs interface, etc),

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-04 Thread Wang YanQing
On Sun, Aug 31, 2014 at 11:24:56PM +0800, Wang YanQing wrote: > PL2303 USB Serial devices may has GPIOs, this patch add > basic PL2303 gpio support. > > Known issue: > If gpios are in use(export to userspace through sysfs interface, etc), > then call pl2303_release(unplug usb-serial convertor, mod

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-04 Thread Linus Walleij
On Sun, Aug 31, 2014 at 5:24 PM, Wang YanQing wrote: > PL2303 USB Serial devices may has GPIOs, this patch add > basic PL2303 gpio support. > > Known issue: > If gpios are in use(export to userspace through sysfs interface, etc), > then call pl2303_release(unplug usb-serial convertor, modprobe -r

[PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-08-31 Thread Wang YanQing
PL2303 USB Serial devices may has GPIOs, this patch add basic PL2303 gpio support. Known issue: If gpios are in use(export to userspace through sysfs interface, etc), then call pl2303_release(unplug usb-serial convertor, modprobe -r, etc), will cause trouble, so we need to make sure there is no gp