Skip to contentSkip to conversation

Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925

PATCH Superseded Jiande Lu 2 participants 2 messages Sep 16, 2024 – Sep 25, 2024

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jiande Lu

author
#0 lore raw

PATCH 1/1 Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925

Add HW IDs for wireless module. These HW IDs are extracted from Windows driver inf file and the test for card bring up successful.

---
 drivers/bluetooth/btusb.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/bluetooth/btusb.c +12 -0
index 6c9c761d5b93..8946aafae640 100644
@@ -563,6 +563,16 @@ static const struct usb_device_id quirks_table[] = {
 	{ USB_DEVICE(0x043e, 0x3109), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
 
+	/* Additional MediaTek MT7920 Bluetooth devices */
+	{ USB_DEVICE(0x0489, 0xe134), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3620), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3621), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3622), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+
 	/* Additional MediaTek MT7921 Bluetooth devices */
 	{ USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
@@ -636,6 +646,8 @@ static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x0489, 0xe11e), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |
Signature · 1 line
2.45.2
#1 lore raw

Hi Jiande,

Quoted 3 lines · Jiande Lu

Add HW IDs for wireless module. These HW IDs are extracted from Windows driver inf file and the test for card bring up successful.

Well this is not enough if we don't have firmware published for them, or you have confirmed that firmware is available and it does load properly? In that case please add the information about the firmware as well and perhaps some logs that it can be loaded properly.

Quoted 38 lines
---
 drivers/bluetooth/btusb.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/bluetooth/btusb.c +12 -1
index 6c9c761d5b93..8946aafae640 100644
@@ -563,6 +563,16 @@ static const struct usb_device_id quirks_table[] = {
        { USB_DEVICE(0x043e, 0x3109), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH },
 
+       /* Additional MediaTek MT7920 Bluetooth devices */
+       { USB_DEVICE(0x0489, 0xe134), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH },
+       { USB_DEVICE(0x13d3, 0x3620), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH },
+       { USB_DEVICE(0x13d3, 0x3621), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH },
+       { USB_DEVICE(0x13d3, 0x3622), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH },
+
        /* Additional MediaTek MT7921 Bluetooth devices */
        { USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH },
@@ -636,6 +646,8 @@ static const struct usb_device_id quirks_table[] = {
                                                     BTUSB_WIDEBAND_SPEECH },
        { USB_DEVICE(0x0489, 0xe11e), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH },
+       { USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
+                                                    BTUSB_WIDEBAND_SPEECH },
        { USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK |
                                                     BTUSB_WIDEBAND_SPEECH },
        { USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |
--

2.45.2

Signature · 1 line
Luiz Augusto von Dentz