diff mbox series

USB: serial: ftdi_sio: add IDs for IDS GmbH Products

Message ID 20210422075852.9351-1-jbe@pengutronix.de
State New
Headers show
Series USB: serial: ftdi_sio: add IDs for IDS GmbH Products | expand

Commit Message

Juergen Borleis April 22, 2021, 7:58 a.m. UTC
From: Dominik Andreas Schorpp <dominik.a.schorpp@ids.de>

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

Signed-off-by: Dominik Andreas Schorpp <dominik.a.schorpp@ids.de>
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 drivers/usb/serial/ftdi_sio.c     | 3 +++
 drivers/usb/serial/ftdi_sio_ids.h | 7 +++++++
 2 files changed, 10 insertions(+)

Comments

Johan Hovold May 10, 2021, 9:01 a.m. UTC | #1
On Thu, Apr 22, 2021 at 09:58:52AM +0200, Juergen Borleis wrote:
> From: Dominik Andreas Schorpp <dominik.a.schorpp@ids.de>

> 

> Add the IDS GmbH Vendor ID and the Product IDs for SI31A (2xRS232)

> and CM31A (LoRaWAN Modem).

> 

> Signed-off-by: Dominik Andreas Schorpp <dominik.a.schorpp@ids.de>

> Signed-off-by: Juergen Borleis <jbe@pengutronix.de>


Applied, thanks.

Johan
diff mbox series

Patch

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).
  */