Skip to content

Commit 4cc58a0

Browse files
committed
Merge tag 'for-net-next-2022-12-12' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
Luiz Augusto von Dentz says: ==================== bluetooth-next pull request for net-next: - Add a new VID/PID 0489/e0f2 for MT7922 - Add Realtek RTL8852BE support ID 0x0cb8:0xc559 - Add a new PID/VID 13d3/3549 for RTL8822CU - Add support for broadcom BCM43430A0 & BCM43430A1 - Add CONFIG_BT_HCIBTUSB_POLL_SYNC - Add CONFIG_BT_LE_L2CAP_ECRED - Add support for CYW4373A0 - Add support for RTL8723DS - Add more device IDs for WCN6855 - Add Broadcom BCM4377 family PCIe Bluetooth * tag 'for-net-next-2022-12-12' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next: (51 commits) Bluetooth: Wait for HCI_OP_WRITE_AUTH_PAYLOAD_TO to complete Bluetooth: ISO: Avoid circular locking dependency Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave() Bluetooth: btintel: Fix missing free skb in btintel_setup_combined() Bluetooth: hci_conn: Fix crash on hci_create_cis_sync Bluetooth: btintel: Fix existing sparce warnings Bluetooth: btusb: Fix existing sparce warning Bluetooth: btusb: Fix new sparce warnings Bluetooth: btusb: Add a new PID/VID 13d3/3549 for RTL8822CU Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559 dt-bindings: net: realtek-bluetooth: Add RTL8723DS Bluetooth: btusb: Add a new VID/PID 0489/e0f2 for MT7922 dt-bindings: bluetooth: broadcom: add BCM43430A0 & BCM43430A1 Bluetooth: hci_bcm4377: Fix missing pci_disable_device() on error in bcm4377_probe() ... ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 95d1815 + 7aca0ac commit 4cc58a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3117
-121
lines changed

Documentation/devicetree/bindings/net/bluetooth.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/bluetooth/bluetooth-controller.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Bluetooth Controller Generic Binding
8+
9+
maintainers:
10+
- Marcel Holtmann <[email protected]>
11+
- Johan Hedberg <[email protected]>
12+
- Luiz Augusto von Dentz <[email protected]>
13+
14+
properties:
15+
$nodename:
16+
pattern: "^bluetooth(@.*)?$"
17+
18+
local-bd-address:
19+
$ref: /schemas/types.yaml#/definitions/uint8-array
20+
maxItems: 6
21+
description:
22+
Specifies the BD address that was uniquely assigned to the Bluetooth
23+
device. Formatted with least significant byte first (little-endian), e.g.
24+
in order to assign the address 00:11:22:33:44:55 this property must have
25+
the value [55 44 33 22 11 00].
26+
27+
additionalProperties: true
28+
29+
...
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/bluetooth/brcm,bcm4377-bluetooth.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom BCM4377 family PCIe Bluetooth Chips
8+
9+
maintainers:
10+
- Sven Peter <[email protected]>
11+
12+
description:
13+
This binding describes Broadcom BCM4377 family PCIe-attached bluetooth chips
14+
usually found in Apple machines. The Wi-Fi part of the chip is described in
15+
bindings/net/wireless/brcm,bcm4329-fmac.yaml.
16+
17+
allOf:
18+
- $ref: bluetooth-controller.yaml#
19+
20+
properties:
21+
compatible:
22+
enum:
23+
- pci14e4,5fa0 # BCM4377
24+
- pci14e4,5f69 # BCM4378
25+
- pci14e4,5f71 # BCM4387
26+
27+
reg:
28+
maxItems: 1
29+
30+
brcm,board-type:
31+
$ref: /schemas/types.yaml#/definitions/string
32+
description: Board type of the Bluetooth chip. This is used to decouple
33+
the overall system board from the Bluetooth module and used to construct
34+
firmware and calibration data filenames.
35+
On Apple platforms, this should be the Apple module-instance codename
36+
prefixed by "apple,", e.g. "apple,atlantisb".
37+
pattern: '^apple,.*'
38+
39+
brcm,taurus-cal-blob:
40+
$ref: /schemas/types.yaml#/definitions/uint8-array
41+
description: A per-device calibration blob for the Bluetooth radio. This
42+
should be filled in by the bootloader from platform configuration
43+
data, if necessary, and will be uploaded to the device.
44+
This blob is used if the chip stepping of the Bluetooth module does not
45+
support beamforming.
46+
47+
brcm,taurus-bf-cal-blob:
48+
$ref: /schemas/types.yaml#/definitions/uint8-array
49+
description: A per-device calibration blob for the Bluetooth radio. This
50+
should be filled in by the bootloader from platform configuration
51+
data, if necessary, and will be uploaded to the device.
52+
This blob is used if the chip stepping of the Bluetooth module supports
53+
beamforming.
54+
55+
local-bd-address: true
56+
57+
required:
58+
- compatible
59+
- reg
60+
- local-bd-address
61+
- brcm,board-type
62+
63+
additionalProperties: false
64+
65+
examples:
66+
- |
67+
pcie@a0000000 {
68+
#address-cells = <3>;
69+
#size-cells = <2>;
70+
reg = <0xa0000000 0x1000000>;
71+
device_type = "pci";
72+
ranges = <0x43000000 0x6 0xa0000000 0xa0000000 0x0 0x20000000>;
73+
74+
bluetooth@0,1 {
75+
compatible = "pci14e4,5f69";
76+
reg = <0x100 0x0 0x0 0x0 0x0>;
77+
brcm,board-type = "apple,honshu";
78+
/* To be filled by the bootloader */
79+
local-bd-address = [00 00 00 00 00 00];
80+
};
81+
};

