From patchwork Sat Oct 3 09:39:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilken Gottwalt X-Patchwork-Id: 11815161 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38ACC112C for ; Sat, 3 Oct 2020 09:40:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C6615206C9 for ; Sat, 3 Oct 2020 09:40:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="KxhsAobc"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="vpt+6ylJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725793AbgJCJkC (ORCPT ); Sat, 3 Oct 2020 05:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbgJCJkB (ORCPT ); Sat, 3 Oct 2020 05:40:01 -0400 Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [IPv6:2001:67c:2050::465:103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64272C0613D0; Sat, 3 Oct 2020 02:40:01 -0700 (PDT) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4C3MKC0VcKzKmXH; Sat, 3 Oct 2020 11:39:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received; s=mail20150812; t=1601717997; bh=rBxwB7GQD7 xMs4KvdLsiKe4ixDpCg+QsAthMDwNNmzg=; b=KxhsAobcUqt2nOaRc0h+eSIUEi EafCKVW8jtuAlobbAaeQvZQlOZRxvejxEi3vd4D9xq0QYUOzeGwtXrN9kOPntCUC wDmkNqcXUPCav7D3eNTlImV3K+8AsjVi0/JfHXfNliFH598JmYuiw2mEFRB5ejdj GeScEcwVRh8kuCSFoLt4Xh58+p6ny0EILvpImM4qUj85AiV2MdNNBEQpUMfOnQ9B LizhgMHzi2sMjgCpT/pRA2z4+865vVrkf1jz0MN+kO6YwvKidCGCYkfzGt/QbMB8 CWu9wzeNrKKon9WZbAfFArPX/zGt+1SHCcjpQOQPXjWU2c7ZnRQQfoWVSOaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1601717998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nQTM4S8lqJOdVBmjZRBxc7nIZEPkK4V4IZ7UNorSIMM=; b=vpt+6ylJIRhaqRjwMTfHjylVMihycO83mci3nswUmxunJCwkl4ZED2NEseHiRbodai4gi2 R9hI8I/IP50bEDpOYKlnyNySpeM7EbCFKzqi4NoUo2jIaSqLI95UdzbDDd+C+gdQfCIitO C1jzBOYWP7/2GWC73TTaVeLliYScPXoqQnwcj2Wi1dus3TopmnyfT5qhKsjxfvVwIBw6MW t+YWue/LXjJyweRpTmWUqiBUM7ccjdv7tgsUB4JTNQq167weYe7hOZctb80B9HEcGGRSdA uziBzuHrwSRgeUDlHUqG+UlRkMJF2Od2H/CMa6/3Wwuufa/wq86EdGnGMuFnbA== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id 46fwVTbI7Rnk; Sat, 3 Oct 2020 11:39:57 +0200 (CEST) Date: Sat, 3 Oct 2020 11:39:55 +0200 From: Wilken Gottwalt To: linux-kernel@vger.kernel.org Cc: =?iso-8859-1?q?Bj=F8rn?= Mork , "David S. Miller" , Jakub Kicinski , Johan Hovold , Greg Kroah-Hartman , netdev@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card Message-ID: <4688927cbf36fe0027340ea5e0c3aaf1445ba256.1601715478.git.wilken.gottwalt@mailbox.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-MBO-SPAM-Probability: X-Rspamd-Score: -3.53 / 15.00 / 15.00 X-Rspamd-Queue-Id: B5879108B X-Rspamd-UID: f41f0f Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add usb ids of the Cellient MPL200 card. Signed-off-by: Wilken Gottwalt --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 07c42c0719f5..0bf2b19d5d54 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1432,6 +1432,7 @@ static const struct usb_device_id products[] = { {QMI_GOBI_DEVICE(0x1199, 0x901b)}, /* Sierra Wireless MC7770 */ {QMI_GOBI_DEVICE(0x12d1, 0x14f1)}, /* Sony Gobi 3000 Composite */ {QMI_GOBI_DEVICE(0x1410, 0xa021)}, /* Foxconn Gobi 3000 Modem device (Novatel E396) */ + {QMI_FIXED_INTF(0x2692, 0x9025, 4)}, /* Cellient MPL200 (rebranded Qualcomm 0x05c6) */ { } /* END */ }; From patchwork Sat Oct 3 09:40:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilken Gottwalt X-Patchwork-Id: 11815163 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80488112C for ; Sat, 3 Oct 2020 09:40:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 60CA5206CA for ; Sat, 3 Oct 2020 09:40:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="Xsy7LSDJ"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="pj88J+gy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725831AbgJCJkh (ORCPT ); Sat, 3 Oct 2020 05:40:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725825AbgJCJkf (ORCPT ); Sat, 3 Oct 2020 05:40:35 -0400 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050::465:101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A0C2C0613D0; Sat, 3 Oct 2020 02:40:35 -0700 (PDT) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4C3MKs4vZjzKmwB; Sat, 3 Oct 2020 11:40:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received; s=mail20150812; t=1601718032; bh=F3zl6R34j8 XuyXiPkLvQN+72dc49XEvMfpEJa7+LlQc=; b=Xsy7LSDJp1fg3j2Gi5beilXDxh woGOBDoy+tUkZ85ntBWPzqtFs0rdGcuUm4Foc6+5b6ruaHVB12jrAJkg2DRxNXn0 RaawrG4qkJAn2JrNJZmgvYDpPtL4vqUwnjvUIBPorDag271wbtk5+Ftc+zdAQQL9 iF2GPlDprotkpoD2p5FWqUkGEKtXenLTfm8grMYRMUj/t/eavdpAnJ88xR2VLWRf 4NLjzr9v7ojf1k9QL2IO2tUpluUGnBA2HV+WAN/2FkfmWLKJIvr0ac5mXn+/2PAj 1Hs451ILON9FrteWbgh7hxc+jl75gWdCbgPsN9cJcPPZGC5Cdp2OG8QtQcXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1601718033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MsE9L155w97UxlzVBtMihNM3sUIgsGa6NaXfRjav7Go=; b=pj88J+gyiiywF921LXpOAjSlrJgdX+34UOlafVgHeEcVsp3MbEjZe7kkN/6HniSGEXfoqi QJW8D7/HT/IzH2MXl/sMtAvpGGRZgp/H/ruvfW3F/5lrTiU4+T49K2LT9yIAt0MGjbRD3h 5mvUSmn+dss8YkcGnrpGbgFfIjw2EdT09iuMboEc4eOaNYSndiukEJMR+S97iJOO2AOlbd Bpk3IwIP5zdIRnLZQEJI/iBc9mEIDreheVcmyxzNWx7biH0P+iRjPnOL4LwVmi7OxYlau5 y66hMUWg1RERPRtgh41jsGfl4x/mMOZTtC4e5ZBVOqh/ofkjyOq0lHFTEHOlVg== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id gBLEzyHU8Er3; Sat, 3 Oct 2020 11:40:32 +0200 (CEST) Date: Sat, 3 Oct 2020 11:40:29 +0200 From: Wilken Gottwalt To: linux-kernel@vger.kernel.org Cc: =?iso-8859-1?q?Bj=F8rn?= Mork , "David S. Miller" , Jakub Kicinski , Johan Hovold , Greg Kroah-Hartman , netdev@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card Message-ID: <3db5418fe9e516f4b290736c5a199c9796025e3c.1601715478.git.wilken.gottwalt@mailbox.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-MBO-SPAM-Probability: X-Rspamd-Score: -3.53 / 15.00 / 15.00 X-Rspamd-Queue-Id: 58DDE17DD X-Rspamd-UID: b12113 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add usb ids of the Cellient MPL200 card. Signed-off-by: Wilken Gottwalt --- drivers/usb/serial/option.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 0c6f160a214a..a65e620b2277 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -528,6 +528,7 @@ static void option_instat_callback(struct urb *urb); /* Cellient products */ #define CELLIENT_VENDOR_ID 0x2692 #define CELLIENT_PRODUCT_MEN200 0x9005 +#define CELLIENT_PRODUCT_MPL200 0x9025 /* Hyundai Petatel Inc. products */ #define PETATEL_VENDOR_ID 0x1ff4 @@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x02, 0x01) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x00, 0x00) }, { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) }, + { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200), + .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600A) }, { USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600E) }, { USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID, TPLINK_PRODUCT_LTE, 0xff, 0x00, 0x00) }, /* TP-Link LTE Module */