public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btusb: Add support for MediaTek MT7902
@ 2026-02-14  8:27 OnlineLearningTutorials
  2026-02-14  9:18 ` bluez.test.bot
  2026-02-16 12:55 ` [PATCH] " AngeloGioacchino Del Regno
  0 siblings, 2 replies; 3+ messages in thread
From: OnlineLearningTutorials @ 2026-02-14  8:27 UTC (permalink / raw)
  To: luiz.dentz, marcel
  Cc: kush.kulshrestha.5, matthias.bgg, angelogioacchino.delregno,
	linux-bluetooth, linux-mediatek, linux-kernel

This patch adds USB IDs for the AzureWave/MediaTek MT7902 Bluetooth
module.
The device IDs included are:
- 13d3:3579
- 13d3:3580
- 13d3:3594
- 13d3:3596

Signed-off-by: OnlineLearningTutorials <kush.kulshrestha.5@gmail.com>
---
 drivers/bluetooth/btmtk.c |  1 +
 drivers/bluetooth/btusb.c | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/drivers/bluetooth/btmtk.c b/drivers/bluetooth/btmtk.c
index a8c520dc09e1..b793947dd920 100644
--- a/drivers/bluetooth/btmtk.c
+++ b/drivers/bluetooth/btmtk.c
@@ -1323,6 +1323,7 @@ int btmtk_usb_setup(struct hci_dev *hdev)
 	case 0x7668:
 		fwname = FIRMWARE_MT7668;
 		break;
