Skip to contentSkip to conversation

dt-bindings: net: bluetooth: nxp: Add missing type for "fw-init-baudrate"

PATCH Applied Rob Herring 2 participants 3 messages Jun 13, 2023 – Jun 15, 2023

Subsystems (5)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: net: bluetooth: nxp: Add missing type for "fw-init-baudrate"

"fw-init-baudrate" is missing a type, add it. While we're here, define the default value with a schema rather than freeform text.

---
 .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml +3 -2
index 57e4c87cb00b..f01a3988538c 100644
@@ -24,11 +24,12 @@ properties:
       - nxp,88w8997-bt
 
   fw-init-baudrate:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    default: 115200
     description:
       Chip baudrate after FW is downloaded and initialized.
       This property depends on the module vendor's
-      configuration. If this property is not specified,
-      115200 is set as default.
+      configuration.
 
 required:
   - compatible
Signature · 1 line
2.39.2
author maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 8 lines · Rob Herring

"fw-init-baudrate" is missing a type, add it. While we're here, define the default value with a schema rather than freeform text.

---
 .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied, thanks!