Re: cp2104 gpio support?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2014 at 09:46:16AM +0200, Benjamin Henrion wrote:
> On Tue, May 27, 2014 at 9:35 AM, Johan Hovold <jhovold@xxxxxxxxx> wrote:
> > [ +CC: linux-usb ]
> >
> > On Thu, May 15, 2014 at 01:31:04PM +0200, Benjamin Henrion wrote:
> >> Hi,
> >>
> >> I am using this patch for supporting cp2104 GPIOs:
> >>
> >> https://github.com/ondrej1024/crelay/blob/master/cp210x/kernel-3.10.y/cp210x.c.patch
> >>
> >> Any idea if you plan to integrate GPIO support in cp210x.c?
> >
> > Not with the interface of the patch you refer to (driver-specific ioctl)
> > at least.
> >
> > We have a generic gpio interface in the kernel which would have to be
> > used.
> >
> > A quick glance at the datasheet also reveals that the gpio pins are
> > only one-time configurable (default to inputs) when flashing the device
> > ROM. So I doubt it'd be worthwhile to try to implement generic support
> 
> That's a severe limitation. Do you know if it is the same case for
> FT232R or the new PL2303HX revD?

I have no idea, sorry.

But either way, no USB serial driver currently implements GPIO support
AFAIK.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux