[PATCH] USB: serial: ftdi_sio: add support for FT232H CBUS gpios

2019-08-08 Thread Matthew Michilot
: Tim Harvey Signed-off-by: Matthew Michilot --- drivers/usb/serial/ftdi_sio.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 4b3a049561f3..c8d35faa8f61 100644 --- a/drivers/usb/serial

[PATCH v2] USB: serial: ftdi_sio: add support for FT232H CBUS gpios

2019-08-15 Thread Matthew Michilot
-by: Matthew Michilot Reviewed-by: Tim Harvey --- V2: - made hex notation all lowercase for consistency - allocated 4 bytes instead of 2 bytes for buffer - improved documentation on FT232H CBUS memory mapping - fixed CBUS pins being incorrectly mapped to the wrong gpios - sorted case labels