2022-10-21 21:29:39 +00:00
|
|
|
From be55622ce673f9692cc15d26d77a050cda42a3d3 Mon Sep 17 00:00:00 2001
|
2022-09-09 19:46:33 +00:00
|
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
2022-10-21 21:29:39 +00:00
|
|
|
Date: Fri, 9 Sep 2022 21:00:30 +0100
|
|
|
|
Subject: [PATCH 1/1] Bluetooth: btusb: Add a new VID/PID 0e8d/0608 for MT7921
|
2022-09-09 19:46:33 +00:00
|
|
|
|
|
|
|
Add a new PID/VID 0e8d/0608 for MT7921K chip found on AMD RZ608 module.
|
|
|
|
|
|
|
|
From /sys/kernel/debug/usb/devices:
|
|
|
|
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
|
|
|
|
D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
|
|
|
|
P: Vendor=0e8d ProdID=0608 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= 64 Ivl=125us
|
|
|
|
E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us
|
|
|
|
|
|
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
2022-10-21 21:29:39 +00:00
|
|
|
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|
2022-09-09 19:46:33 +00:00
|
|
|
---
|
|
|
|
drivers/bluetooth/btusb.c | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/bluetooth/btusb.c
|
|
|
|
+++ b/drivers/bluetooth/btusb.c
|
2023-03-12 14:16:50 +00:00
|
|
|
@@ -473,6 +473,9 @@ static const struct usb_device_id blackl
|
2022-09-09 19:46:33 +00:00
|
|
|
{ USB_DEVICE(0x0489, 0xe0cd), .driver_info = BTUSB_MEDIATEK |
|
|
|
|
BTUSB_WIDEBAND_SPEECH |
|
|
|
|
BTUSB_VALID_LE_STATES },
|
|
|
|
+ { USB_DEVICE(0x0e8d, 0x0608), .driver_info = BTUSB_MEDIATEK |
|
|
|
|
+ BTUSB_WIDEBAND_SPEECH |
|
|
|
|
+ BTUSB_VALID_LE_STATES },
|
|
|
|
|
|
|
|
/* MediaTek MT7922A Bluetooth devices */
|
|
|
|
{ USB_DEVICE(0x0489, 0xe0d8), .driver_info = BTUSB_MEDIATEK |
|