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

Rob Herring posted 1 patch 2 years, 7 months ago
.../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml    | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: net: bluetooth: nxp: Add missing type for "fw-init-baudrate"
Posted by Rob Herring 2 years, 7 months ago
"fw-init-baudrate" is missing a type, add it. While we're here, define the
default value with a schema rather than freeform text.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
index 57e4c87cb00b..f01a3988538c 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
@@ -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
-- 
2.39.2
Re: [PATCH] dt-bindings: net: bluetooth: nxp: Add missing type for "fw-init-baudrate"
Posted by Rob Herring 2 years, 7 months ago
On Tue, 13 Jun 2023 14:09:29 -0600, Rob Herring wrote:
> "fw-init-baudrate" is missing a type, add it. While we're here, define the
> default value with a schema rather than freeform text.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml    | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Applied, thanks!
Re: [PATCH] dt-bindings: net: bluetooth: nxp: Add missing type for "fw-init-baudrate"
Posted by Conor Dooley 2 years, 7 months ago
On Tue, Jun 13, 2023 at 02:09:29PM -0600, Rob Herring wrote:
> "fw-init-baudrate" is missing a type, add it. While we're here, define the
> default value with a schema rather than freeform text.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.