[2/2] Bluetooth: btbcm: Add BCM4330 and BCM4334 compatibles

Message ID 20210318084309.401951-2-linus.walleij@linaro.org
State Accepted
Commit 81534d4835de52758176909f3e446f1d49809241
Headers show
Series
  • [1/2] Bluetooth: btbcm: Add BCM4334 DT binding
Related show

Commit Message

Linus Walleij March 18, 2021, 8:43 a.m.
Add the missing brcm,bcm4330-bt and brcm,bcm4334-bt to the
match table so device trees can use this compatible as well
and not need to use the fallback brcm,bcm4329-bt.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/bluetooth/hci_bcm.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.29.2

Comments

Marcel Holtmann March 18, 2021, 9:18 a.m. | #1
Hi Linus,

> Add the missing brcm,bcm4330-bt and brcm,bcm4334-bt to the

> match table so device trees can use this compatible as well

> and not need to use the fallback brcm,bcm4329-bt.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

> drivers/bluetooth/hci_bcm.c | 2 ++

> 1 file changed, 2 insertions(+)


patch has been applied to bluetooth-next tree.

Regards

Marcel

Patch

diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 3764ceb6fa0d..c6e9237e084e 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -1482,6 +1482,8 @@  static struct bcm_device_data bcm43438_device_data = {
 static const struct of_device_id bcm_bluetooth_of_match[] = {
 	{ .compatible = "brcm,bcm20702a1" },
 	{ .compatible = "brcm,bcm4329-bt" },
+	{ .compatible = "brcm,bcm4330-bt" },
+	{ .compatible = "brcm,bcm4334-bt" },
 	{ .compatible = "brcm,bcm4345c5" },
 	{ .compatible = "brcm,bcm4330-bt" },
 	{ .compatible = "brcm,bcm43438-bt", .data = &bcm43438_device_data },