2024-05-01 07:52:42

by Johan Hovold

[permalink] [raw]
Subject: [PATCH] dt-bindings: soc: qcom,wcnss: fix bluetooth address example

The 'local-bd-address' property is used to pass a unique Bluetooth
device address from the boot firmware to the kernel and should otherwise
be left unset.

Update the example to reduce the risk that a non-zero address will be
used by default in some devicetree.

Signed-off-by: Johan Hovold <[email protected]>
---
Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
index 74bb92e31554..fd6db0ca98eb 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
@@ -116,8 +116,8 @@ examples:

bluetooth {
compatible = "qcom,wcnss-bt";
- /* BD address 00:11:22:33:44:55 */
- local-bd-address = [ 55 44 33 22 11 00 ];
+ /* Updated by boot firmware (little-endian order) */
+ local-bd-address = [ 00 00 00 00 00 00 ];
};

wifi {
--
2.43.2



2024-05-01 10:21:18

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: soc: qcom,wcnss: fix bluetooth address example

On 01/05/2024 09:50, Johan Hovold wrote:
> The 'local-bd-address' property is used to pass a unique Bluetooth
> device address from the boot firmware to the kernel and should otherwise
> be left unset.
>
> Update the example to reduce the risk that a non-zero address will be
> used by default in some devicetree.
>
> Signed-off-by: Johan Hovold <[email protected]>

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof


2024-05-01 20:23:15

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: soc: qcom,wcnss: fix bluetooth address example


On Wed, 01 May 2024 09:50:05 +0200, Johan Hovold wrote:
> The 'local-bd-address' property is used to pass a unique Bluetooth
> device address from the boot firmware to the kernel and should otherwise
> be left unset.
>
> Update the example to reduce the risk that a non-zero address will be
> used by default in some devicetree.
>
> [...]

Applied, thanks!

[1/1] dt-bindings: soc: qcom,wcnss: fix bluetooth address example
commit: dff55f66aaba931c71ba5f20906f0a75c4df1da8

Best regards,
--
Bjorn Andersson <[email protected]>