Re: [PATCH] USB: serial: ftdi_sio: implement GPIO support for FT230X

From: Johan Hovold
Date: Wed Sep 05 2018 - 04:21:25 EST


On Tue, Sep 04, 2018 at 06:07:49PM +0000, Karoly Pados wrote:
> >>> + priv->gc.ngpio = 4;
> >>
> >> Shouldn't this be handled the other way round? IIRC there are two FTX
> >> device types with four pins, and one type where only one pin is
> >> accessible.
> >
> > There are 4 devices with 1 GPIO, 1 device with 2 GPIOs, 2 devices with 4 GPIOs,
> > and 1 device with 6 GPIOs. Source: http://www.ftdichip.com/FT-X.htm (2nd table)
> > Do you still want me turn this over?
> >
>
> Aaah, but those other devices are not UART bridges. I see what you mean now.
> The point for me when developing th original patch

The last sentence looks incomplete; did you hit send too soon or too
late? ;)

Johan