[PATCH 1/1] Bluetooth: btrtl: Add support for RTL8822C with USB interface
Aaron Ma
aaron.ma at canonical.com
Fri Oct 25 03:58:16 UTC 2019
From: Alex Lu <alex_lu at realsil.com.cn>
BugLink: https://bugs.launchpad.net/bugs/1849598
This device is included in the RTL8822CU combination wifi and BT part,
as well as the BT part of the RTL8822CE.
The necessary firmware has been submitted to the linux-firmware
project.
Signed-off-by: Alex Lu <alex_lu at realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
Signed-off-by: Marcel Holtmann <marcel at holtmann.org>
(backported from commit 8ecfdc95b30a17b0c27ace6f13a1c4fb37e2bb96)
Signed-off-by: Aaron Ma <aaron.ma at canonical.com>
---
drivers/bluetooth/btrtl.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 437f080deaab..6b5bb55a0b64 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -82,6 +82,12 @@ static const struct id_table ic_id_table[] = {
.fw_name = "rtl_bt/rtl8761a_fw.bin",
.cfg_name = "rtl_bt/rtl8761a_config.bin" },
+ /* 8822C with USB interface */
+ { IC_INFO(RTL_ROM_LMP_8822B, 0xc),
+ .config_needed = false,
+ .fw_name = "rtl_bt/rtl8822cu_fw.bin",
+ .cfg_name = "rtl_bt/rtl8822cu_config.bin" },
+
/* 8822B */
{ IC_INFO(RTL_ROM_LMP_8822B, 0xb),
.config_needed = true,
@@ -144,6 +150,7 @@ static int rtlbt_parse_firmware(struct hci_dev *hdev, u16 lmp_subver,
{ RTL_ROM_LMP_8822B, 8 },
{ RTL_ROM_LMP_8723B, 9 }, /* 8723D */
{ RTL_ROM_LMP_8821A, 10 }, /* 8821C */
+ { RTL_ROM_LMP_8822B, 13 }, /* 8822C */
};
ret = rtl_read_rom_version(hdev, &rom_version);
--
2.17.1
More information about the kernel-team
mailing list