[OpenWrt-Devel] [PATCH] [kernel] cp201x: Add GPIO ioctl commands (from Silicon Labs)
thess at kitschensync.net
Mon Aug 3 14:17:34 EDT 2015
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...
(I think I may have to re-submit this without the gratuitous word-wrapping too)
From: Felix Fietkau
Sent: Monday, August 03, 2015 2:08 PM
To: Ted Hess ; OpenWrt developers
Subject: Re: [OpenWrt-Devel] [PATCH] [kernel] cp201x: Add GPIO ioctl commands (from Silicon Labs)
On 2015-08-03 19:55, Ted Hess wrote:
> Silicon Labs driver has ioctl support on devices which have GPIO pins. The
> in the kernel repo does not have this feature.
> Signed-off-by: Ted Hess <thess at kitschensync.net>
Wouldn't it make more sense to expose this as a GPIO controller instead
of a driver specific ioctl interface?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel