]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
authorFabio D'Urso <fabiodurso@hotmail.it>
Thu, 14 Nov 2019 01:30:53 +0000 (01:30 +0000)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:43 +0000 (14:21 -0300)
BugLink: https://bugs.launchpad.net/bugs/1855787
commit c1a1f273d0825774c80896b8deb1c9ea1d0b91e3 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio_ids.h

index 02bb6841d15bfda106589c304954e61117c31328..d076e16178942911ddf392ac78852cee2d6cb125 100644 (file)
@@ -1024,6 +1024,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) },
+       /* U-Blox devices */
+       { USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ZED_PID) },
+       { USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ODIN_PID) },
        { }                                     /* Terminating entry */
 };
 
index 22d66217cb412b99689ecc18f517066433fc337b..e8373528264c3634a9e474f2836a82d2b5b8b7a5 100644 (file)
  */
 #define UNJO_VID                       0x22B7
 #define UNJO_ISODEBUG_V1_PID           0x150D
+
+/*
+ * U-Blox products (http://www.u-blox.com).
+ */
+#define UBLOX_VID                      0x1546
+#define UBLOX_C099F9P_ZED_PID          0x0502
+#define UBLOX_C099F9P_ODIN_PID         0x0503