Bluetooth: hci_h5: Add support for binding RTL8723BS with device tree
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 25 Apr 2020 15:55:30 +0000 (08:55 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 11 May 2020 10:13:37 +0000 (12:13 +0200)
RTL8723BS is often used in ARM boards, so add ability to bind it
using device tree.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_h5.c

index 106c110..e60b2e0 100644 (file)
@@ -1018,6 +1018,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
 #ifdef CONFIG_BT_HCIUART_RTL
        { .compatible = "realtek,rtl8822cs-bt",
          .data = (const void *)&rtl_vnd },
+       { .compatible = "realtek,rtl8723bs-bt",
+         .data = (const void *)&rtl_vnd },
 #endif
        { },
 };