USB: ftdi_sio: enable two UART ports on ST Microconnect Lite
authorAdrian Thomasset <adrian.thomasset@st.com>
Wed, 24 Apr 2013 10:37:35 +0000 (11:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 13:44:26 +0000 (06:44 -0700)
commit5dc179c6c808df1e7fd86a6472064af824fc9d58
tree6dcc65689c639b0d22641c185e39b282d39e883b
parentcebd154bd43fee9cc7f1a20757119c5be2a99043
USB: ftdi_sio: enable two UART ports on ST Microconnect Lite

commit 71d9a2b95fc9c9474d46d764336efd7a5a805555 upstream.

The FT4232H used in the ST Micro Connect Lite has four hi-speed UART ports.
The first two ports are reserved for the JTAG interface.

We enable by default ports 2 and 3 as UARTs (where port 2 is a
conventional RS-232 UART)

Signed-off-by: Adrian Thomasset <adrian.thomasset@st.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c