Skip to contentSkip to conversation

Add support for the Synaptics BCM4384 Bluetooth controller.

PATCH Applied Kaihsin Chung 6 participants 8 messages Aug 17 – Sep 4

Subsystems (2)

v1 of 2 Applied 2/2 Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add support for the Synaptics BCM4384 Bluetooth controller.

The first patch adds the BCM4384 Device Tree compatible string. The second patch adds the controller support to the Broadcom Bluetooth driver

Kaihsin Chung (2):
dt-bindings: net: bluetooth: add BCM4384
Bluetooth: btbcm: Add Synaptics 4384 chip support

 .../devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml   | 1 +
 drivers/bluetooth/btbcm.c                                   | 6 +++++-
 drivers/bluetooth/hci_bcm.c                                 | 1 +
 3 files changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 dt-bindings: net: bluetooth: add BCM4384

Add the brcm,bcm4384-bt compatible string to support the Synaptics BCM4384 Bluetooth controller.

---
 .../devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml        | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml +1 -0
index 95501e858e6f..612d21123aaa 100644
@@ -31,6 +31,7 @@ properties:
           - brcm,bcm43540-bt
           - brcm,bcm4335a0
           - brcm,bcm4349-bt
+          - brcm,bcm4384-bt
           - cypress,cyw4373a0-bt
           - infineon,cyw55572-bt
 
Signature · 1 line
2.43.0
#2 lore raw

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/project/bluetooth/list/?series=1147103

---Test result---

Test Summary:

CheckPatch                    FAIL      2.73 seconds
VerifyFixes                   PASS      0.09 seconds
VerifySignedoff               PASS      0.09 seconds
GitLint                       PASS      0.71 seconds
SubjectPrefix                 FAIL      0.17 seconds
BuildKernel                   PASS      26.59 seconds
CheckAllWarning               PASS      29.14 seconds
CheckSparse                   PASS      27.88 seconds
BuildKernel32                 PASS      25.74 seconds
CheckKernelLLVM               SKIP      0.00 seconds
TestRunnerSetup               PASS      471.48 seconds
TestRunner_l2cap-tester       PASS      65.71 seconds
TestRunner_iso-tester         PASS      91.40 seconds
TestRunner_bnep-tester        PASS      19.30 seconds
TestRunner_mgmt-tester        FAIL      228.63 seconds
TestRunner_rfcomm-tester      PASS      25.30 seconds
TestRunner_sco-tester         PASS      31.72 seconds
TestRunner_ioctl-tester       PASS      26.89 seconds
TestRunner_mesh-tester        FAIL      26.23 seconds
TestRunner_smp-tester         PASS      23.84 seconds
TestRunner_userchan-tester    PASS      20.05 seconds
TestRunner_6lowpan-tester     PASS      22.79 seconds
IncrementalBuild              PASS      26.59 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[1/2] dt-bindings: net: bluetooth: add BCM4384
WARNING: From:/Signed-off-by: email address mismatch: 'From: Kaihsin Chung <[email protected]>' != 'Signed-off-by: Kaihsin Chung <[email protected]>'

total: 0 errors, 1 warnings, 7 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14753286.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

[2/2] Bluetooth: btbcm: Add Synaptics 4384 chip support
WARNING: From:/Signed-off-by: email address mismatch: 'From: Kaihsin Chung <[email protected]>' != 'Signed-off-by: Kaihsin Chung <[email protected]>'

total: 0 errors, 1 warnings, 31 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14753287.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: CheckKernelLLVM - SKIP
Desc: Build kernel with LLVM + context analysis Output:
Clang not found
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner Output:
Total: 501, Passed: 496 (99.0%), Failed: 1, Not Run: 4

Failed Test Cases
Read Exp Feature - Success Failed 0.240 seconds
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0

Failed Test Cases

Mesh - Send cancel - 1                               Timed out    1.924 seconds
Mesh - Send cancel - 2                               Timed out    1.988 seconds

https://github.com/bluez/bluetooth-next/pull/598

