[PATCH 1/2] dt-bindings: net: broadcom-bluetooth: Add property for autobaud mode

From: Hakan Jansson
Date: Wed May 04 2022 - 05:04:54 EST


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 when first powered on.

This patch adds a property, "brcm,uses-autobaud-mode", to enable autobaud
mode selection.

Signed-off-by: Hakan Jansson <hakan.jansson@xxxxxxxxxxxx>
---
.../devicetree/bindings/net/broadcom-bluetooth.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml b/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml
index 5aac094fd217..26bba3f1c935 100644
--- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml
@@ -92,6 +92,13 @@ properties:
pcm-sync-mode: slave, master
pcm-clock-mode: slave, master

+ brcm,uses-autobaud-mode:
+ type: boolean
+ description: >
+ The controller should be started in autobaud mode by asserting
+ BT_UART_CTS_N (i.e. host RTS) during startup. Only HCI commands supported
+ in autobaud mode should be used until patch FW has been loaded.
+
interrupts:
items:
- description: Handle to the line HOST_WAKE used to wake
--
2.25.1