[PATCH v12 0/4] Add support for NXP bluetooth chipsets

From: Neeraj Sanjay Kale
Date: Wed Mar 15 2023 - 08:04:09 EST


This patch adds a driver for NXP bluetooth chipsets.

The driver is based on H4 protocol, and uses serdev APIs. It supports host
to chip power save feature, which is signalled by the host by asserting
break over UART TX lines, to put the chip into sleep state.

To support this feature, break_ctl has also been added to serdev-tty along
with a new serdev API serdev_device_break_ctl().

This driver is capable of downloading firmware into the chip over UART.

The document specifying device tree bindings for this driver is also
included in this patch series.

Neeraj Sanjay Kale (4):
serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP
serdev: Add method to assert break signal over tty UART port
dt-bindings: net: bluetooth: Add NXP bluetooth support
Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets

.../net/bluetooth/nxp,88w8987-bt.yaml | 45 +
MAINTAINERS | 7 +
drivers/bluetooth/Kconfig | 12 +
drivers/bluetooth/Makefile | 1 +
drivers/bluetooth/btnxpuart.c | 1289 +++++++++++++++++
drivers/tty/serdev/core.c | 17 +-
drivers/tty/serdev/serdev-ttyport.c | 16 +-
include/linux/serdev.h | 10 +-
8 files changed, 1390 insertions(+), 7 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
create mode 100644 drivers/bluetooth/btnxpuart.c

--
2.34.1