[RFC 4/5] bluetooth: hci_mrvl: add support for SD8987

From: Matthias Schiffer
Date: Wed Oct 26 2022 - 09:17:03 EST


Do not load any firmwares, and instead expect the firmware to be
initialized by the WLAN driver.

Signed-off-by: Matthias Schiffer <matthias.schiffer@xxxxxxxxxxxxxxx>
---
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