From patchwork Sat Jun 23 21:24:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksander Morgado X-Patchwork-Id: 10483913 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7CD67601C8 for ; Sat, 23 Jun 2018 21:24:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F9A81FF62 for ; Sat, 23 Jun 2018 21:24:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 609A128A1F; Sat, 23 Jun 2018 21:24:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F23511FF62 for ; Sat, 23 Jun 2018 21:24:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751596AbeFWVYY (ORCPT ); Sat, 23 Jun 2018 17:24:24 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43384 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751487AbeFWVYX (ORCPT ); Sat, 23 Jun 2018 17:24:23 -0400 Received: by mail-wr0-f194.google.com with SMTP id p14-v6so1076209wrq.10 for ; Sat, 23 Jun 2018 14:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aleksander-es.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=U2Cs/QR6IW8CsTnkq8LKtc7EZJiU7ZmwiXn+CH43Tw8=; b=OZzJibtsXxpDs1HoyZ9+jeMeI5wFS6Ynj7xzEW/gcuw78H6NBQNLybkpXnIEhEXqiV XbWXDzkE3i1MYyXxC9xNEQ7atUskFRvtvYMD6uPSPuQ3wHjvDOk7TiQh0a0tEMXb291Z N0Dxud1JZlj00Q4Q8tfMWd63eDMB6rLWGK8xY3L8aleAlEEx6DN60yOYdi+eP/ILreCV rUCoyvDNZ+9aw1p7pY3vCQdwGN+NYlzC5vRi9S7eD6KnEup25IQ3fMNKEbkhCZGkU6sc fLL+Ka9FgzD7m4ykA7q4WVAILfVhut38s8GQxcwlfM2/pJL34raGRcmYX0KEKaer6avF wR/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=U2Cs/QR6IW8CsTnkq8LKtc7EZJiU7ZmwiXn+CH43Tw8=; b=jdRaTW5462KtMUNkPor+VBGMC9Wkwm9S4Q4zLpgfanU7qEmSrLo8TVoRyorKsbiQ1L 4Optpuf71ne9UK1h6BH49ZcznTUz8M19Q+Rwa4Hod+XCaQ58y9yPSTh005VF/F2aiIsr jregwS7pTLsVvoszlCaR37oN0WzXky6NjPsRGajtzZvZmXb5m4mCc06pGx0AO3QvVG5P 9xuX3+MZuqd5xmRal2VYVWS8EFUvGDXPn7y+JJUcktHcqzrHymqQu5HDj37grGGZbrE3 AlD3SBFyOweL5gIPH5uGFG5/nX5vm3OcK3Dl+rOGy32eap5VKDbgexHP6tY080bzJeYu AsMA== X-Gm-Message-State: APt69E2JHeJOTOeTdUrLQkwg2Jz5o6PP7zvFxrL3f1ObgOIcVmV7EF1J xGP+ddHbbjObManAe9CJXbJJ6A== X-Google-Smtp-Source: AAOMgpdISj4KFnNrfTBgdNOr0QAXCYPIAMd9DfMqKHL2VBXR6sFMdBCg3tpAZjPQRs4eddgVz2730A== X-Received: by 2002:adf:93c6:: with SMTP id 64-v6mr5459136wrp.119.1529789062694; Sat, 23 Jun 2018 14:24:22 -0700 (PDT) Received: from ares.lan (71.red-83-38-21.dynamicip.rima-tde.net. [83.38.21.71]) by smtp.gmail.com with ESMTPSA id w13-v6sm6153873wrl.20.2018.06.23.14.24.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 14:24:22 -0700 (PDT) From: Aleksander Morgado To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, Aleksander Morgado Subject: [PATCH] usb: serial: qcserial: add support for the Dell DW5821e module Date: Sat, 23 Jun 2018 23:24:08 +0200 Message-Id: <20180623212408.15221-1-aleksander@aleksander.es> X-Mailer: git-send-email 2.17.1 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This module exposes two USB configurations: a QMI+AT capable setup on USB config #1 and a MBIM capable setup on USB config #2. By default the kernel will choose the MBIM capable configuration as long as the cdc_mbim driver is available. This patch adds support for the serial ports in the secondary configuration. Signed-off-by: Aleksander Morgado --- drivers/usb/serial/qcserial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c index 613f91add03d..ed109c86e747 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c @@ -177,6 +177,7 @@ static const struct usb_device_id id_table[] = { {DEVICE_SWI(0x413c, 0x81d0)}, /* Dell Wireless 5819 */ {DEVICE_SWI(0x413c, 0x81d1)}, /* Dell Wireless 5818 */ {DEVICE_SWI(0x413c, 0x81d2)}, /* Dell Wireless 5818 */ + {DEVICE_SWI(0x413c, 0x81d7)}, /* Dell Wireless 5821e */ /* Huawei devices */ {DEVICE_HWI(0x03f0, 0x581d)}, /* HP lt4112 LTE/HSPA+ Gobi 4G Modem (Huawei me906e) */