Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: btrtl: Add support for RTL8852B

Add the support for RTL8852B BT controller on USB interface.
The necessary firmware file will be submitted to linux-firmware.

Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

authored by

Max Chou and committed by
Marcel Holtmann
18e8055c 32cb08e9

+13
+13
drivers/bluetooth/btrtl.c
··· 49 49 CHIP_ID_8822C = 13, 50 50 CHIP_ID_8761B, 51 51 CHIP_ID_8852A = 18, 52 + CHIP_ID_8852B = 20, 52 53 }; 53 54 54 55 struct id_table { ··· 188 187 .has_msft_ext = true, 189 188 .fw_name = "rtl_bt/rtl8852au_fw.bin", 190 189 .cfg_name = "rtl_bt/rtl8852au_config" }, 190 + 191 + /* 8852B */ 192 + { IC_INFO(RTL_ROM_LMP_8852A, 0xb, 0xb, HCI_USB), 193 + .config_needed = false, 194 + .has_rom_version = true, 195 + .has_msft_ext = true, 196 + .fw_name = "rtl_bt/rtl8852bu_fw.bin", 197 + .cfg_name = "rtl_bt/rtl8852bu_config" }, 191 198 }; 192 199 193 200 static const struct id_table *btrtl_match_ic(u16 lmp_subver, u16 hci_rev, ··· 304 295 { RTL_ROM_LMP_8822B, 13 }, /* 8822C */ 305 296 { RTL_ROM_LMP_8761A, 14 }, /* 8761B */ 306 297 { RTL_ROM_LMP_8852A, 18 }, /* 8852A */ 298 + { RTL_ROM_LMP_8852A, 20 }, /* 8852B */ 307 299 }; 308 300 309 301 min_size = sizeof(struct rtl_epatch_header) + sizeof(extension_sig) + 3; ··· 767 757 switch (btrtl_dev->project_id) { 768 758 case CHIP_ID_8822C: 769 759 case CHIP_ID_8852A: 760 + case CHIP_ID_8852B: 770 761 set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks); 771 762 set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks); 772 763 hci_set_aosp_capable(hdev); ··· 945 934 MODULE_FIRMWARE("rtl_bt/rtl8822b_config.bin"); 946 935 MODULE_FIRMWARE("rtl_bt/rtl8852au_fw.bin"); 947 936 MODULE_FIRMWARE("rtl_bt/rtl8852au_config.bin"); 937 + MODULE_FIRMWARE("rtl_bt/rtl8852bu_fw.bin"); 938 + MODULE_FIRMWARE("rtl_bt/rtl8852bu_config.bin");