From nobody Mon Nov 25 10:35:33 2024 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (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 B5CDC1D4605; Mon, 28 Oct 2024 08:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730102685; cv=none; b=hML4f1w/C7gHsBAifsJ//HNCm5JtpJjbMvceWVmEKVuwcrlDo3flZ5SaNLrs/hltC33LpAvZgbzqXqO+tSyTyGJrD5ssiRe6VSUOAWyabXAqFz+5ILGW/SjWQg5lIhGUpJg9LUjQkLrNAG3IiXuJmtX7sC4UaA7S+At0Pb6zwGY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730102685; c=relaxed/simple; bh=px0akK44Pnon/IUmYmPa0nxDuWcRJmwM/cXbQ0Y2yPc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=prfg7JaPmgjzpnIIuAUQZS18+UlUcqjlfpcU/iCfkfkoUqBOb3lqmNu5aOT7v4ULizvkj78SFL1pv/Ec0Ob3An/Dh4UGRLUj8txlVyQQSgWw8nWT0827sg0M2XMTfB+5kAKXJCE52lo7kyAzgy4O0qzVkNhv/95fwUv6uPcANoo= 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=A4TMAKMv; arc=none smtp.client-ip=209.85.215.171 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="A4TMAKMv" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-7ede82dbb63so512754a12.2; Mon, 28 Oct 2024 01:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730102683; x=1730707483; 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=y1wPbpOHvrVR6b5Iz9OqlHN9S68A6RZqEvUNgT5njSQ=; b=A4TMAKMvavhD8VfGhp9vAeSUC+JYyxhFexRSFOnpovsxz0pXzpCb8PeFITl9DveBG5 gBo7u7ZFzNz0AnAA9ueI0kZxkNYvwtyJoOExCj3n6oGMPo/JVw8uY3GkFEjvjwnqWffu O949J+wHosDES1V0J4jV3AQxeEPA9DuIIFW9zu8RBZ4/e3foZpOABxWEHa+0+qWyeLqK hCgmVEG3C3kTul9qj7DPMeVkyF4S3hVScYAa1rdE45wiqR9YKKSj/AuPqI3ljuOf5U5P sUj7ReqPgqFIUNrNsOYwj2UD9mVHELduWS4EsCk99wxoB2zqziC+pTgqBU/D5dZhsWfi HKIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730102683; x=1730707483; 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=y1wPbpOHvrVR6b5Iz9OqlHN9S68A6RZqEvUNgT5njSQ=; b=lHLL3RR4YS9a0n6ZYB96vjenburCB58lqAFwrL3O0p4jG1eqUsCi6vTZcYpmLqI39j 7CTrn/DDcBsanE/fsl8yRpYGhnL8Oqj4i/KZJpCrw7Mz8jhGlJmvH0/5DItzucTWHo02 iV5C5hTvzd6711wkt+7wnH+XdxLU582In4nC4Z8MnIF/VFUX5N7ot6TOFkddWksahLOH jReY0oontWAxh9rg6iA1ltTX0oKkpHzSr0WmsMdpmaNCqt/KR3pL/FmWAWhZ/tWMcfZ7 wANH3Z3YZeCS9AYO3UZIU0M6yrGmegWWCSxwLtz5ihkkPrLwxsdSTCatNGrXG4tfRVbN bxgQ== X-Forwarded-Encrypted: i=1; AJvYcCVSTOGAUQ+SAEINcAGrzhsvsUt/iTTeeF5iEFhRpE8MlLFubXb/oNm7KR/AMSjC3+z/Kwa2F+srisizEBE=@vger.kernel.org, AJvYcCWSzA6GhfRGXT+aUTZT9ldbzmiklQkY7hqLVrZx0Wls1lu0aNglYUxr/npkdl3HgvdNlQSCE88PPV1f@vger.kernel.org X-Gm-Message-State: AOJu0Yy9bwvrYtElYC9A0PGBoMaAGym+Seg8vslKKRfQl6iGFlDn+63a mkgA6zzQh2lYATFEhP6k7iHmy8Bs5R8L3FGHZ/tk4eetudx0n1my X-Google-Smtp-Source: AGHT+IGbSevwBYaqUV266/S43UKd21qQoPrJSj6hau3YriYsYTYyyfCW7RuMVTlyA8zlBEfKx39H5w== X-Received: by 2002:a05:6a21:2d8f:b0:1d8:f977:8cda with SMTP id adf61e73a8af0-1d9a8400813mr9274823637.27.1730102682848; Mon, 28 Oct 2024 01:04:42 -0700 (PDT) Received: from localhost ([2402:7500:488:6621:2441:dc7a:ff1b:984a]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057a0d025sm5174882b3a.101.2024.10.28.01.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 01:04:42 -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: option: add MediaTek T7XX compositions Date: Mon, 28 Oct 2024 16:04:15 +0800 Message-Id: <20241028080415.697793-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 the MediaTek T7XX compositions: T: Bus=3D03 Lev=3D01 Prnt=3D01 Port=3D05 Cnt=3D01 Dev#=3D 74 Spd=3D480 Mx= Ch=3D 0 D: Ver=3D 2.10 Cls=3Def(misc ) Sub=3D02 Prot=3D01 MxPS=3D64 #Cfgs=3D 1 P: Vendor=3D0e8d ProdID=3D7129 Rev=3D 0.01 S: Manufacturer=3DMediaTek Inc. S: Product=3DUSB DATA CARD S: SerialNumber=3D004402459035402 C:* #Ifs=3D10 Cfg#=3D 1 Atr=3Da0 MxPwr=3D500mA A: FirstIf#=3D 0 IfCount=3D 2 Cls=3D02(comm.) Sub=3D0e Prot=3D00 I:* If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D02(comm.) Sub=3D0e Prot=3D00 Driver= =3Dcdc_mbim E: Ad=3D82(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D32ms I: If#=3D 1 Alt=3D 0 #EPs=3D 0 Cls=3D0a(data ) Sub=3D00 Prot=3D02 Driver= =3Dcdc_mbim I:* If#=3D 1 Alt=3D 1 #EPs=3D 2 Cls=3D0a(data ) Sub=3D00 Prot=3D02 Driver= =3Dcdc_mbim E: Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D01(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 2 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D83(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 3 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D84(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 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D85(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D04(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 5 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D42 Prot=3D01 Driver= =3D(none) E: Ad=3D86(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D05(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 6 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D87(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D06(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 7 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D88(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D07(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 8 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D89(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D08(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 9 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D8a(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D09(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms Signed-off-by: Jack Wu --- drivers/usb/serial/option.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 4f18f189f309..b6118f545386 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2244,6 +2244,7 @@ static const struct usb_device_id option_ids[] =3D { .driver_info =3D NCTRL(2) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x7127, 0xff, 0x00, 0= x00), .driver_info =3D NCTRL(2) | NCTRL(3) | NCTRL(4) }, + { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x7129, 0xff, 0x00, 0= x00) }, /* MediaTek T7XX */ { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) }, { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200), .driver_info =3D RSVD(1) | RSVD(4) }, --=20 2.34.1