Bluetooth: btrtl: Add support for RTL8852BS
authorVictor Hassan <victor@allwinnertech.com>
Wed, 22 Feb 2023 09:47:20 +0000 (17:47 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 04:45:44 +0000 (21:45 -0700)
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

index 69c3fe649ca7dd6a6143ce002717a4ca691e08f6..aee75f278e60d24a11141ffa7940f82fae4697d1 100644 (file)
@@ -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");