From c667b4369711b0ee3373c37173dd1f7b24615dd9 Mon Sep 17 00:00:00 2001 From: Jordan Yates Date: Fri, 22 Sep 2023 10:11:26 +1000 Subject: [PATCH] bluetooth: hci: enable backends by default Enable backends by default, instead of requiring some other module to turn them on. This aligns with the behaviour of sensor drivers and `BT_RPMSG`. Signed-off-by: Jordan Yates --- drivers/bluetooth/hci/Kconfig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/bluetooth/hci/Kconfig b/drivers/bluetooth/hci/Kconfig index 195faef0985..07aa505f8b4 100644 --- a/drivers/bluetooth/hci/Kconfig +++ b/drivers/bluetooth/hci/Kconfig @@ -7,25 +7,23 @@ comment "Bluetooth HCI Driver Options" config BT_UART bool + select SERIAL + select UART_INTERRUPT_DRIVEN choice BT_HCI_BUS_TYPE prompt "Bluetooth HCI driver" config BT_H4 bool "H:4 UART" - select UART_INTERRUPT_DRIVEN select BT_UART - depends on SERIAL help Bluetooth H:4 UART driver. Requires hardware flow control lines to be available. config BT_H5 bool "H:5 UART [EXPERIMENTAL]" - select UART_INTERRUPT_DRIVEN select BT_UART select EXPERIMENTAL - depends on SERIAL help Bluetooth three-wire (H:5) UART driver. Implementation of HCI Three-Wire UART Transport Layer. @@ -41,7 +39,7 @@ config BT_RPMSG config BT_SPI bool "SPI HCI" - depends on SPI + select SPI help Supports Bluetooth ICs using SPI as the communication protocol. HCI packets are sent and received as single Byte transfers,