From nobody Sun Nov 24 08:26:40 2024 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 D52F41DE3B2; Wed, 6 Nov 2024 10:50:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730890242; cv=none; b=lS0yq55eaA+Xz7wk42rziMvoQgi49QlIuRbOK3v4NyktUdlR0IV2O3svKQszy4sxVAkxIpIuU68pP8DXx9g5xVhM5ajBF/N8UQHNJtilkEMuMmJcjT9hL4h1Xy4gCrOQsx+N1wUkwnnKL1DhpkboayI1vTJbo7zUzmDRAiFMFIk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730890242; c=relaxed/simple; bh=enLWSo2YXRAv+ZqWC8kAIoUZxolAeWHZx8LOTN18IhQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Oj8Rvi989mnIL8a7NUNRzJafewKU8GvsCJt6cbCXVm8Y2SQ0Br3COgc76vEAFwfYJyQnFIPbOiSIsHbeZJVyClx4rO8K+oTactBqQUx+KLvCFAsQeoHxiL+9syTOhkRPTZuVbUv10qKKjpcnbNoxrhj13NC1/4UTNQ+K1vabYvQ= 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=HsccR76I; arc=none smtp.client-ip=209.85.210.179 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="HsccR76I" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-720b2d8bcd3so5286816b3a.2; Wed, 06 Nov 2024 02:50:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730890240; x=1731495040; 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=Z2QtLjExH5AoubN8x0Zn77So4C3gTd16bi72kzG07/Q=; b=HsccR76I1HZGg3KrxFKByQ0S7j2xk+NrY57VC+UvswE04xFHQiiLvHdK6lGGXvwT+e 63XBZdREBcJIxMOjBN2R0cc8agRINoiwoiPmXKv4tglVUvR0ADQSFJugdf7jmhg8TBjn 4eJ5K07jOtTy6xL2ZlLdxGy2HrIOtYVv33sXrMSOjzrduLGlgk0hrctoFGh97IQpHQDb Lt3Sh7l19TK5a4xc8xH7qaFS57xqAr59xVP7D0M3XiKeNT++eQhsqWokGAQJ36rgM6JK 3uQscGuCtLchWUrD1yIadOSmZKdVB1lXIoj9etgy+LW2/7Q/YBoM9N8srwahM9tK8IZm 7Ndg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730890240; x=1731495040; 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=Z2QtLjExH5AoubN8x0Zn77So4C3gTd16bi72kzG07/Q=; b=d0RwrWUO/qeFgsWpEnknM3N9TXKReHiaBVIszi8iufrJafbM9CCfyMjFAp8nwQ5JuG 1EWBgWgDg9EoB+r4kGmD9ykdUoukyO8bxPbLPTsC/2sw2qg5dObe98mAqldusMQyp0Bx o1ThrGtoty4PRyrbQoxVQirqzd4ZADJM8mE//tp2HmH16n6tiPIQMWVg1LE+R3tGK+r6 KaUUbQ+WKxN0ye0P2Hz5hy30Tl5Hevr5WeEhcCClFkgkjZXrDJlDMeIxQkKbNdt4jld6 yf2FOyAWOO0Gxh29fPiMvfh2d0b67sQuvZmEPz2cPF211y/KdfRL7sL4fCopF6guFGKe Gipg== X-Forwarded-Encrypted: i=1; AJvYcCU5fuRtJP5D4NRfL+nYAh0ufzbA+tJ4J2JHYVhZA0MfnbIVKZbw0XAquy6cOcQTrcULBfmCtUW1pzU8GRs=@vger.kernel.org, AJvYcCUn5jJAkqcVJJNVsizeptYhuDUNDL3XZDSrucyNRUk+Zodw3thf+NjpPgwK0QTaHt0kxDsFbQL3ixzY@vger.kernel.org X-Gm-Message-State: AOJu0YxLKGsVhvU38K/+Db96fLbSG+yjNmH1qr+u3OBwwN+BcA5Y9yTJ YL4tapmG7VjAIStdGRcYY9NJlsxwNNvfOw2NvK4EKbTAFcEHX1jqZTQ7defx X-Google-Smtp-Source: AGHT+IH70Py1645yPhFYihm+YPJ01Phd4Hf24ER/37j+l5Wz6JMXmAEIJtg1Hl2CYam1jn1+xw1GFA== X-Received: by 2002:a05:6a00:39a8:b0:720:2e44:8781 with SMTP id d2e1a72fcca58-72062fb82bcmr51199352b3a.11.1730890239950; Wed, 06 Nov 2024 02:50:39 -0800 (PST) Received: from localhost ([2402:7500:579:df4c:d854:3b57:31f1:c2a7]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7ee45a0dd6fsm10770077a12.81.2024.11.06.02.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 02:50:39 -0800 (PST) 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] [v3]USB: serial: qcserial: add support for Sierra Wireless EM86xx Date: Wed, 6 Nov 2024 18:50:29 +0800 Message-Id: <20241106105029.338457-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 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 --- v3 changes: the entries sorted by PID --- 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..13c664317a05 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c @@ -166,6 +166,8 @@ static const struct usb_device_id id_table[] =3D { {DEVICE_SWI(0x1199, 0x9090)}, /* Sierra Wireless EM7565 QDL */ {DEVICE_SWI(0x1199, 0x9091)}, /* Sierra Wireless EM7565 */ {DEVICE_SWI(0x1199, 0x90d2)}, /* Sierra Wireless EM9191 QDL */ + {DEVICE_SWI(0x1199, 0x90e4)}, /* Sierra Wireless EM86xx QDL*/ + {DEVICE_SWI(0x1199, 0x90e5)}, /* Sierra Wireless EM86xx */ {DEVICE_SWI(0x1199, 0xc080)}, /* Sierra Wireless EM7590 QDL */ {DEVICE_SWI(0x1199, 0xc081)}, /* Sierra Wireless EM7590 */ {DEVICE_SWI(0x413c, 0x81a2)}, /* Dell Wireless 5806 Gobi(TM) 4G LTE Mobil= e Broadband Card */ --=20 2.34.1