Skip to contentSkip to conversation

dt-bindings: net: Add compatible for BCM4335A0 bluetooth module

PATCH Superseded Mohammad Rasim 2 participants 4 messages Nov 19, 2019 – Nov 20, 2019 1 message not in the archive

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#1 lore raw

PATCH 1/2 dt-bindings: net: Add compatible for BCM4335A0 bluetooth module

In reply to a message not in the archive

Available in the Ampak AP6335 WiFi/Bluetooth combo

---
 Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +1 -0
index 4fa00e2eafcf..0717399191a2 100644
@@ -14,6 +14,7 @@ Required properties:
    * "brcm,bcm4330-bt"
    * "brcm,bcm43438-bt"
    * "brcm,bcm4345c5"
+   * "brcm,bcm4335a0"
 
 Optional properties:
 
Signature · 1 line
2.24.0
#4 lore raw

PATCH 2/2 Bluetooth: btbcm: Add entry for BCM4335A0 UART bluetooth

In reply to a message not in the archive

This patch adds the device ID for the BCM4335A0 module (part of the AMPAK AP6335 WIFI/Bluetooth combo)

hciconfig output:

```
hci1:   Type: Primary  Bus: UART
        BD Address: 43:35:B0:07:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:5079 acl:0 sco:0 events:567 errors:0
        TX bytes:69065 acl:0 sco:0 commands:567 errors:0
        Features: 0xbf 0xfe 0xcf 0xff 0xdf 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: SLAVE ACCEPT
        Name: 'alarm'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Version: 4.0 (0x6)  Revision: 0x161
        LMP Version: 4.0 (0x6)  Subversion: 0x4106
        Manufacturer: Broadcom Corporation (15)
```
---
 drivers/bluetooth/btbcm.c   | 1 +
 drivers/bluetooth/hci_bcm.c | 1 +
 2 files changed, 2 insertions(+)
drivers/bluetooth/btbcm.c +1 -0
index 2d2e6d862068..22464bf8cda3 100644
@@ -339,6 +339,7 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = {
 	{ 0x220e, "BCM20702A1"  },	/* 001.002.014 */
 	{ 0x4217, "BCM4329B1"   },	/* 002.002.023 */
 	{ 0x6106, "BCM4359C0"	},	/* 003.001.006 */
+	{ 0x4106, "BCM4335A0"	},	/* 002.001.006 */
 	{ }
 };
 
drivers/bluetooth/hci_bcm.c +1 -0
index 7646636f2d18..7eba10b0ae6c 100644
@@ -1422,6 +1422,7 @@ static const struct of_device_id bcm_bluetooth_of_match[] = {
 	{ .compatible = "brcm,bcm4345c5" },
 	{ .compatible = "brcm,bcm4330-bt" },
 	{ .compatible = "brcm,bcm43438-bt" },
+	{ .compatible = "brcm,bcm4335a0" },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, bcm_bluetooth_of_match);
Signature · 1 line
2.24.0
maintainer
#2 lore raw
In reply to Mohammad Rasim

Hi Mohammad,

Quoted 12 lines

Available in the Ampak AP6335 WiFi/Bluetooth combo

---
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 +

1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +0 -0
index 4fa00e2eafcf..0717399191a2 100644

Documentation/devicetree/bindings/net/broadcom-bluetooth.txt Required properties: · line 17

Quoted 4 lines
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +1 -0
@@ -14,6 +14,7 @@ Required properties:
   * "brcm,bcm4330-bt"
   * "brcm,bcm43438-bt"
   * "brcm,bcm4345c5"
+   * "brcm,bcm4335a0"

this patch doesn’t apply to latest bluetooth-next tree.

Regards

Marcel

#3 lore raw
Quoted 9 lines · Marcel Holtmann

Hi Mohammad,

Quoted 7 lines

Available in the Ampak AP6335 WiFi/Bluetooth combo

---
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 1 +

1 file changed, 1 insertion(+)
Quoted 12 lines

Documentation/devicetree/bindings/net/broadcom-bluetooth.txt Required properties: · line 17

Quoted 9 lines
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +1 -0
index 4fa00e2eafcf..0717399191a2 100644
@@ -14,6 +14,7 @@ Required properties:
   * "brcm,bcm4330-bt"
   * "brcm,bcm43438-bt"
   * "brcm,bcm4345c5"
+   * "brcm,bcm4335a0"

this patch doesn’t apply to latest bluetooth-next tree.

Rebased and resent

Regards

Quoted 4 lines

Regards

Marcel