Re: GPIO support for Silicon Labs cp210x USB serial

2015-07-24 Thread John D. Blair
Petr, We will be happy to test, code review, and otherwise contribute to your effort. We're using the cp2105 dual-uart device in our product. It has two logical serial ports and two sets of GPIOs so I think its a good test case. best, John. On Fri, 2015-07-24 at 13:08 +0200, Petr Tesařík wrote:

Re: GPIO support for Silicon Labs cp210x USB serial

2015-07-24 Thread Johan Hovold
On Fri, Jul 24, 2015 at 01:08:57PM +0200, Petr Tesařík wrote: > On Thu, 23 Jul 2015 14:59:32 -0700 > "John D. Blair" > wrote: > > > On Thu, 2015-07-23 at 18:00 +0200, Johan Hovold wrote: > > > The short answer is that we do not want custom driver ioctls. Any gpio > > > implementation needs to ba

Re: GPIO support for Silicon Labs cp210x USB serial

2015-07-24 Thread Petr Tesařík
On Thu, 23 Jul 2015 14:59:32 -0700 "John D. Blair" wrote: > On Thu, 2015-07-23 at 18:00 +0200, Johan Hovold wrote: > > The short answer is that we do not want custom driver ioctls. Any gpio > > implementation needs to based on gpiolib, which provides a > > standardised > > interface. > > > I und

Re: GPIO support for Silicon Labs cp210x USB serial

2015-07-23 Thread John D. Blair
On Thu, 2015-07-23 at 18:00 +0200, Johan Hovold wrote: > The short answer is that we do not want custom driver ioctls. Any gpio > implementation needs to based on gpiolib, which provides a > standardised > interface. > I understand. We will evaluate and decide if the work is worth it for us to do

Re: GPIO support for Silicon Labs cp210x USB serial

2015-07-23 Thread Johan Hovold
On Thu, Jul 23, 2015 at 08:39:41AM -0700, John D. Blair wrote: > Silicon Labs provides GPIOs on the CP210x USB serial hardware. Silicon > Labs also supplies a version of the cp210x driver which provides ioctl() > support allowing control of these GPIOs. > > Support of the ioctl() requires adding

Re: GPIO support for Silicon Labs cp210x USB serial

2015-07-23 Thread Greg KH
On Thu, Jul 23, 2015 at 08:39:41AM -0700, John D. Blair wrote: > Dear USB devs, > > I have a question regarding GPIO support for the Silicon Labs cp210x USB > serial driver. > > Silicon Labs provides GPIOs on the CP210x USB serial hardware. Silicon > Labs also supplies a version of the cp210x dri

GPIO support for Silicon Labs cp210x USB serial

2015-07-23 Thread John D. Blair
Dear USB devs, I have a question regarding GPIO support for the Silicon Labs cp210x USB serial driver. Silicon Labs provides GPIOs on the CP210x USB serial hardware. Silicon Labs also supplies a version of the cp210x driver which provides ioctl() support allowing control of these GPIOs. Support