SpacemiT: Add proper bluetooth support for RTL8852BS
For both `legacy` and `current` kernel. Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
This commit is contained in:
parent
b572f30472
commit
e8db1ce6d1
@ -1,3 +1,29 @@
|
||||
From 4e85858c9a2217f93b34fd767488de2123f99fea Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Yavitz <pyavitz@armbian.com>
|
||||
Date: Wed, 26 Jun 2024 06:01:30 -0400
|
||||
Subject: [PATCH] Bluetooth: hci_h5: Add support for RTL8852BS
|
||||
|
||||
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
|
||||
---
|
||||
drivers/bluetooth/hci_h5.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
|
||||
index e90670955df2..a05ab0c37e81 100644
|
||||
--- a/drivers/bluetooth/hci_h5.c
|
||||
+++ b/drivers/bluetooth/hci_h5.c
|
||||
@@ -1106,6 +1106,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
|
||||
.data = (const void *)&h5_data_rtl8723bs },
|
||||
{ .compatible = "realtek,rtl8723ds-bt",
|
||||
.data = (const void *)&h5_data_rtl8723bs },
|
||||
+ { .compatible = "realtek,rtl8852bs-bt",
|
||||
+ .data = (const void *)&h5_data_rtl8723bs },
|
||||
#endif
|
||||
{ },
|
||||
};
|
||||
--
|
||||
2.39.2
|
||||
|
||||
From 1fb7281c62c944405960a52a70b20a3bdb1a024a Mon Sep 17 00:00:00 2001
|
||||
From: Victor Hassan <victor@allwinnertech.com>
|
||||
Date: Wed, 22 Feb 2023 17:47:20 +0800
|
||||
|
||||
@ -0,0 +1,71 @@
|
||||
From 4e85858c9a2217f93b34fd767488de2123f99fea Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Yavitz <pyavitz@armbian.com>
|
||||
Date: Wed, 26 Jun 2024 06:01:30 -0400
|
||||
Subject: [PATCH] Bluetooth: hci_h5: Add support for RTL8852BS
|
||||
|
||||
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
|
||||
---
|
||||
drivers/bluetooth/hci_h5.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
|
||||
index e90670955df2..a05ab0c37e81 100644
|
||||
--- a/drivers/bluetooth/hci_h5.c
|
||||
+++ b/drivers/bluetooth/hci_h5.c
|
||||
@@ -1106,6 +1106,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
|
||||
.data = (const void *)&h5_data_rtl8723bs },
|
||||
{ .compatible = "realtek,rtl8723ds-bt",
|
||||
.data = (const void *)&h5_data_rtl8723bs },
|
||||
+ { .compatible = "realtek,rtl8852bs-bt",
|
||||
+ .data = (const void *)&h5_data_rtl8723bs },
|
||||
#endif
|
||||
{ },
|
||||
};
|
||||
--
|
||||
2.39.2
|
||||
|
||||
From 1fb7281c62c944405960a52a70b20a3bdb1a024a Mon Sep 17 00:00:00 2001
|
||||
From: Victor Hassan <victor@allwinnertech.com>
|
||||
Date: Wed, 22 Feb 2023 17:47:20 +0800
|
||||
Subject: Bluetooth: btrtl: Add support for RTL8852BS
|
||||
|
||||
Add the support for RTL8852BS BT controller on UART interface.
|
||||
The necessary firmware file will be submitted to linux-firmware.
|
||||
|
||||
Signed-off-by: Victor Hassan <victor@allwinnertech.com>
|
||||
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|
||||
---
|
||||
drivers/bluetooth/btrtl.c | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
|
||||
index 69c3fe649ca7d..aee75f278e60d 100644
|
||||
--- a/drivers/bluetooth/btrtl.c
|
||||
+++ b/drivers/bluetooth/btrtl.c
|
||||
@@ -190,6 +190,14 @@ static const struct id_table ic_id_table[] = {
|
||||
.fw_name = "rtl_bt/rtl8852au_fw.bin",
|
||||
.cfg_name = "rtl_bt/rtl8852au_config" },
|
||||
|
||||
+ /* 8852B with UART interface */
|
||||
+ { IC_INFO(RTL_ROM_LMP_8852A, 0xb, 0xb, HCI_UART),
|
||||
+ .config_needed = true,
|
||||
+ .has_rom_version = true,
|
||||
+ .has_msft_ext = true,
|
||||
+ .fw_name = "rtl_bt/rtl8852bs_fw.bin",
|
||||
+ .cfg_name = "rtl_bt/rtl8852bs_config" },
|
||||
+
|
||||
/* 8852B */
|
||||
{ IC_INFO(RTL_ROM_LMP_8852A, 0xb, 0xb, HCI_USB),
|
||||
.config_needed = false,
|
||||
@@ -963,6 +971,8 @@ MODULE_FIRMWARE("rtl_bt/rtl8822b_fw.bin");
|
||||
MODULE_FIRMWARE("rtl_bt/rtl8822b_config.bin");
|
||||
MODULE_FIRMWARE("rtl_bt/rtl8852au_fw.bin");
|
||||
MODULE_FIRMWARE("rtl_bt/rtl8852au_config.bin");
|
||||
+MODULE_FIRMWARE("rtl_bt/rtl8852bs_fw.bin");
|
||||
+MODULE_FIRMWARE("rtl_bt/rtl8852bs_config.bin");
|
||||
MODULE_FIRMWARE("rtl_bt/rtl8852bu_fw.bin");
|
||||
MODULE_FIRMWARE("rtl_bt/rtl8852bu_config.bin");
|
||||
MODULE_FIRMWARE("rtl_bt/rtl8852cu_fw.bin");
|
||||
--
|
||||
cgit 1.2.3-korg
|
||||
|
||||
Loading…
Reference in New Issue
Block a user