Skip to content

Add support for rtl8723bs/rtl8723cs bluetooth

Vasily Khoruzhick linux-arm-kernel linux-bluetooth linux-devicetree netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Bluetooth: Add new quirk for broken local ext features max_pageinclude/net/bluetooth/hci.h net/bluetooth/hci_event.c+10 -10 replies
2/8Bluetooth: hci_h5: Add support for reset GPIOdrivers/bluetooth/hci_h5.c+9 -01 reply
3/8dt-bindings: net: bluetooth: Add rtl8723bs-bluetoothDocumentation/devicetree/bindings/net/rtl8723bs-bluetooth.txt+35 -019 replies
4/8Bluetooth: hci_h5: Add support for binding RTL8723BS with device treedrivers/bluetooth/hci_h5.c+20 -00 replies
5/8Bluetooth: btrtl: add support for the RTL8723CSdrivers/bluetooth/btrtl.c drivers/bluetooth/btrtl.h drivers/bluetooth/hci_h5.c+141 -30 replies
6/8arm64: allwinner: a64: enable Bluetooth On Pinebookarch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts+14 -00 replies
7/8DO-NOT-MERGE: arm64: allwinner: a64: enable Bluetooth On Pine64arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts+9 -10 replies
8/8DO-NOT-MERGE: arm64: allwinner: a64: enable Bluetooth On SoPine baseboardarch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Add support for rtl8723bs/rtl8723cs bluetooth

rtl8723{bc}s is WiFi/Bluetooth module, WiFi part is connected over SDIO while bluetooth is connected over UART.

This series adds support for rtl8723bs/rtl8723cs bluetooth.

Bluetooth module in rtl8723cs is buggy - it advertises some features that it doesn't support and responds either with garbage or with errors on corresponding commands. Unfortunately that confuses bluetooth stack, so we need to introduce another quirk.

Patches for Pine64 and Sopine are provided as examples since WiFi/BT module is optional on these boards.

Vasily Khoruzhick (8):
Bluetooth: Add new quirk for broken local ext features max_page
Bluetooth: hci_h5: Add support for reset GPIO
dt-bindings: net: bluetooth: Add rtl8723bs-bluetooth
Bluetooth: hci_h5: Add support for binding RTL8723BS with device tree
Bluetooth: btrtl: add support for the RTL8723CS
arm64: allwinner: a64: enable Bluetooth On Pinebook
DO-NOT-MERGE: arm64: allwinner: a64: enable Bluetooth On Pine64
DO-NOT-MERGE: arm64: allwinner: a64: enable Bluetooth On SoPine
baseboard

 .../bindings/net/rtl8723bs-bluetooth.txt      |  35 +++++
 .../boot/dts/allwinner/sun50i-a64-pine64.dts  |  10 +-
 .../dts/allwinner/sun50i-a64-pinebook.dts     |  14 ++
 .../allwinner/sun50i-a64-sopine-baseboard.dts |  14 ++
 drivers/bluetooth/btrtl.c                     | 128 +++++++++++++++++-
 drivers/bluetooth/btrtl.h                     |  12 ++
 drivers/bluetooth/hci_h5.c                    |  33 +++++
 include/net/bluetooth/hci.h                   |   7 +
 net/bluetooth/hci_event.c                     |   4 +-
 9 files changed, 252 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/rtl8723bs-bluetooth.txt
Signature · 1 line
2.20.1