Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Thu, 16 Mar 2023 17:22:14 +0000 (22:52 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 04:51:55 +0000 (21:51 -0700)
commit689ca16e523278470c38832a3010645a78c544d8
tree79d9eb8d7ebc8016a771e995c3a76cdb758759df
parentab3a769b4dccec2cf60f0a0700b140991bf9afc8
Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets

This adds a driver based on serdev driver for the NXP BT serial protocol
based on running H:4, which can enable the built-in Bluetooth device
inside an NXP BT chip.

This driver has Power Save feature that will put the chip into sleep state
whenever there is no activity for 2000ms, and will be woken up when any
activity is to be initiated over UART.

This driver enables the power save feature by default by sending the vendor
specific commands to the chip during setup.

During setup, the driver checks if a FW is already running on the chip
by waiting for the bootloader signature, and downloads device specific FW
file into the chip over UART if bootloader signature is received..

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
MAINTAINERS
drivers/bluetooth/Kconfig
drivers/bluetooth/Makefile
drivers/bluetooth/btnxpuart.c [new file with mode: 0644]