lkml.org 
[lkml]   [2022]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 4/5] bluetooth: hci_mrvl: add support for SD8987
Date
Do not load any firmwares, and instead expect the firmware to be
initialized by the WLAN driver.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
---
drivers/bluetooth/hci_mrvl.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/bluetooth/hci_mrvl.c b/drivers/bluetooth/hci_mrvl.c
index 5d191687a34a..b7d764e6010f 100644
--- a/drivers/bluetooth/hci_mrvl.c
+++ b/drivers/bluetooth/hci_mrvl.c
@@ -44,6 +44,8 @@ static const struct mrvl_driver_info mrvl_driver_info_8897 = {
.firmware = "mrvl/uart8897_bt.bin",
};

+static const struct mrvl_driver_info mrvl_driver_info_8987 = {};
+
/* Fallback for non-OF instances */
static const struct mrvl_driver_info *const mrvl_driver_info_default =
&mrvl_driver_info_8897;
@@ -452,6 +454,7 @@ static void mrvl_serdev_remove(struct serdev_device *serdev)
#ifdef CONFIG_OF
static const struct of_device_id mrvl_bluetooth_of_match[] = {
{ .compatible = "mrvl,88w8897", .data = &mrvl_driver_info_8897 },
+ { .compatible = "marvell,sd8987-bt", .data = &mrvl_driver_info_8987 },
{ },
};
MODULE_DEVICE_TABLE(of, mrvl_bluetooth_of_match);
--
2.25.1
\
 
 \ /
  Last update: 2022-10-26 15:17    [W:0.129 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site