[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200410140010.105317-2-sztsian@gmail.com>
Date: Fri, 10 Apr 2020 22:00:10 +0800
From: sztsian@...il.com
To: marcel@...tmann.org, johan.hedberg@...il.com,
linux-bluetooth@...r.kernel.org
Cc: sztsian@...il.com, linux-kernel@...r.kernel.org, icenowy@...c.io
Subject: [PATCH 1/1] Bluetooth: btrtl: Add support for RTL8761B
From: "Ziqian SUN (Zamir)" <sztsian@...il.com>
Add new compatible device RTL8761B.
Signed-off-by: Ziqian SUN (Zamir) <sztsian@...il.com>
---
drivers/bluetooth/btrtl.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 67f4bc21e7c5..1f0fbb3e6286 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -130,12 +130,19 @@ static const struct id_table ic_id_table[] = {
.cfg_name = "rtl_bt/rtl8821c_config" },
/* 8761A */
- { IC_MATCH_FL_LMPSUBV, RTL_ROM_LMP_8761A, 0x0,
+ { IC_INFO(RTL_ROM_LMP_8761A, 0x0),
.config_needed = false,
.has_rom_version = true,
.fw_name = "rtl_bt/rtl8761a_fw.bin",
.cfg_name = "rtl_bt/rtl8761a_config" },
+ /* 8761B */
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xb),
+ .config_needed = false,
+ .has_rom_version = true,
+ .fw_name = "rtl_bt/rtl8761b_fw.bin",
+ .cfg_name = "rtl_bt/rtl8761b_config" },
+
/* 8822C with UART interface */
{ .match_flags = IC_MATCH_FL_LMPSUBV | IC_MATCH_FL_HCIREV |
IC_MATCH_FL_HCIBUS,
--
2.25.2
Powered by blists - more mailing lists