diff mbox series

Bluetooth: btusb: Add new HWIDs for MT7925

Message ID 20241104131904.30447-1-jiande.lu@mediatek.com (mailing list archive)
State Accepted
Commit 408ec48013da87d226c56774a685531081473a12
Headers show
Series Bluetooth: btusb: Add new HWIDs for MT7925 | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/SubjectPrefix success Gitlint PASS
tedd_an/BuildKernel success BuildKernel PASS
tedd_an/CheckAllWarning success CheckAllWarning PASS
tedd_an/CheckSparse success CheckSparse PASS

Commit Message

Jiande Lu Nov. 4, 2024, 1:19 p.m. UTC
Add below HWIDs for MediaTek MT7925 USB Bluetooth chip.
VID 0x0489, PID 0xe14f
VID 0x0489, PID 0xe150
VID 0x0489, PID 0xe151

Patch has been tested successfully and controller is recognized
device pair successfully.

MT7925 module bring up message as below.
Bluetooth: Core ver 2.22
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202
Bluetooth: hci0: Device setup in 286558 usecs
Bluetooth: hci0: HCI Enhanced Setup Synchronous
Connection command is advertised, but not supported.
Bluetooth: hci0: AOSP extensions version v1.00
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: MGMT ver 1.22
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11

Signed-off-by: Jiande Lu <jiande.lu@mediatek.com>
---
 drivers/bluetooth/btusb.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Paul Menzel Nov. 4, 2024, 2:20 p.m. UTC | #1
Dear Jiande,


Am 04.11.24 um 14:19 schrieb Jiande Lu:
> Add below HWIDs for MediaTek MT7925 USB Bluetooth chip.
> VID 0x0489, PID 0xe14f
> VID 0x0489, PID 0xe150
> VID 0x0489, PID 0xe151
> 
> Patch has been tested successfully and controller is recognized
> device pair successfully.
> 
> MT7925 module bring up message as below.
> Bluetooth: Core ver 2.22
> Bluetooth: HCI device and connection manager initialized
> Bluetooth: HCI socket layer initialized
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: SCO socket layer initialized
> Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202
> Bluetooth: hci0: Device setup in 286558 usecs
> Bluetooth: hci0: HCI Enhanced Setup Synchronous
> Connection command is advertised, but not supported.

No line wrapping needed.

> Bluetooth: hci0: AOSP extensions version v1.00
> Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> Bluetooth: BNEP filters: protocol multicast
> Bluetooth: BNEP socket layer initialized
> Bluetooth: MGMT ver 1.22
> Bluetooth: RFCOMM TTY layer initialized
> Bluetooth: RFCOMM socket layer initialized
> Bluetooth: RFCOMM ver 1.11
> 
> Signed-off-by: Jiande Lu <jiande.lu@mediatek.com>
> ---
>   drivers/bluetooth/btusb.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index 6dc5a7e76558..77b8500f8e9b 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -658,6 +658,12 @@ static const struct usb_device_id quirks_table[] = {
>   						     BTUSB_WIDEBAND_SPEECH },
>   	{ USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
>   						     BTUSB_WIDEBAND_SPEECH },
> +	{ USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK |
> +						     BTUSB_WIDEBAND_SPEECH },
> +	{ USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK |
> +						     BTUSB_WIDEBAND_SPEECH },
> +	{ USB_DEVICE(0x0489, 0xe151), .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 |

With the small thing fixed:

Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>


Kind regards,

Paul
Paul Menzel Nov. 4, 2024, 2:22 p.m. UTC | #2
Dear Jiande,


Also, you could add the number to the summary:

Bluetooth: btusb: Add 4 HWIDs for MT7925

Am 04.11.24 um 15:20 schrieb Paul Menzel:

> Am 04.11.24 um 14:19 schrieb Jiande Lu:
>> Add below HWIDs for MediaTek MT7925 USB Bluetooth chip.
>> VID 0x0489, PID 0xe14f
>> VID 0x0489, PID 0xe150
>> VID 0x0489, PID 0xe151
>>
>> Patch has been tested successfully and controller is recognized
>> device pair successfully.
>>
>> MT7925 module bring up message as below.
>> Bluetooth: Core ver 2.22
>> Bluetooth: HCI device and connection manager initialized
>> Bluetooth: HCI socket layer initialized
>> Bluetooth: L2CAP socket layer initialized
>> Bluetooth: SCO socket layer initialized
>> Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202
>> Bluetooth: hci0: Device setup in 286558 usecs
>> Bluetooth: hci0: HCI Enhanced Setup Synchronous
>> Connection command is advertised, but not supported.
> 
> No line wrapping needed.
> 
>> Bluetooth: hci0: AOSP extensions version v1.00
>> Bluetooth: BNEP (Ethernet Emulation) ver 1.3
>> Bluetooth: BNEP filters: protocol multicast
>> Bluetooth: BNEP socket layer initialized
>> Bluetooth: MGMT ver 1.22
>> Bluetooth: RFCOMM TTY layer initialized
>> Bluetooth: RFCOMM socket layer initialized
>> Bluetooth: RFCOMM ver 1.11
>>
>> Signed-off-by: Jiande Lu <jiande.lu@mediatek.com>
>> ---
>>   drivers/bluetooth/btusb.c | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
>> index 6dc5a7e76558..77b8500f8e9b 100644
>> --- a/drivers/bluetooth/btusb.c
>> +++ b/drivers/bluetooth/btusb.c
>> @@ -658,6 +658,12 @@ static const struct usb_device_id quirks_table[] = {
>>                                BTUSB_WIDEBAND_SPEECH },
>>       { USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
>>                                BTUSB_WIDEBAND_SPEECH },
>> +    { USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK |
>> +                             BTUSB_WIDEBAND_SPEECH },
>> +    { USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK |
>> +                             BTUSB_WIDEBAND_SPEECH },
>> +    { USB_DEVICE(0x0489, 0xe151), .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 |
> 
> With the small thing fixed:
> 
> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
> 
> 
> Kind regards,
> 
> Paul
patchwork-bot+bluetooth@kernel.org Nov. 5, 2024, 3 p.m. UTC | #3
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon, 4 Nov 2024 21:19:04 +0800 you wrote:
> Add below HWIDs for MediaTek MT7925 USB Bluetooth chip.
> VID 0x0489, PID 0xe14f
> VID 0x0489, PID 0xe150
> VID 0x0489, PID 0xe151
> 
> Patch has been tested successfully and controller is recognized
> device pair successfully.
> 
> [...]

Here is the summary with links:
  - Bluetooth: btusb: Add new HWIDs for MT7925
    https://git.kernel.org/bluetooth/bluetooth-next/c/408ec48013da

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 6dc5a7e76558..77b8500f8e9b 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -658,6 +658,12 @@  static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe151), .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 |