---
Regards,
Linux Bluetooth

#4 lore raw

Re: [PATCH 1/2] dt-bindings: net: bluetooth: add BCM4384

In reply to Kaihsin Chung
Quoted 7 lines · Kaihsin Chung

Add the brcm,bcm4384-bt compatible string to support the Synaptics BCM4384 Bluetooth controller.

---
 .../devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml        | 1 +
 1 file changed, 1 insertion(+)

How many duplicates of this are we going to get?

Best regards,
Krzysztof

#5 lore raw

PATCH 2/2 Bluetooth: btbcm: Add Synaptics 4384 chip support

In reply to Kaihsin Chung

Add support for the Synaptics 4384 Bluetooth controller by adding the corresponding chip IDs.
Verify the change on the VIM3 platform.Verified that the controller initializes successfully and that firmware loading and basic Bluetooth operation work as expected.

---
 drivers/bluetooth/btbcm.c   | 6 +++++-
 drivers/bluetooth/hci_bcm.c | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/bluetooth/btbcm.c +5 -1
index 463d59890bef..63c4c788d9c4 100644
@@ -31,6 +31,7 @@
 #define BDADDR_BCM4334B0 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb0, 0x34, 0x43}})
 #define BDADDR_BCM4345C5 (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0xc5, 0x45, 0x43}})
 #define BDADDR_BCM43341B (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0x1b, 0x34, 0x43}})
+#define BDADDR_BCM4384B0 (&(bdaddr_t) {{0x93, 0x76, 0x00, 0xb0, 0x84, 0x43}})
 
 #define BCM_FW_NAME_LEN			64
 #define BCM_FW_NAME_COUNT_MAX		4
@@ -130,7 +131,8 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
 	    !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A1) ||
