Bluetooth: btbcm: Add entries for BCM4364B3 UART Bluetooth
PATCH RESEND 1/1 Bluetooth: btbcm: Add entries for BCM4364B3 UART Bluetooth
The BCM4364B3 combo chip on Apple T2 Macs, e.g. the MacBookPro16,1, has a UART Bluetooth controller that reports LMP subversion 0x3032 (001.016.050) on some units and 0x305b (001.016.091) on others. Neither has an entry in bcm_uart_subver_table, so the controller is logged without a name:
Bluetooth: hci0: BCM4364B3 Trinidad Olympic GEN (MFG)
Bluetooth: hci0: BCM (001.016.091) build 0115
and the firmware lookup only tries the generic "brcm/BCM.hcd".
Add both subversions so the controller is named and its firmware is looked up as "brcm/BCM4364B3.hcd" first. Tested on two MacBookPro16,1 with a v7.4-rc3 based kernel carrying an equivalent change, one reporting 0x3032 and one reporting 0x305b. They now log:
Bluetooth: hci0: BCM4364B3 (001.016.050) build 0082
Bluetooth: hci0: BCM4364B3 (001.016.091) build 0115
---
Resend: the first copy was line-wrapped by my mail client and did not apply. This one is sent with git send-email. No other changes.
drivers/bluetooth/btbcm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/bluetooth/btbcm.c +2 -0
@@ -519,6 +519,8 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = { { 0x2119, "BCM4373A0" }, /* 001.001.025 */ { 0x2128, "BCM4384A0" }, /* 001.001.040 */ { 0x4119, "BCM4384B0" }, /* 002.001.025 */ + { 0x3032, "BCM4364B3" }, /* 001.016.050 */ + { 0x305b, "BCM4364B3" }, /* 001.016.091 */ { } };
Signature · 1 line
2.56.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1213391/
---Test result---
Test Summary:
CheckPatch PASS 0.49 seconds VerifyFixes PASS 0.07 seconds VerifySignedoff PASS 0.06 seconds GitLint PASS 0.19 seconds SubjectPrefix PASS 0.06 seconds BuildKernel PASS 24.78 seconds CheckAllWarning PASS 29.23 seconds CheckSparse PASS 30.92 seconds BuildKernel32 PASS 24.83 seconds CheckKernelLLVM PASS 25.30 seconds TestRunnerSetup PASS 576.58 seconds IncrementalBuild PASS 24.14 seconds
https://github.com/bluez/bluetooth-next/pull/1143
---
Regards,
Linux Bluetooth