Re: cp2104 gpio support?

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

 



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?

-- 
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
--
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