Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3618493rwe; Mon, 29 Aug 2022 16:04:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR5m8LtTK4bGftP7ck3iTIpVoqrIWIvZsuM49cGDXB7WDRs6VvnvvukmrIvoOhnFq+XGgM8k X-Received: by 2002:a17:902:e746:b0:174:a9d3:5aef with SMTP id p6-20020a170902e74600b00174a9d35aefmr8655814plf.41.1661814266367; Mon, 29 Aug 2022 16:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661814266; cv=none; d=google.com; s=arc-20160816; b=uWJ+xlimqtzxd2xux2AQOG4ZL6zgLvpKmhIgIdcmMeCodUSjUdEoxEPgxf+s/BS4uU 9aOE2LUg09BJCA8n4xp8ufLTvoo/OWvn/m4aHjUSoORM+bdsp5ZhuDesvudAleXxubo1 T+8aFABxyiKLc8bcGxofFM4Vyu2WNwlZdLCFiImQMtybjJfUA6yKTr5tDPx1r8gw4DQK twdzn4Kd1XIfQr/0xovobmy5IKcdJg46qDkv05x8N3eg4IOn+q/bjSFhoePTXFs+ednS nz6Q7jIRcC7grTZKj/iNyHGxDoGUaOuWAQBFWACJKmQ+a7g1I9BRHvO2LENoIH8AkPOy 4twA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=+yvoj/4B+nCFvKI5wRjHfIXDDi4JJmZCKOW9oG2xHBA=; b=L7UJunLkh8Ibg7qXx9UHVuGXnDErDDFqO+yv//iBg0maQT7FSRN4GAdwrsFE+2SPnL 7NCqCNKiQL+dxBSvhi8r8wTkCCUFv1tielMdeG8KF/W9bTWHxAF8sP7H8ZqyrxSjR+/F 4wtiKtdstOjwYmyd2Fpk4PZGxKl+bQa9Yg/KCfEki+objQK8m219F9cLEsthteB0eKzj A9BfCMQRsfoI5Hx/SgxjxJ7JOncwvitcEyL5JZeq+rQ4oiq9UCvzLD84Oubwmpv2EZOa P3hJBK6ftWyUjHQNdEyLoIwKDLekQKe0hp/eGetN+4NQaCj9/AkONoaVCjKJuHfbS572 X6ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=eDmIOqdt; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lb9-20020a17090b4a4900b001fbaae57ae1si11272099pjb.170.2022.08.29.16.03.58; Mon, 29 Aug 2022 16:04:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=eDmIOqdt; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229449AbiH2W4S (ORCPT + 99 others); Mon, 29 Aug 2022 18:56:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiH2W4R (ORCPT ); Mon, 29 Aug 2022 18:56:17 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3C015FD5; Mon, 29 Aug 2022 15:56:08 -0700 (PDT) X-UUID: 2fcd28232bc342e4a7afac1817c5ff61-20220830 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=+yvoj/4B+nCFvKI5wRjHfIXDDi4JJmZCKOW9oG2xHBA=; b=eDmIOqdtxPrnokeJ0UUTtfdjLmWBJB5BzAwqI+1ZbtM0V3l9lniDRuPtaZ4r92nBOOst6uutgXvDOyokf/QAu3i8DbfvecACbbw7qHDHCUlDuuLmg94mWFmSsX18YRES3w/k620VU4+CkhGKllNtzWyu8gQyp6rX44vaCAHrxJQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.10,REQID:ea8ac647-6bd5-41f8-93fc-5feb191adc2f,OB:10, LOB:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Relea se_Ham,ACTION:release,TS:100 X-CID-INFO: VERSION:1.1.10,REQID:ea8ac647-6bd5-41f8-93fc-5feb191adc2f,OB:10,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS 981B3D,ACTION:quarantine,TS:100 X-CID-META: VersionHash:84eae18,CLOUDID:30517720-1c20-48a5-82a0-25f9c331906d,C OID:278089ba2d78,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:40,QS:nil,BEC:nil,COL:0 X-UUID: 2fcd28232bc342e4a7afac1817c5ff61-20220830 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 973737403; Tue, 30 Aug 2022 06:56:02 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 30 Aug 2022 06:55:59 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 30 Aug 2022 06:55:59 +0800 From: To: , , CC: , , , , , , , , , , , , , , , , , , , , , , , , "Chris Lu" Subject: [PATCH] Bluetooth: btusb: Add a new PID/VID 13d3/3578 for MT7921 Date: Tue, 30 Aug 2022 06:55:58 +0800 Message-ID: <575471871695aaae73ebc15eee73411ee53f4bb4.1661596165.git.objelf@gmail.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Chris Lu Add VID 13D3 & PID 3578 for MediaTek MT7921 USB Bluetooth chip. The information in /sys/kernel/debug/usb/devices about the Bluetooth device is listed as the below. T: Bus=03 Lev=01 Prnt=01 Port=07 Cnt=03 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3578 Rev= 1.00 S: Manufacturer=MediaTek Inc. S: Product=Wireless_Device S: SerialNumber=000000000 C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=125us E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none) E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us I: If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none) E: Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us E: Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us Co-developed-by: Sean Wang Signed-off-by: Sean Wang Signed-off-by: Chris Lu --- drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 30dd443f395f..20bd085664bf 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -481,6 +481,9 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x13d3, 0x3567), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x13d3, 0x3578), .driver_info = BTUSB_MEDIATEK | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, { USB_DEVICE(0x0489, 0xe0cd), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, -- 2.25.1