From patchwork Tue May 14 10:25:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "SoloSaravanan@proton.me" X-Patchwork-Id: 13663984 Received: from mail-41104.protonmail.ch (mail-41104.protonmail.ch [185.70.41.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE968139568 for ; Tue, 14 May 2024 10:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.41.104 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715682912; cv=none; b=YnBhP/oiZ9qCtNvFZp6vEHPBV7OPl1lNAnp7kBbPmpNhXwOtQ06nUM6MSEM4J60DJUAM4p/iWrjt8ytTOiy+s4w46al5NpR21g6IXfOln/+VA/AzC6yNbQHmlsaF8lKzdM5gEQnpoqXy7wn75VLs1/OfY9vfNLslHWVjgKyge5c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715682912; c=relaxed/simple; bh=JDcLhSCJdrn8ZStEd9rRtRGA5OR51AVhThaD9Deeyrk=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=bOvuW5blVS722OO3nRVYbIr3Y6F2zbXADuc0xd+DdHux8GXVjH9xfANMSgvChPTLzeb7frGQI/3T+rUKlkeKrUh0nzWToLmqa3Q+4l42le9CoiIFEk3CnO9uUcYV8agWOkhKrceMgOn7A341R6VLIyXpJ74T4/xdby/SPR/RMcc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me; spf=pass smtp.mailfrom=proton.me; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b=chr2+39c; arc=none smtp.client-ip=185.70.41.104 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="chr2+39c" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1715682328; x=1715941528; bh=R1qRONO5MU7vQIWaRDZy5P0Ke0gMSK5+59BZXhIZp+I=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=chr2+39crLvbp2O7tVV0J3qAPmkfjIviNI7jX4u0FNE5G8nw8guIXLjSNA2+H+NKk eH3fef4sP0PbeQxf+bo3rEI4fgmzXQcn2qk/oqlVhlMmEvYOsW0oEoI3uPxBed+PY+ ysASk3HK68o7xzCLspiQS2GbMMjBMfAOZ+S/mdarw1CN64aWkOU6ziDfeBEfdASyUW xV1sh3uLecsdafYeT6cx9IlAGgIakLmSSSZwI0wwobCfggEZcyjAhK8SW9jtjcRZRA D4xAsDoKGxeM4jDwSYqDnupE9LtnM5IZpAVVLziuDJtLIOrw/750K33Snq72KGh9N5 C2Pb8cICjoQSw== Date: Tue, 14 May 2024 10:25:24 +0000 To: "marcel@holtmann.org" , "luiz.dentz@gmail.com" From: "SoloSaravanan@proton.me" Cc: "linux-bluetooth@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Bluetooth: btusb: Add device 13d3:3606 as MT7921 device Message-ID: Feedback-ID: 84438951:user:proton X-Pm-Message-ID: 430f707f918da3149934227d4b45508d9013ac00 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From 6c5cec6d7a84c140958786bcb082d94f1b147ece Mon Sep 17 00:00:00 2001 From: SoloSaravanan Date: Tue, 14 May 2024 15:01:29 +0530 Subject: [PATCH] Bluetooth: btusb: Add device 13d3:3606 as MT7921 device Add VendorID 13d3 & ProdID 3606 for MediaTek MT7921 USB Bluetooth chip. T: Bus=03 Lev=01 Prnt=01 Port=09 Cnt=03 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3606 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 Signed-off-by: SoloSaravanan --- drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index effa54629..65e4b7fc6 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -615,6 +615,9 @@ static const struct usb_device_id quirks_table[] = { { USB_DEVICE(0x0e8d, 0x0608), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x13d3, 0x3606), .driver_info = BTUSB_MEDIATEK | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* MediaTek MT7922A Bluetooth devices */ { USB_DEVICE(0x0489, 0xe0d8), .driver_info = BTUSB_MEDIATEK |