From patchwork Wed Jul 15 06:55:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1329263 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jAe8+DfF; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B67Sf1bmZz9sTH; Wed, 15 Jul 2020 16:55:44 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jvbKO-0006Ld-B3; Wed, 15 Jul 2020 06:55:40 +0000 Received: from mail-pj1-f67.google.com ([209.85.216.67]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jvbKM-0006LI-0F for kernel-team@lists.ubuntu.com; Wed, 15 Jul 2020 06:55:38 +0000 Received: by mail-pj1-f67.google.com with SMTP id k71so2621826pje.0 for ; Tue, 14 Jul 2020 23:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lcwGiue28qjfHyYrkZKkG6+NprxpJsB36op3/urwFZM=; b=jAe8+DfFWHX6BP9EK5d22a0ClVBcXkFG11uLs5lxsUa3HmEoGrJM5MnfSYMce59OV8 gDnEq7S9FYTo6Wf5o5qcg3vcPbfWNyB3bWpNmuFZUhgvqfJWeulxsqWZXyZBGrsaX12g tLAJBLIGOEuiCP3set/g8gOJ/MveNB/p1em3IJVOeHp9KHM/8wVr+gyr+U+zsWUQOXZw hYs6/slxc6NLL5tn/+e68cDRBXSBJTzbDEq0khPClqE6Kn30X+7H/TdIA2k0GTqduw3y aqw5QH121c3e+AXvHWm4rXYafD7ND/vjm0BsdADDK81y9XCIc4OstgON9DVMFUa27l/0 G1eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=lcwGiue28qjfHyYrkZKkG6+NprxpJsB36op3/urwFZM=; b=DtA/dlpJXux74gVyCGnt6ZkLBxMdwW1bZxvcB+sEqerlqdN6i/v+ugxSdMhPu9av+e j/BIYQYKCyB1wYeDUS4tMs0HeaNVSiwWWF10yV2Ks6daccei/Fike3r8HrDO8T0ZkO7q nMChd5VfjWpy7BIo1QMl6XAehdogZkMkabiXOK3JAgECP9jnKoS2llp9bdbGnFvYPhZF ICRRkAjvsbnscb+9f4NppMmJ49m/w12ieNw3fpx+7w4LuJRr72tHfABxGVk3tTSwwseS 93PghskUF1y3mzgXYHco82wvz9wPfoh+wcb1RdZ0cj3NMyLOxgryKJpv0O6BAok31F1q sDwA== X-Gm-Message-State: AOAM530IARnEQjlVEdIO8ToNreW9SPpyf7URSsmNWhyfAobgkdY9Fizj J34YYIE0wZ1PeP42VSq7UJOfIfh3 X-Google-Smtp-Source: ABdhPJzmvlYkfQv4vDj6DU88+zK1vTnpku6K7fwtcMMIIXioAVpixrTzpCq3G9BnWDBqb3M/EKFhBQ== X-Received: by 2002:a17:90a:fe96:: with SMTP id co22mr8336229pjb.115.1594796135962; Tue, 14 Jul 2020 23:55:35 -0700 (PDT) Received: from localhost (220-135-95-34.HINET-IP.hinet.net. [220.135.95.34]) by smtp.gmail.com with ESMTPSA id p19sm1161405pgj.74.2020.07.14.23.55.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 23:55:35 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/2][SRU][B][E][F][G][OEM-5.6][Unstable] net: usb: qmi_wwan: add support for Quectel EG95 LTE modem Date: Wed, 15 Jul 2020 14:55:30 +0800 Message-Id: <20200715065531.1425305-2-acelan.kao@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715065531.1425305-1-acelan.kao@canonical.com> References: <20200715065531.1425305-1-acelan.kao@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.67; envelope-from=acelan@gmail.com; helo=mail-pj1-f67.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1886744 Add support for Quectel Wireless Solutions Co., Ltd. EG95 LTE modem T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=2c7c ProdID=0195 Rev=03.18 S: Manufacturer=Android S: Product=Android C: #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) Signed-off-by: AceLan Kao Acked-by: Bjørn Mork Signed-off-by: David S. Miller (cherry picked from commit f815dd5cf48b905eeecf0a2b990e9b7ab048b4f1) Signed-off-by: AceLan Kao --- 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 4a2c7355be63..e57d59b0a7ae 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1370,6 +1370,7 @@ static const struct usb_device_id products[] = { {QMI_QUIRK_SET_DTR(0x1e0e, 0x9001, 5)}, /* SIMCom 7100E, 7230E, 7600E ++ */ {QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)}, /* Quectel EC21 Mini PCIe */ {QMI_QUIRK_SET_DTR(0x2c7c, 0x0191, 4)}, /* Quectel EG91 */ + {QMI_QUIRK_SET_DTR(0x2c7c, 0x0195, 4)}, /* Quectel EG95 */ {QMI_FIXED_INTF(0x2c7c, 0x0296, 4)}, /* Quectel BG96 */ {QMI_QUIRK_SET_DTR(0x2cb7, 0x0104, 4)}, /* Fibocom NL678 series */ {QMI_FIXED_INTF(0x0489, 0xe0b4, 0)}, /* Foxconn T77W968 LTE */