/[packages]/cauldron/kernel/current/PATCHES/patches/0045-Bluetooth-btbcm-Add-entry-for-BCM4335C0-UART-bluetoo.patch
ViewVC logotype

Contents of /cauldron/kernel/current/PATCHES/patches/0045-Bluetooth-btbcm-Add-entry-for-BCM4335C0-UART-bluetoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1329221 - (show annotations) (download)
Fri Nov 9 22:05:45 2018 UTC (5 years, 9 months ago) by tmb
File size: 2252 byte(s)
add fixes from sashas autosel queue
1 From 9327029dd7636a41bdcbb872d4411e31062cf855 Mon Sep 17 00:00:00 2001
2 From: Christian Hewitt <christianshewitt@gmail.com>
3 Date: Tue, 4 Sep 2018 21:50:57 +0400
4 Subject: [PATCH 045/145] Bluetooth: btbcm: Add entry for BCM4335C0 UART
5 bluetooth
6
7 [ Upstream commit a357ea098c9605f60d92a66a9073f56ce25726da ]
8
9 This patch adds the device ID for the AMPAK AP6335 combo module used
10 in the 1st generation WeTek Hub Android/LibreELEC HTPC box. The WiFI
11 chip identifies itself as BCM4339, while Bluetooth identifies itself
12 as BCM4335 (rev C0):
13
14 ```
15 [ 4.864248] Bluetooth: hci0: BCM: chip id 86
16 [ 4.866388] Bluetooth: hci0: BCM: features 0x2f
17 [ 4.889317] Bluetooth: hci0: BCM4335C0
18 [ 4.889332] Bluetooth: hci0: BCM4335C0 (003.001.009) build 0000
19 [ 9.778383] Bluetooth: hci0: BCM4335C0 (003.001.009) build 0268
20 ```
21
22 Output from hciconfig:
23
24 ```
25 hci0: Type: Primary Bus: UART
26 BD Address: 43:39:00:00:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1
27 UP RUNNING
28 RX bytes:7567 acl:234 sco:0 events:386 errors:0
29 TX bytes:53844 acl:77 sco:0 commands:304 errors:0
30 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
31 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
32 Link policy: RSWITCH SNIFF
33 Link mode: SLAVE ACCEPT
34 Name: 'HUB'
35 Class: 0x0c0000
36 Service Classes: Rendering, Capturing
37 Device Class: Miscellaneous,
38 HCI Version: 4.0 (0x6) Revision: 0x10c
39 LMP Version: 4.0 (0x6) Subversion: 0x6109
40 Manufacturer: Broadcom Corporation (15)
41 ```
42
43 Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
44 Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
45 Signed-off-by: Sasha Levin <sashal@kernel.org>
46 ---
47 drivers/bluetooth/btbcm.c | 1 +
48 1 file changed, 1 insertion(+)
49
50 diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
51 index 99cde1f9467d..e3e4d929e74f 100644
52 --- a/drivers/bluetooth/btbcm.c
53 +++ b/drivers/bluetooth/btbcm.c
54 @@ -324,6 +324,7 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = {
55 { 0x4103, "BCM4330B1" }, /* 002.001.003 */
56 { 0x410e, "BCM43341B0" }, /* 002.001.014 */
57 { 0x4406, "BCM4324B3" }, /* 002.004.006 */
58 + { 0x6109, "BCM4335C0" }, /* 003.001.009 */
59 { 0x610c, "BCM4354" }, /* 003.001.012 */
60 { 0x2122, "BCM4343A0" }, /* 001.001.034 */
61 { 0x2209, "BCM43430A1" }, /* 001.002.009 */
62 --
63 2.19.1
64

  ViewVC Help
Powered by ViewVC 1.1.30