Documentation/devicetree/bindings/net/qualcomm-bluetooth.yaml renamed to Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/net/qualcomm-bluetooth.yaml#
4+
$id: http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Qualcomm Bluetooth Chips
@@ -79,8 +79,7 @@ properties:
7979
firmware-name:
8080
description: specify the name of nvm firmware to load
8181

82-
local-bd-address:
83-
description: see Documentation/devicetree/bindings/net/bluetooth.txt
82+
local-bd-address: true
8483

8584

8685
required:
@@ -89,6 +88,7 @@ required:
8988
additionalProperties: false
9089

9190
allOf:
91+
- $ref: bluetooth-controller.yaml#
9292
- if:
9393
properties:
9494
compatible:

Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ properties:
1919
- brcm,bcm4329-bt
2020
- brcm,bcm4330-bt
2121
- brcm,bcm4334-bt
22+
- brcm,bcm43430a0-bt
23+
- brcm,bcm43430a1-bt
2224
- brcm,bcm43438-bt
2325
- brcm,bcm4345c5
2426
- brcm,bcm43540-bt
2527
- brcm,bcm4335a0
2628
- brcm,bcm4349-bt
29+
- cypress,cyw4373a0-bt
2730
- infineon,cyw55572-bt
2831

2932
shutdown-gpios:

Documentation/devicetree/bindings/net/realtek-bluetooth.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
enum:
2121
- realtek,rtl8723bs-bt
2222
- realtek,rtl8723cs-bt
23+
- realtek,rtl8723ds-bt
2324
- realtek,rtl8822cs-bt
2425

2526
device-wake-gpios:

Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ properties:
4242
bluetooth:
4343
type: object
4444
additionalProperties: false
45+
allOf:
46+
- $ref: /schemas/net/bluetooth/bluetooth-controller.yaml#
4547
properties:
4648
compatible:
4749
const: qcom,wcnss-bt
4850

49-
local-bd-address:
50-
$ref: /schemas/types.yaml#/definitions/uint8-array
51-
maxItems: 6
52-
description:
53-
See Documentation/devicetree/bindings/net/bluetooth.txt
51+
local-bd-address: true
5452

5553
required:
5654
- compatible

MAINTAINERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,13 +1903,15 @@ F: Documentation/devicetree/bindings/interrupt-controller/apple,*
19031903
F: Documentation/devicetree/bindings/iommu/apple,dart.yaml
19041904
F: Documentation/devicetree/bindings/iommu/apple,sart.yaml
19051905
F: Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
1906+
F: Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml
19061907
F: Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
19071908
F: Documentation/devicetree/bindings/nvmem/apple,efuses.yaml
19081909
F: Documentation/devicetree/bindings/pci/apple,pcie.yaml
19091910
F: Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
19101911
F: Documentation/devicetree/bindings/power/apple*
19111912
F: Documentation/devicetree/bindings/watchdog/apple,wdt.yaml
19121913
F: arch/arm64/boot/dts/apple/
1914+
F: drivers/bluetooth/hci_bcm4377.c
19131915
F: drivers/clk/clk-apple-nco.c
19141916
F: drivers/dma/apple-admac.c
19151917
F: drivers/i2c/busses/i2c-pasemi-core.c

arch/arm64/boot/dts/apple/t8103-j274.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
};
2222
};
2323

24+
&bluetooth0 {
25+
brcm,board-type = "apple,atlantisb";
26+
};
27+
2428
&wifi0 {
2529
brcm,board-type = "apple,atlantisb";
2630
};

arch/arm64/boot/dts/apple/t8103-j293.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (13-inch, M1, 2020)";
1818
};
1919

20+
&bluetooth0 {
21+
brcm,board-type = "apple,honshu";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,honshu";
2226
};

0 commit comments

Comments
 (0)