Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp758940ybl; Wed, 4 Dec 2019 10:22:13 -0800 (PST) X-Google-Smtp-Source: APXvYqx0WbJpmmxMEtf3KLuhd0is3jeOY9NsANVGZv6wN2dCBnHI1PkdbJ2gb+QG2gocvqOnz79N X-Received: by 2002:a54:4f8a:: with SMTP id g10mr2708683oiy.127.1575483733539; Wed, 04 Dec 2019 10:22:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575483733; cv=none; d=google.com; s=arc-20160816; b=MTBxpS8YJf1WJEltzs9FJ0HCOVq8T5kH29Z2fPpqLh5jtn32CHvk6JuWIavM0q14j8 cEXyHkuyYnxi6G+/8VumlX00PlwfK//8lqEkukYsF1b8HsSchPnIL+V/av4Ez3WvPGRK 5b1q2MI8o3IRsgxI1rD/keXOVkWDux1nI/4MVHod6HjxFGPWR2eo/EmPYLGMBO37cbSM QZGnYV3Nzmn7K1jY1MfTl6U5ZBSavqAnXGRXgd+nrrMj8L6mWu/aUdPx8c549Qqeo3Bd QMNeCUzXV6WZ8rHs7fcFhaM3GJCJw4EbycBQW6+i2j2X8A6Mck+mi8elbvd2mCyylQGX jAsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=A2j52Eipw5tH3/FZx1yEX1BfPqAJWVxdP4Tb8ui+yHs=; b=FjpYPvnadmxrqX0rxmw5Qfcp109VeZ+tXAK/dAJXNvNQECdGXIbOe0I4nnXGgsI/L5 abcVrMAe6soJoBzGiv8gOxyaQI5dezKSZRnDbNrte/S/2ptGH5dDW25dD8H8RxaX7KYN Z9+lVGaT1i6pzDjCqO0uE2jBDitBALegyYEjASM5+RBk8CVoDms8XkpIZJHuR/zjJ5X2 wWz7ef/6VYPNhodXpAJh7St5PH00I+ypS6XAChmHSPO4rc/lpEnuXdhLuz1LcCmyDkto 4JbQxhIexpSepqEP8nBp2ZKMpLtRZaUvVXSWQa2r5XtQ6a07C3U4HV7wzNNjPVj/pLUi eByA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1VTi44t5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t185si2547620oib.39.2019.12.04.10.22.00; Wed, 04 Dec 2019 10:22:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1VTi44t5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731343AbfLDSUz (ORCPT + 99 others); Wed, 4 Dec 2019 13:20:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:57752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728812AbfLDSHf (ORCPT ); Wed, 4 Dec 2019 13:07:35 -0500 Received: from localhost (unknown [217.68.49.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 14F5520674; Wed, 4 Dec 2019 18:07:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575482854; bh=xN/rKSd6vn+vMQ3g11/LLfqRX9ym0pzwVRcA2VE9quI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1VTi44t5NP+h9ep1GPkjNFNuvbqvFrq6RAnYTqM5pmNBN6tUzdRTXCvcDti7NKSAW 9Zn0acWDlKm6sxpYAKliz6wBpBEkqKBydEWI677xxIpRavbHcCeNtLWNP32BXkTI7h xusFqGTkfKafmpmxb4FMIqQ7fct6XU6EYpUR3hfE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Fabio DUrso , Johan Hovold Subject: [PATCH 4.14 161/209] USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P Date: Wed, 4 Dec 2019 18:56:13 +0100 Message-Id: <20191204175334.567296991@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204175321.609072813@linuxfoundation.org> References: <20191204175321.609072813@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio D'Urso 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 Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ftdi_sio.c | 3 +++ drivers/usb/serial/ftdi_sio_ids.h | 7 +++++++ 2 files changed, 10 insertions(+) --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -1028,6 +1028,9 @@ static const struct usb_device_id id_tab /* 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 */ }; --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h @@ -1558,3 +1558,10 @@ */ #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