1 From 9dcea546a8f8ccd054e693b3ab124f49886de2ab Mon Sep 17 00:00:00 2001
2 From: Mohammad Rasim <mohammad.rasim96@gmail.com>
3 Date: Wed, 20 Nov 2019 14:02:35 +0300
4 Subject: [PATCH] Bluetooth: btbcm: Add entry for BCM4335A0 UART
7 commit 1199ab4c9e1d4cdfbabd70b4aadbc8e72c691f65 upstream.
9 This patch adds the device ID for the BCM4335A0 module
10 (part of the AMPAK AP6335 WIFI/Bluetooth combo)
14 hci1: Type: Primary Bus: UART
15 BD Address: 43:35:B0:07:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1
17 RX bytes:5079 acl:0 sco:0 events:567 errors:0
18 TX bytes:69065 acl:0 sco:0 commands:567 errors:0
19 Features: 0xbf 0xfe 0xcf 0xff 0xdf 0xff 0x7b 0x87
20 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
21 Link policy: RSWITCH SNIFF
22 Link mode: SLAVE ACCEPT
25 Service Classes: Unspecified
26 Device Class: Miscellaneous,
27 HCI Version: 4.0 (0x6) Revision: 0x161
28 LMP Version: 4.0 (0x6) Subversion: 0x4106
29 Manufacturer: Broadcom Corporation (15)
32 Signed-off-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
33 Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
35 drivers/bluetooth/btbcm.c | 1 +
36 drivers/bluetooth/hci_bcm.c | 1 +
37 2 files changed, 2 insertions(+)
39 --- a/drivers/bluetooth/btbcm.c
40 +++ b/drivers/bluetooth/btbcm.c
41 @@ -340,6 +340,7 @@ static const struct bcm_subver_table bcm
42 { 0x220e, "BCM20702A1" }, /* 001.002.014 */
43 { 0x4217, "BCM4329B1" }, /* 002.002.023 */
44 { 0x6106, "BCM4359C0" }, /* 003.001.006 */
45 + { 0x4106, "BCM4335A0" }, /* 002.001.006 */
49 --- a/drivers/bluetooth/hci_bcm.c
50 +++ b/drivers/bluetooth/hci_bcm.c
51 @@ -1428,6 +1428,7 @@ static const struct of_device_id bcm_blu
52 { .compatible = "brcm,bcm4330-bt" },
53 { .compatible = "brcm,bcm43438-bt" },
54 { .compatible = "brcm,bcm43540-bt" },
55 + { .compatible = "brcm,bcm4335a0" },
58 MODULE_DEVICE_TABLE(of, bcm_bluetooth_of_match);