From patchwork Thu Nov 7 10:57:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksander Morgado X-Patchwork-Id: 11232603 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 39499139A for ; Thu, 7 Nov 2019 10:57:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0245C214D8 for ; Thu, 7 Nov 2019 10:57:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=aleksander-es.20150623.gappssmtp.com header.i=@aleksander-es.20150623.gappssmtp.com header.b="Q/BbFhiH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387611AbfKGK5Q (ORCPT ); Thu, 7 Nov 2019 05:57:16 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:36903 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727707AbfKGK5Q (ORCPT ); Thu, 7 Nov 2019 05:57:16 -0500 Received: by mail-lj1-f195.google.com with SMTP id l20so1753305lje.4 for ; Thu, 07 Nov 2019 02:57:15 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=k8OJfKDxG/XoNC2pbiUD5PT0YIFy3ifLKQUf4E98DHk=; b=Q/BbFhiHYDsrSiia+mXvjQj+0lqZuwANP6IRs4HUATjuvjQ/ghVdWKqetbHEXM3BM7 vc8kBeWdze0Pl5eOXCaHjpbA5AHKysV5ptgTYCcPkxoDecVt8jX3KJhSfHM9maLa52y2 BHe2n2hODSUjcN6rTYXS0oBi8z0HqJl8xGbKAWctHxNeOO4CJ5ag/FPmAgbhU3+hhsAD 78dyDiRLZGr+UNITZKqI0KKrda184AumB0YQTMHuUhp+j7elJsxv2lWBQ9wV1mgyvNkI +y7pZlEOdyTH6DfA7WpZZN9EuvSJ3N4yiseheogzC5Jls3kgVnPgJIsHvef382nDaH3b GFsA== 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:mime-version :content-transfer-encoding; bh=k8OJfKDxG/XoNC2pbiUD5PT0YIFy3ifLKQUf4E98DHk=; b=NVvuVXNCIIHXdC7J2uo3nJDRwT1LEitF6THb6dJE42LPOYpwsVBkaBlI1bCdpigZzG eJBlTI857r11BpfxzD+NV3TEONwpWmsc+OFGReQZG/1NLJ45NOR749hbsuD79vwlgS0n UgXnypDvpuFUWgZ/W8mGOidvQOH8XFf1pOoPtZVDn/4wjeD2OurqU0Zg9XweGZpz/+Ev QQGq3jR+ZmCgWKj1FKyCyQpjtnicPSpvJqxlgDhPwnxmXleZonJA6vvB/80fBFMAHouF bi8MWqfJaeeneGnt9QcJhzUI51D+Hqbl3JrlW60sEo+0MRsKiF4PmXgW/ZHrXDB8ptc7 680A== X-Gm-Message-State: APjAAAVkO3rNUVyz7WXyUx8cLP1m1sbTcvCd2Ize/gfBfuBSvR1s6Vnc 3tUbuitY362JwAAZAlpdgIFMAAQ63cfCPA== X-Google-Smtp-Source: APXvYqz8WNMCpVcB8UeqGirNhbK2ngT/iK0QhJfUnWN2IxlleveUTgElFHZNJN/V0w/Ba10l53RKHA== X-Received: by 2002:a2e:b604:: with SMTP id r4mr1915582ljn.134.1573124233050; Thu, 07 Nov 2019 02:57:13 -0800 (PST) Received: from localhost.localdomain ([37.46.115.8]) by smtp.gmail.com with ESMTPSA id x18sm768077ljc.39.2019.11.07.02.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 02:57:12 -0800 (PST) From: Aleksander Morgado To: bjorn@mork.no, davem@davemloft.net Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Aleksander Morgado , stable Subject: [PATCH] net: usb: qmi_wwan: add support for DW5821e with eSIM support Date: Thu, 7 Nov 2019 11:57:01 +0100 Message-Id: <20191107105701.1010823-1-aleksander@aleksander.es> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Exactly same layout as the default DW5821e module, just a different vid/pid. The QMI interface is exposed in USB configuration #1: P: Vendor=413c ProdID=81e0 Rev=03.18 S: Manufacturer=Dell Inc. S: Product=DW5821e-eSIM Snapdragon X20 LTE S: SerialNumber=0123456789ABCDEF C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan I: If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option I: If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option Signed-off-by: Aleksander Morgado Cc: stable --- 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 596428ec71df..56d334b9ad45 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1362,6 +1362,7 @@ static const struct usb_device_id products[] = { {QMI_FIXED_INTF(0x413c, 0x81b6, 8)}, /* Dell Wireless 5811e */ {QMI_FIXED_INTF(0x413c, 0x81b6, 10)}, /* Dell Wireless 5811e */ {QMI_FIXED_INTF(0x413c, 0x81d7, 0)}, /* Dell Wireless 5821e */ + {QMI_FIXED_INTF(0x413c, 0x81e0, 0)}, /* Dell Wireless 5821e with eSIM support*/ {QMI_FIXED_INTF(0x03f0, 0x4e1d, 8)}, /* HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module */ {QMI_FIXED_INTF(0x03f0, 0x9d1d, 1)}, /* HP lt4120 Snapdragon X5 LTE */ {QMI_FIXED_INTF(0x22de, 0x9061, 3)}, /* WeTelecom WPD-600N */