Skip to content
Commit af35e28f authored by Hakan Jansson's avatar Hakan Jansson Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: hci_bcm: Add support for FW loading in autobaud mode



Use the presence of a DT property, "brcm,requires-autobaud-mode", to enable
startup in autobaud mode. If the property is present, the device is started
in autobaud mode by asserting RTS (BT_UART_CTS_N) prior to powering on the
device.

Also prevent the use of unsupported commands for devices started in
autobaud mode. Only a limited subset of HCI commands are supported in
autobaud mode.

Some devices (e.g. CYW5557x) require autobaud mode to enable FW loading.
Autobaud mode can also be required on some boards where the controller
device is using a non-standard baud rate in normal mode when first powered
on.

Signed-off-by: default avatarHakan Jansson <hakan.jansson@infineon.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 0b4de252
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment