OSDN Git Service

Bluetooth:: btrtl: Add support for RTL8723DU
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 29 May 2019 18:12:34 +0000 (13:12 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jul 2019 11:00:58 +0000 (13:00 +0200)
This device is functionally equivalent to the BT part of the RTL8723DE,
uses the same firmware, but the LMP subversion and HCI revision are unique.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btrtl.c

index d04b443..4f75a9b 100644 (file)
@@ -21,6 +21,7 @@
 #define RTL_ROM_LMP_3499       0x3499
 #define RTL_ROM_LMP_8723A      0x1200
 #define RTL_ROM_LMP_8723B      0x8723
+#define RTL_ROM_LMP_8723D      0x8873
 #define RTL_ROM_LMP_8821A      0x8821
 #define RTL_ROM_LMP_8761A      0x8761
 #define RTL_ROM_LMP_8822B      0x8822
@@ -107,6 +108,13 @@ static const struct id_table ic_id_table[] = {
          .fw_name  = "rtl_bt/rtl8723ds_fw.bin",
          .cfg_name = "rtl_bt/rtl8723ds_config" },
 
+       /* 8723DU */
+       { IC_INFO(RTL_ROM_LMP_8723D, 0x826C),
+         .config_needed = true,
+         .has_rom_version = true,
+         .fw_name  = "rtl_bt/rtl8723d_fw.bin",
+         .cfg_name = "rtl_bt/rtl8723d_config" },
+
        /* 8821A */
        { IC_INFO(RTL_ROM_LMP_8821A, 0xa),
          .config_needed = false,