Skip to content

Commit c1a1f27

Browse files
fabio-djhovold
authored andcommitted
USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
This device presents itself as a USB hub with three attached devices: - An ACM serial port connected to the GPS module (not affected by this commit) - An FTDI serial port connected to the GPS module (1546:0502) - Another FTDI serial port connected to the ODIN-W2 radio module (1546:0503) This commit registers U-Blox's VID and the PIDs of the second and third devices. Datasheet: https://www.u-blox.com/sites/default/files/C099-F9P-AppBoard-Mbed-OS3-FW_UserGuide_%28UBX-18063024%29.pdf Signed-off-by: Fabio D'Urso <fabiodurso@hotmail.it> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
1 parent f079709 commit c1a1f27

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

drivers/usb/serial/ftdi_sio.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,9 @@ static const struct usb_device_id id_table_combined[] = {
10331033
/* Sienna devices */
10341034
{ USB_DEVICE(FTDI_VID, FTDI_SIENNA_PID) },
10351035
{ USB_DEVICE(ECHELON_VID, ECHELON_U20_PID) },
1036+
/* U-Blox devices */
1037+
{ USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ZED_PID) },
1038+
{ USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ODIN_PID) },
10361039
{ } /* Terminating entry */
10371040
};
10381041

drivers/usb/serial/ftdi_sio_ids.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,3 +1558,10 @@
15581558
*/
15591559
#define UNJO_VID 0x22B7
15601560
#define UNJO_ISODEBUG_V1_PID 0x150D
1561+
1562+
/*
1563+
* U-Blox products (http://www.u-blox.com).
1564+
*/
1565+
#define UBLOX_VID 0x1546
1566+
#define UBLOX_C099F9P_ZED_PID 0x0502
1567+
#define UBLOX_C099F9P_ODIN_PID 0x0503

0 commit comments

Comments
 (0)