[OpenWrt-Devel] [PATCH] [kernel] cp201x: Add GPIO ioctl commands (from Silicon Labs)
Ted Hess
thess at kitschensync.net
Mon Aug 3 15:27:14 EDT 2015
After a bit more research - This is what I know:
The upstream cp210x driver is not completely up-to-date with the driver silabs maintains on
their site. In their own words: "... unfortunately GPIO is not something that has been
committed to the Linux kernel yet for community maintenance. We leave the drivers on our
website, even though they are a bit behind the curve of the maintained kernels, to
demonstrate how to do this quickly using an ioctl() call."
I also noted that the patch I submitted is not up-to-date with their latest devices which are
supported in their driver - whoops.
I could try to submit this upstream even if it was snatched from their driver. Is this OK?
There is a small relay controller package (crelay) that I am going to submit to the packages
repo it this patch gets accepted. It uses the cp210x ioctl interface.
I will also submit this patch again here with the correct format and all the latest fixes from
the old Silicon Labs driver.
/ted
-----Original Message-----
From: Felix Fietkau
Sent: Monday, August 03, 2015 2:33 PM
To: Ted Hess ; OpenWrt developers
Subject: Re: [OpenWrt-Devel] [PATCH] [kernel] cp201x: Add GPIO ioctl commands (from Silicon Labs)
On 2015-08-03 20:17, Ted Hess wrote:
> It would probably make sense to do it that way however, there are apps which already use the ioctl interface on this device and
> this
> code came directly from the the manufacturer's linux driver.
>
> I'm not sure how to add general GPIO support for a specific USB device? Things to research...
Did the manufacturer submit this upstream already, or is somebody else
(maybe you) going to do so?
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list