Re: cp2104 gpio support?

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

 



[ +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
in the mainline driver.

> I have an adaptor here, I have not deeply tested it yet though, but it
> basically works for me for the moment.
> 
> Best regards,
> 
> PS: I have seen many commits from you, I don't know who is maintaining
> that file in the kernel:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/drivers/usb/serial/cp210x.c

I'm the USB serial maintainer, so that'd be me.

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