Message ID | 20230112094240.49794-1-victor@allwinnertech.com |
---|---|
State | Superseded |
Headers | show |
Series | Bluetooth: btrtl: Add support for RTL8852BS | expand |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=711242 ---Test result--- Test Summary: CheckPatch PASS 0.94 seconds GitLint PASS 0.33 seconds SubjectPrefix PASS 0.11 seconds BuildKernel PASS 31.76 seconds CheckAllWarning PASS 33.94 seconds CheckSparse WARNING 38.49 seconds CheckSmatch WARNING 107.54 seconds BuildKernel32 PASS 29.94 seconds TestRunnerSetup PASS 433.26 seconds TestRunner_l2cap-tester PASS 16.07 seconds TestRunner_iso-tester PASS 16.08 seconds TestRunner_bnep-tester PASS 5.53 seconds TestRunner_mgmt-tester PASS 106.54 seconds TestRunner_rfcomm-tester PASS 8.71 seconds TestRunner_sco-tester PASS 8.00 seconds TestRunner_ioctl-tester PASS 9.35 seconds TestRunner_mesh-tester PASS 7.10 seconds TestRunner_smp-tester PASS 7.89 seconds TestRunner_userchan-tester PASS 5.81 seconds IncrementalBuild PASS 28.34 seconds Details ############################## Test: CheckSparse - WARNING Desc: Run sparse tool with linux kernel Output: drivers/bluetooth/btrtl.c: note: in included file:drivers/bluetooth/btrtl.h:47:45: warning: array of flexible structures ############################## Test: CheckSmatch - WARNING Desc: Run smatch tool with source Output: drivers/bluetooth/btrtl.c: note: in included file:drivers/bluetooth/btrtl.h:47:45: warning: array of flexible structures --- Regards, Linux Bluetooth
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index 69c3fe649ca7..36c3a23324f8 100644 --- a/drivers/bluetooth/btrtl.c +++ b/drivers/bluetooth/btrtl.c @@ -198,6 +198,14 @@ static const struct id_table ic_id_table[] = { .fw_name = "rtl_bt/rtl8852bu_fw.bin", .cfg_name = "rtl_bt/rtl8852bu_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" }, + /* 8852C */ { IC_INFO(RTL_ROM_LMP_8852A, 0xc, 0xc, HCI_USB), .config_needed = false, @@ -965,5 +973,7 @@ MODULE_FIRMWARE("rtl_bt/rtl8852au_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852au_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852bu_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852bu_config.bin"); +MODULE_FIRMWARE("rtl_bt/rtl8852bs_fw.bin"); +MODULE_FIRMWARE("rtl_bt/rtl8852bs_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852cu_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852cu_config.bin");
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> --- drivers/bluetooth/btrtl.c | 10 ++++++++++ 1 file changed, 10 insertions(+)