Re: [PATCH] USB: ftdi_sio: add GPIO support

From: Philipp Hachtmann
Date: Mon Jun 16 2014 - 03:16:06 EST


Hi,

Would this patch interfere with adding support for using the CBUS pins
as GPIOs while operating in normal UART mode?

Most interesting question!

Care was taken to prevent using GPIOs if the serial device is in use
and vice versa.

What about CBUS GPIO support?

Ok, so we're not extending the serial driver with support for
controlling some unused pins (e.g. CBUS) but rather implementing support
for a mutually exclusive mode.
For bitbang mode (on the data lines) - yes. But for bitbang on CBUS - no.


I have sent a proposal a few weeks ago but Greg did not like special sysfs stuff :-P
He asked me to use the GPIO subsystem for the CBUS pins. I am out of time until july. But I still want and need CBUS support in parallel with serial/FIFO operation.


Regards

Philipp
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/