-	    !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) {
+	    !bacmp(&bda->bdaddr, BDADDR_BCM43341B) ||
+	    !bacmp(&bda->bdaddr, BDADDR_BCM4384B0)) {
 		/* Try falling back to BDADDR EFI variable */
 		if (btbcm_set_bdaddr_from_efi(hdev) != 0) {
 			bt_dev_info(hdev, "BCM: Using default device address (%pMR)",
@@ -514,6 +516,8 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = {
 	{ 0x4106, "BCM4335A0"	},	/* 002.001.006 */
 	{ 0x410c, "BCM43430B0"	},	/* 002.001.012 */
 	{ 0x2119, "BCM4373A0"	},	/* 001.001.025 */
+	{ 0x2128, "BCM4384A0"	},	/* 001.001.040 */
+	{ 0x4119, "BCM4384B0"	},	/* 002.001.025 */
 	{ }
 };
 
drivers/bluetooth/hci_bcm.c +1 -0
index 9a103db7e355..e70b9f3fd968 100644
@@ -1593,6 +1593,7 @@ static const struct of_device_id bcm_bluetooth_of_match[] = {
 	{ .compatible = "brcm,bcm4349-bt", .data = &bcm43438_device_data },
 	{ .compatible = "brcm,bcm43540-bt", .data = &bcm4354_device_data },
 	{ .compatible = "brcm,bcm4335a0" },
+	{ .compatible = "brcm,bcm4384-bt" },
 	{ .compatible = "cypress,cyw4373a0-bt", .data = &cyw4373a0_device_data },
 	{ .compatible = "infineon,cyw55572-bt", .data = &cyw55572_device_data },
 	{ },
Signature · 1 line
2.43.0
Reviewed-by on v1 2/2
#6 lore raw

Re: [PATCH 2/2] Bluetooth: btbcm: Add Synaptics 4384 chip support

Dear Kaihsin,

Thank you for your patch. Please remember to version patch iterations. This should have been [PATCH v2 …]. git format-patch -v2 … would do that.

Am 17.08.26 um 11:55 schrieb Kaihsin Chung:

Quoted 2 lines

Add support for the Synaptics 4384 Bluetooth controller by adding the corresponding chip IDs.

Please add a blank line between paragraphs.

Quoted 1 line

Verify the change on the VIM3 platform.Verified

Please add a dot after the dot/period.

Quoted 3 lines

that the controller initializes successfully and that firmware loading and basic Bluetooth operation work as expected.

What is the VIM3 platform. Maybe extend a little. You could also paste the new message.

Quoted 42 lines
---
  drivers/bluetooth/btbcm.c   | 6 +++++-
  drivers/bluetooth/hci_bcm.c | 1 +
  2 files changed, 6 insertions(+), 1 deletion(-)
drivers/bluetooth/btbcm.c +5 -1
index 463d59890bef..63c4c788d9c4 100644
@@ -31,6 +31,7 @@
  #define BDADDR_BCM4334B0 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb0, 0x34, 0x43}})
  #define BDADDR_BCM4345C5 (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0xc5, 0x45, 0x43}})
  #define BDADDR_BCM43341B (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0x1b, 0x34, 0x43}})
+#define BDADDR_BCM4384B0 (&(bdaddr_t) {{0x93, 0x76, 0x00, 0xb0, 0x84, 0x43}})
 
  #define BCM_FW_NAME_LEN			64
  #define BCM_FW_NAME_COUNT_MAX		4
@@ -130,7 +131,8 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
  	    !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) ||
  	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) ||
  	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A1) ||
-	    !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) {
+	    !bacmp(&bda->bdaddr, BDADDR_BCM43341B) ||
+	    !bacmp(&bda->bdaddr, BDADDR_BCM4384B0)) {
  		/* Try falling back to BDADDR EFI variable */
  		if (btbcm_set_bdaddr_from_efi(hdev) != 0) {
  			bt_dev_info(hdev, "BCM: Using default device address (%pMR)",
@@ -514,6 +516,8 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = {
  	{ 0x4106, "BCM4335A0"	},	/* 002.001.006 */
  	{ 0x410c, "BCM43430B0"	},	/* 002.001.012 */
  	{ 0x2119, "BCM4373A0"	},	/* 001.001.025 */
+	{ 0x2128, "BCM4384A0"	},	/* 001.001.040 */
+	{ 0x4119, "BCM4384B0"	},	/* 002.001.025 */
  	{ }
  };
 
drivers/bluetooth/hci_bcm.c +0 -0
index 9a103db7e355..e70b9f3fd968 100644

drivers/bluetooth/hci_bcm.c static const struct of_device_id bcm_bluetooth_of_match[] = { · line 1599

Quoted 7 lines
drivers/bluetooth/hci_bcm.c +1 -0
@@ -1593,6 +1593,7 @@ static const struct of_device_id bcm_bluetooth_of_match[] = {
  	{ .compatible = "brcm,bcm4349-bt", .data = &bcm43438_device_data },
  	{ .compatible = "brcm,bcm43540-bt", .data = &bcm4354_device_data },
  	{ .compatible = "brcm,bcm4335a0" },
+	{ .compatible = "brcm,bcm4384-bt" },
  	{ .compatible = "cypress,cyw4373a0-bt", .data = &cyw4373a0_device_data },
  	{ .compatible = "infineon,cyw55572-bt", .data = &cyw55572_device_data },
  	{ },

Please feel free to add:

Kind regards,

Paul

#7 lore raw
In reply to Kaihsin Chung
This series was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This series was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 9 lines · On Mon, 17 Aug 2026 17:55:48 +0800 you wrote:

The first patch adds the BCM4384 Device Tree compatible string. The second patch adds the controller support to the Broadcom Bluetooth driver

Kaihsin Chung (2):
dt-bindings: net: bluetooth: add BCM4384
Bluetooth: btbcm: Add Synaptics 4384 chip support

[...]

Here is the summary with links:
- [1/2] dt-bindings: net: bluetooth: add BCM4384

    https://git.kernel.org/bluetooth/bluetooth-next/c/29d82dcf7273
  - [2/2] Bluetooth: btbcm: Add Synaptics 4384 chip support
    https://git.kernel.org/bluetooth/bluetooth-next/c/9aa9447804c7

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html