From nobody Fri Nov 29 01:40:45 2024 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FA1416FF45; Mon, 28 Oct 2024 08:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730103607; cv=none; b=mfrOX5YOg9Ophaf0LDJl2P6Knf1WaQ2FZZh6tpuuVBKZNyxxCUn1gbY6STOjWKYkBqv8d8X3lYBcPZ8f51m0ot80SQjeTqSYUK596Mt0pHOIYiijKuTTcMxOaX/TJq61SbUoSHQplrTTkbe4jmjco4jI+wqd/Lfy5iZ9VcU2xVg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730103607; c=relaxed/simple; bh=9KgzYqnG6iqO+36iW/hPKk0FuDDy3HBUJ77k1H9GQQ0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=BhaWJiCsWboXPr2PmL++5OzeIPGn6J3VJ+KZS4ewXfPMQAlDIDQaGaN2hX7RjOXRNK0IPpO28pvevgT7lBB+hq+NhgKHDBrWFVxSCOWK6VNbMk/r21fQf1wmffTMZvc7Dpn303ea7YZc0cWsbFAwM/jxcyu8YhU1jaKUsrWDwV0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dwZgXXKp; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dwZgXXKp" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20cdda5cfb6so37069645ad.3; Mon, 28 Oct 2024 01:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730103605; x=1730708405; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v8sdPDR1cu1RSy6KGnm0bu4ImucaLAk6cLvG3PELIM8=; b=dwZgXXKp+P3qZ5XM5hBatyo+zcashu2FPHyfRTOVuN4oNGdo+0ku/jmU2sSvCpQnjV QJW3DlqnsiKVCB8ENd/lRzJkfFpIAx2b69ajrBiw2/4NwaSLNEPHyi0sdfJPnCL3E20f 9IVGgS1vBN0JCk+y8+kkWVt2RGDYpnDSLAn8YCL/aDq/IlTjm5bqvwYKtHyXtMleNxwE RVPIatQJ71cEvRJBrIwoN/7UeSpSv96UbkoxwaHXgsIaO7s167MENIyw8eJa9aH0pQes 7jNy+Dzw6VngkmzoVm+H2CXFyvFw/WEeglJ84an9sJCcFfslzb4xnjVcElYR0Ae1Qvsd /9yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730103605; x=1730708405; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v8sdPDR1cu1RSy6KGnm0bu4ImucaLAk6cLvG3PELIM8=; b=L1u+W4ZYhaOZBR8TFbdMS65MbCa178TTv9XEF4cr1mzqY0uhAe0/jCnx4XetgJeq79 akHImDjl+pIt4h/v3QTqBfg/2t9ZJMwNSmSY8txpgyp41bRekUGqymrNLRXKryl+GyB2 h/0mY0T0HGUyA2eyqbdbKB2FQY9SwYzEK0AYntV+w3Xh0+Hu/ZyCz7YWXWlga+wr9Fwv LVZruIWo/fRR/maCxHOEIQY9zfMoGHtJ4WlH5V7z9xT+SsmIiFX8XbuZ1eNEKSfMrWCx PTE5QhJ3DTFVdMbTndnp8KjRrhoLGcD2053TTM/xLV7+546Zz8lQvUZI8V+I72Ceb7Cl zdsQ== X-Forwarded-Encrypted: i=1; AJvYcCVyZ1hWBFot6n+xovELrjOGW4YQVKQlu5YEdXOOCq3XDeur0FKkcmDR61CUnEV7Sgvgar8UvkbjF8cU@vger.kernel.org, AJvYcCWQWHD1Z3xV/ZjUX5U1NHormzjri4sANwPjhNyf6NzEIKuuoX20DviE5+C91F/Is7N/GX6UG8ZidenstAI=@vger.kernel.org X-Gm-Message-State: AOJu0YwpnWlQ3A9LTfX9R8FB/QcJdyAVPEQ+VeyO/rR059OkbL/CsJuK LF2CDU4zFSuEDpIXx4gTZIPirCw2OfD8lwvpSnqS2zc+z1S167gN X-Google-Smtp-Source: AGHT+IEpo881PxiXGmEfrUuaYO7xAm9Y2eiflJg/dlJsCht9s6H07Rednce93QydQNZDFVKY4bnXpg== X-Received: by 2002:a17:902:da86:b0:20b:8109:2c90 with SMTP id d9443c01a7336-210c6d6b2b2mr88077225ad.61.1730103604665; Mon, 28 Oct 2024 01:20:04 -0700 (PDT) Received: from localhost ([2402:7500:488:6621:2441:dc7a:ff1b:984a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-210bc02dbb4sm45603115ad.183.2024.10.28.01.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 01:20:04 -0700 (PDT) From: wojackbb@gmail.com To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Jack Wu Subject: [PATCH] USB: serial: qcserial: add support for Sierra Wireless EM86xx Date: Mon, 28 Oct 2024 16:19:49 +0800 Message-Id: <20241028081949.699921-1-wojackbb@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Jack Wu Add support for Sierra Wireless EM86xx with=20 USB-id 0x1199:0x90e5 & 0x1199:0x90e4. 0x1199:0x90e5 T: Bus=3D03 Lev=3D01 Prnt=3D01 Port=3D05 Cnt=3D01 Dev#=3D 14 Spd=3D480 Mx= Ch=3D 0 D: Ver=3D 2.00 Cls=3Def(misc ) Sub=3D02 Prot=3D01 MxPS=3D64 #Cfgs=3D 1 P: Vendor=3D1199 ProdID=3D90e5 Rev=3D 5.15 S: Manufacturer=3DSierra Wireless, Incorporated S: Product=3DSemtech EM8695 Mobile Broadband Adapter S: SerialNumber=3D004403161882339 C:* #Ifs=3D 6 Cfg#=3D 1 Atr=3Da0 MxPwr=3D500mA A: FirstIf#=3D12 IfCount=3D 2 Cls=3D02(comm.) Sub=3D0e Prot=3D00 I:* If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3Dff Prot=3D30 Driver= =3Dqcserial E: Ad=3D01(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D42 Prot=3D01 Driver= =3Dusbfs E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 3 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3Dff Prot=3D40 Driver= =3Dqcserial E: Ad=3D84(I) Atr=3D03(Int.) MxPS=3D 10 Ivl=3D32ms E: Ad=3D83(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D03(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 4 Alt=3D 0 #EPs=3D 1 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Driver= =3D(none) E: Ad=3D85(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D32ms I:* If#=3D12 Alt=3D 0 #EPs=3D 1 Cls=3D02(comm.) Sub=3D0e Prot=3D00 Driver= =3Dcdc_mbim E: Ad=3D87(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D32ms I: If#=3D13 Alt=3D 0 #EPs=3D 0 Cls=3D0a(data ) Sub=3D00 Prot=3D02 Driver= =3Dcdc_mbim I:* If#=3D13 Alt=3D 1 #EPs=3D 2 Cls=3D0a(data ) Sub=3D00 Prot=3D02 Driver= =3Dcdc_mbim E: Ad=3D86(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D04(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms 0x1199:0x90e4 T: Bus=3D03 Lev=3D01 Prnt=3D01 Port=3D05 Cnt=3D01 Dev#=3D 16 Spd=3D480 Mx= Ch=3D 0 D: Ver=3D 2.00 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D 1 P: Vendor=3D1199 ProdID=3D90e4 Rev=3D 0.00 S: Manufacturer=3DSierra Wireless, Incorporated S: SerialNumber=3D004403161882339 C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Da0 MxPwr=3D 2mA I:* If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3Dff Prot=3D10 Driver= =3Dqcserial E: Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D01(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms Signed-off-by: Jack Wu --- drivers/usb/serial/qcserial.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c index c7de9585feb2..933589ba5869 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c @@ -168,6 +168,8 @@ static const struct usb_device_id id_table[] =3D { {DEVICE_SWI(0x1199, 0x90d2)}, /* Sierra Wireless EM9191 QDL */ {DEVICE_SWI(0x1199, 0xc080)}, /* Sierra Wireless EM7590 QDL */ {DEVICE_SWI(0x1199, 0xc081)}, /* Sierra Wireless EM7590 */ + {DEVICE_SWI(0x1199, 0x90e4)}, /* Sierra Wireless EM86xx QDL*/ + {DEVICE_SWI(0x1199, 0x90e5)}, /* Sierra Wireless EM86xx */ {DEVICE_SWI(0x413c, 0x81a2)}, /* Dell Wireless 5806 Gobi(TM) 4G LTE Mobil= e Broadband Card */ {DEVICE_SWI(0x413c, 0x81a3)}, /* Dell Wireless 5570 HSPA+ (42Mbps) Mobile= Broadband Card */ {DEVICE_SWI(0x413c, 0x81a4)}, /* Dell Wireless 5570e HSPA+ (42Mbps) Mobil= e Broadband Card */ --=20 2.34.1