823-v5.18-Bluetooth-btusb-Add-a-new-PID-VID-13d3-3567-for-MT79.patch 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. From e57186fc02cedff191c469a26cce615371e41740 Mon Sep 17 00:00:00 2001
  2. From: Yake Yang <[email protected]>
  3. Date: Wed, 23 Feb 2022 07:55:59 +0800
  4. Subject: [PATCH 3/5] Bluetooth: btusb: Add a new PID/VID 13d3/3567 for MT7921
  5. Add VID 13D3 & PID 3567 for MediaTek MT7921 USB Bluetooth chip.
  6. The information in /sys/kernel/debug/usb/devices about the Bluetooth
  7. device is listed as the below.
  8. T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
  9. D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
  10. P: Vendor=13d3 ProdID=3567 Rev= 1.00
  11. S: Manufacturer=MediaTek Inc.
  12. S: Product=Wireless_Device
  13. S: SerialNumber=000000000
  14. C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
  15. A: FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01
  16. I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  17. E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=125us
  18. E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
  19. E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
  20. I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  21. E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
  22. E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
  23. I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  24. E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
  25. E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
  26. I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  27. E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
  28. E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
  29. I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  30. E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
  31. E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
  32. I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  33. E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
  34. E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
  35. I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  36. E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
  37. E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
  38. I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
  39. E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms
  40. E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms
  41. I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
  42. E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us
  43. E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us
  44. I: If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
  45. E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us
  46. E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us
  47. Co-developed-by: Sean Wang <[email protected]>
  48. Signed-off-by: Sean Wang <[email protected]>
  49. Signed-off-by: Yake Yang <[email protected]>
  50. Signed-off-by: Marcel Holtmann <[email protected]>
  51. ---
  52. drivers/bluetooth/btusb.c | 3 +++
  53. 1 file changed, 3 insertions(+)
  54. --- a/drivers/bluetooth/btusb.c
  55. +++ b/drivers/bluetooth/btusb.c
  56. @@ -464,6 +464,9 @@ static const struct usb_device_id blackl
  57. { USB_DEVICE(0x13d3, 0x3564), .driver_info = BTUSB_MEDIATEK |
  58. BTUSB_WIDEBAND_SPEECH |
  59. BTUSB_VALID_LE_STATES },
  60. + { USB_DEVICE(0x13d3, 0x3567), .driver_info = BTUSB_MEDIATEK |
  61. + BTUSB_WIDEBAND_SPEECH |
  62. + BTUSB_VALID_LE_STATES },
  63. { USB_DEVICE(0x0489, 0xe0cd), .driver_info = BTUSB_MEDIATEK |
  64. BTUSB_WIDEBAND_SPEECH |
  65. BTUSB_VALID_LE_STATES },