diff mbox series

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

Message ID aec48a97736bf95c1caaaed0a6f23c07568639ce.1666786471.git.matthias.schiffer@ew.tq-group.com (mailing list archive)
State RFC
Headers show
Series "notify-device" for cross-driver readiness notification | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Matthias Schiffer Oct. 26, 2022, 1:15 p.m. UTC
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 mbox series

Patch

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);