bt: hci driver over spi: Configure BlueNRG-MS in controller mode

Configure BlueNRG in controller w/o host.
By disabling 'HCI_reset' via the quirk, we can request to
BluesNRG hardware to be on controller mode just after it is ready.
By the way it's no necessary to manage a 'HCI_reset' when BluesNRG are
initialised (and on controler mode).

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Christophe Priouzeau 2018-06-26 12:07:23 +02:00 committed by Carles Cufí
commit b0c294ce48
2 changed files with 52 additions and 1 deletions

View file

@ -85,12 +85,19 @@ config BT_SPI_DEV_NAME
if BT_SPI
config BT_BLUENRG_ACI
bool "Enable ACI message with with BlueNRG-based devices"
default n
help
Enable support for devices compatible with the BlueNRG Bluetooth
Stack. Current driver supports: ST BLUENRG-MS.
config BT_SPI_BLUENRG
bool "Enable compatibility with BlueNRG-based devices"
default n
help
Enable support for devices compatible with the BlueNRG Bluetooth
Stack. Current driver supports: ST X-NUCLEO BLE series.
Stack. Current driver supports: ST BLUENRG-MS.
if !HAS_DTS_SPI_PINS