Re: [PATCH] USB: serial: ftdi_sio: implement GPIO support for FT230X
From: Karoly Pados
Date: Tue Sep 04 2018 - 14:07:55 EST
>>> + 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