1 From be55622ce673f9692cc15d26d77a050cda42a3d3 Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Fri, 9 Sep 2022 21:00:30 +0100
4 Subject: [PATCH 1/1] Bluetooth: btusb: Add a new VID/PID 0e8d/0608 for MT7921
6 Add a new PID/VID 0e8d/0608 for MT7921K chip found on AMD RZ608 module.
8 From /sys/kernel/debug/usb/devices:
9 T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
10 D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
11 P: Vendor=0e8d ProdID=0608 Rev= 1.00
12 S: Manufacturer=MediaTek Inc.
13 S: Product=Wireless_Device
14 S: SerialNumber=000000000
15 C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
16 A: FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01
17 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
18 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=125us
19 E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
20 E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
21 I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
22 E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
23 E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
24 I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
25 E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
26 E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
27 I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
28 E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
29 E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
30 I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
31 E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
32 E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
33 I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
34 E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
35 E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
36 I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
37 E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
38 E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
39 I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
40 E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms
41 E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms
42 I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
43 E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us
44 E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us
45 I: If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
46 E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us
47 E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us
49 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
50 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
52 drivers/bluetooth/btusb.c | 3 +++
53 1 file changed, 3 insertions(+)
55 --- a/drivers/bluetooth/btusb.c
56 +++ b/drivers/bluetooth/btusb.c
57 @@ -485,6 +485,9 @@ static const struct usb_device_id blackl
58 { USB_DEVICE(0x0489, 0xe0cd), .driver_info = BTUSB_MEDIATEK |
59 BTUSB_WIDEBAND_SPEECH |
60 BTUSB_VALID_LE_STATES },
61 + { USB_DEVICE(0x0e8d, 0x0608), .driver_info = BTUSB_MEDIATEK |
62 + BTUSB_WIDEBAND_SPEECH |
63 + BTUSB_VALID_LE_STATES },
65 /* MediaTek MT7922A Bluetooth devices */
66 { USB_DEVICE(0x0489, 0xe0d8), .driver_info = BTUSB_MEDIATEK |