Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452079 > unrolled thread

[PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for WICED USB UART dev board

Started by"Sheng-Hui J. Chu" <s.jeffrey.chu@gmail.com>
First post2016-07-28 22:10 +0200
Last post2016-07-28 22:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for WICED USB UART dev board "Sheng-Hui J. Chu" <s.jeffrey.chu@gmail.com> - 2016-07-28 22:10 +0200
    Re: [PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for  WICED USB UART dev board Greg KH <gregkh@linuxfoundation.org> - 2016-07-28 22:40 +0200

#1452079 — [PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for WICED USB UART dev board

From"Sheng-Hui J. Chu" <s.jeffrey.chu@gmail.com>
Date2016-07-28 22:10 +0200
Subject[PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for WICED USB UART dev board
Message-ID<rZZMZ-2Fu-3@gated-at.bofh.it>
BCM20706V2_EVAL is a WICED dev board designed with FT2232H USB 2.0 UART/FIFO
IC.

To support BCM920706V2_EVAL dev board for WICED development on Linux.  Add
the VID(0a5c) and 
PID(6422) to ftdi_sio driver to allow loading ftdi_sio for this board.

Signed-off-by: Sheng-Hui J. Chu <s.jeffrey.chu@gmail.com>
---
 drivers/usb/serial/ftdi_sio.c	   | 1 +
 drivers/usb/serial/ftdi_sio_ids.h | 6 ++++++++
 2 files changed, 7 insertions(+)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 0082080..ef19af4 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1008,6 +1008,7 @@ static const struct usb_device_id id_table_combined[]
= {
	{ USB_DEVICE(ICPDAS_VID, ICPDAS_I7560U_PID) },
	{ USB_DEVICE(ICPDAS_VID, ICPDAS_I7561U_PID) },
	{ USB_DEVICE(ICPDAS_VID, ICPDAS_I7563U_PID) },
+	{ USB_DEVICE(WICED_USB_VID, WICED_USB20706V2_PID) },
	{ }					/* Terminating entry */
 };
 
diff --git a/drivers/usb/serial/ftdi_sio_ids.h
b/drivers/usb/serial/ftdi_sio_ids.h
index c5d6c1e..b29f280 100644
--- a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/drivers/usb/serial/ftdi_sio_ids.h
@@ -1485,3 +1485,11 @@
 #define CHETCO_SEASMART_DISPLAY_PID	0xA5AD /* SeaSmart NMEA2000 Display
*/
 #define CHETCO_SEASMART_LITE_PID	0xA5AE /* SeaSmart Lite USB Adapter
*/
 #define CHETCO_SEASMART_ANALOG_PID	0xA5AF /* SeaSmart Analog Adapter */
+
+/*
+ * WICED USB UART
+ */
+#define WICED_USB_VID		0x0A5C
+#define WICED_USB20706V2_PID	0x6422
-- 
2.1.4

[toc] | [next] | [standalone]


#1452096 — Re: [PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for WICED USB UART dev board

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-07-28 22:40 +0200
SubjectRe: [PATCH v4] usb: serial: ftdi_sio Added 0a5c:6422 device ID for WICED USB UART dev board
Message-ID<s00g2-2RB-11@gated-at.bofh.it>
In reply to#1452079
On Thu, Jul 28, 2016 at 04:05:40PM -0400, Sheng-Hui J. Chu wrote:
> BCM20706V2_EVAL is a WICED dev board designed with FT2232H USB 2.0 UART/FIFO
> IC.
> 
> To support BCM920706V2_EVAL dev board for WICED development on Linux.  Add
> the VID(0a5c) and 
> PID(6422) to ftdi_sio driver to allow loading ftdi_sio for this board.
> 
> Signed-off-by: Sheng-Hui J. Chu <s.jeffrey.chu@gmail.com>
> ---
>  drivers/usb/serial/ftdi_sio.c	   | 1 +
>  drivers/usb/serial/ftdi_sio_ids.h | 6 ++++++++
>  2 files changed, 7 insertions(+)
> 
> diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
> index 0082080..ef19af4 100644
> --- a/drivers/usb/serial/ftdi_sio.c
> +++ b/drivers/usb/serial/ftdi_sio.c
> @@ -1008,6 +1008,7 @@ static const struct usb_device_id id_table_combined[]
> = {
> 	{ USB_DEVICE(ICPDAS_VID, ICPDAS_I7560U_PID) },
> 	{ USB_DEVICE(ICPDAS_VID, ICPDAS_I7561U_PID) },
> 	{ USB_DEVICE(ICPDAS_VID, ICPDAS_I7563U_PID) },
> +	{ USB_DEVICE(WICED_USB_VID, WICED_USB20706V2_PID) },
> 	{ }					/* Terminating entry */
>  };
>  
> diff --git a/drivers/usb/serial/ftdi_sio_ids.h
> b/drivers/usb/serial/ftdi_sio_ids.h
> index c5d6c1e..b29f280 100644
> --- a/drivers/usb/serial/ftdi_sio_ids.h
> +++ b/drivers/usb/serial/ftdi_sio_ids.h
> @@ -1485,3 +1485,11 @@
>  #define CHETCO_SEASMART_DISPLAY_PID	0xA5AD /* SeaSmart NMEA2000 Display
> */
>  #define CHETCO_SEASMART_LITE_PID	0xA5AE /* SeaSmart Lite USB Adapter
> */

Ah, so close!

You have the whitespace issues fixed, but your patch is now line-wrapped :(

5th try?

thanks,

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web