2021-04-22 08:01:48

by Juergen Borleis

[permalink] [raw]
Subject: [PATCH] USB: serial: ftdi_sio: add IDs for IDS GmbH Products

From: Dominik Andreas Schorpp <[email protected]>

Add the IDS GmbH Vendor ID and the Product IDs for SI31A (2xRS232)
and CM31A (LoRaWAN Modem).

Signed-off-by: Dominik Andreas Schorpp <[email protected]>
Signed-off-by: Juergen Borleis <[email protected]>
---
drivers/usb/serial/ftdi_sio.c | 3 +++
drivers/usb/serial/ftdi_sio_ids.h | 7 +++++++
2 files changed, 10 insertions(+)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index c867592..5a725ff 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1034,6 +1034,9 @@ static const struct usb_device_id id_table_combined[] = {
/* Sienna devices */
{ USB_DEVICE(FTDI_VID, FTDI_SIENNA_PID) },
{ USB_DEVICE(ECHELON_VID, ECHELON_U20_PID) },
+ /* IDS GmbH devices */
+ { USB_DEVICE(IDS_VID, IDS_SI31A_PID) },
+ { USB_DEVICE(IDS_VID, IDS_CM31A_PID) },
/* U-Blox devices */
{ USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ZED_PID) },
{ USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ODIN_PID) },
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
index 3d47c6d..d854e04 100644
--- a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/drivers/usb/serial/ftdi_sio_ids.h
@@ -1567,6 +1567,13 @@
#define UNJO_VID 0x22B7
#define UNJO_ISODEBUG_V1_PID 0x150D

+/*
+ * IDS GmbH
+ */
+#define IDS_VID 0x2CAF
+#define IDS_SI31A_PID 0x13A2
+#define IDS_CM31A_PID 0x13A3
+
/*
* U-Blox products (http://www.u-blox.com).
*/
--
2.20.1


2021-05-10 09:03:33

by Johan Hovold

[permalink] [raw]
Subject: Re: [PATCH] USB: serial: ftdi_sio: add IDs for IDS GmbH Products

On Thu, Apr 22, 2021 at 09:58:52AM +0200, Juergen Borleis wrote:
> From: Dominik Andreas Schorpp <[email protected]>
>
> Add the IDS GmbH Vendor ID and the Product IDs for SI31A (2xRS232)
> and CM31A (LoRaWAN Modem).
>
> Signed-off-by: Dominik Andreas Schorpp <[email protected]>
> Signed-off-by: Juergen Borleis <[email protected]>

Applied, thanks.

Johan