+	case 0x7902:
 	case 0x7922:
 	case 0x7925:
 	case 0x7961:
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index fcec8e589e81..13a2aa13b9f4 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -629,6 +629,16 @@ static const struct usb_device_id quirks_table[] = {
 	/* Additional MediaTek MT7668 Bluetooth devices */
 	{ USB_DEVICE(0x043e, 0x3109), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
+
+	/* Additional MediaTek MT7902 Bluetooth devices */
+	{ USB_DEVICE(0x13d3, 0x3579), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3580), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3594), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3596), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
 
 	/* Additional MediaTek MT7920 Bluetooth devices */
 	{ USB_DEVICE(0x0489, 0xe134), .driver_info = BTUSB_MEDIATEK |
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: Bluetooth: btusb: Add support for MediaTek MT7902
  2026-02-14  8:27 [PATCH] Bluetooth: btusb: Add support for MediaTek MT7902 OnlineLearningTutorials
@ 2026-02-14  9:18 ` bluez.test.bot
  2026-02-16 12:55 ` [PATCH] " AngeloGioacchino Del Regno
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-02-14  9:18 UTC (permalink / raw)
  To: linux-bluetooth, kush.kulshrestha5

[-- Attachment #1: Type: text/plain, Size: 4301 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1054128

---Test result---

Test Summary:
CheckPatch                    PENDING   0.28 seconds
GitLint                       PENDING   0.23 seconds
SubjectPrefix                 PASS      0.11 seconds
BuildKernel                   PASS      27.27 seconds
CheckAllWarning               PASS      31.01 seconds
CheckSparse                   WARNING   34.01 seconds
BuildKernel32                 PASS      26.34 seconds
TestRunnerSetup               PASS      572.87 seconds
TestRunner_l2cap-tester       PASS      29.91 seconds
TestRunner_iso-tester         PASS      92.73 seconds
TestRunner_bnep-tester        PASS      6.38 seconds
TestRunner_mgmt-tester        FAIL      118.59 seconds
TestRunner_rfcomm-tester      PASS      9.48 seconds
TestRunner_sco-tester         FAIL      14.78 seconds
TestRunner_ioctl-tester       PASS      10.30 seconds
TestRunner_mesh-tester        FAIL      11.41 seconds
TestRunner_smp-tester         PASS      8.81 seconds
TestRunner_userchan-tester    PASS      6.81 seconds
IncrementalBuild              PENDING   0.43 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: CheckSparse - WARNING
Desc: Run sparse tool with linux kernel
Output:
drivers/bluetooth/btmtk.c:1508:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1509:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1510:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1511:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1512:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1512:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1513:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1514:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1515:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1516:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1517:1: error: bad constant expressiondrivers/bluetooth/btmtk.c:1518:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4669:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4670:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4672:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4673:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4675:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4676:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4678:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4679:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4681:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4682:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4683:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4684:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4684:1: error: bad constant expression
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 494, Passed: 489 (99.0%), Failed: 1, Not Run: 4

Failed Test Cases
Read Exp Feature - Success                           Failed       0.110 seconds
##############################
Test: TestRunner_sco-tester - FAIL
Desc: Run sco-tester with test-runner
Output:
WARNING: possible circular locking dependency detected
BUG: sleeping function called from invalid context at net/core/sock.c:3782
Total: 30, Passed: 30 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner
Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0

Failed Test Cases
Mesh - Send cancel - 1                               Timed out    1.796 seconds
Mesh - Send cancel - 2                               Timed out    1.999 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Bluetooth: btusb: Add support for MediaTek MT7902
  2026-02-14  8:27 [PATCH] Bluetooth: btusb: Add support for MediaTek MT7902 OnlineLearningTutorials
  2026-02-14  9:18 ` bluez.test.bot
@ 2026-02-16 12:55 ` AngeloGioacchino Del Regno
  1 sibling, 0 replies; 3+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-02-16 12:55 UTC (permalink / raw)
  To: OnlineLearningTutorials, luiz.dentz, marcel
  Cc: kush.kulshrestha.5, matthias.bgg, linux-bluetooth, linux-mediatek,
	linux-kernel

Il 14/02/26 09:27, OnlineLearningTutorials ha scritto:
> This patch adds USB IDs for the AzureWave/MediaTek MT7902 Bluetooth
> module.
> The device IDs included are:
> - 13d3:3579
> - 13d3:3580
> - 13d3:3594
> - 13d3:3596
> 
> Signed-off-by: OnlineLearningTutorials <kush.kulshrestha.5@gmail.com>

Please use your real name when you send patches, and also use the get_maintainer.pl
script.

Actually, just read: https://docs.kernel.org/process/submitting-patches.html

Regards,
Angelo

> ---
>   drivers/bluetooth/btmtk.c |  1 +
>   drivers/bluetooth/btusb.c | 10 ++++++++++
>   2 files changed, 11 insertions(+)
> 
> diff --git a/drivers/bluetooth/btmtk.c b/drivers/bluetooth/btmtk.c
> index a8c520dc09e1..b793947dd920 100644
> --- a/drivers/bluetooth/btmtk.c
> +++ b/drivers/bluetooth/btmtk.c
> @@ -1323,6 +1323,7 @@ int btmtk_usb_setup(struct hci_dev *hdev)
>   	case 0x7668:
>   		fwname = FIRMWARE_MT7668;
>   		break;
> +	case 0x7902:
>   	case 0x7922:
>   	case 0x7925:
>   	case 0x7961:
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index fcec8e589e81..13a2aa13b9f4 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -629,6 +629,16 @@ static const struct usb_device_id quirks_table[] = {
>   	/* Additional MediaTek MT7668 Bluetooth devices */
>   	{ USB_DEVICE(0x043e, 0x3109), .driver_info = BTUSB_MEDIATEK |
>   						     BTUSB_WIDEBAND_SPEECH },
> +
> +	/* Additional MediaTek MT7902 Bluetooth devices */
> +	{ USB_DEVICE(0x13d3, 0x3579), .driver_info = BTUSB_MEDIATEK |
> +						     BTUSB_WIDEBAND_SPEECH },
> +	{ USB_DEVICE(0x13d3, 0x3580), .driver_info = BTUSB_MEDIATEK |
> +						     BTUSB_WIDEBAND_SPEECH },
> +	{ USB_DEVICE(0x13d3, 0x3594), .driver_info = BTUSB_MEDIATEK |
> +						     BTUSB_WIDEBAND_SPEECH },
> +	{ USB_DEVICE(0x13d3, 0x3596), .driver_info = BTUSB_MEDIATEK |
> +						     BTUSB_WIDEBAND_SPEECH },
>   
>   	/* Additional MediaTek MT7920 Bluetooth devices */
>   	{ USB_DEVICE(0x0489, 0xe134), .driver_info = BTUSB_MEDIATEK |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-16 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-14  8:27 [PATCH] Bluetooth: btusb: Add support for MediaTek MT7902 OnlineLearningTutorials
2026-02-14  9:18 ` bluez.test.bot
2026-02-16 12:55 ` [PATCH] " AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox