diff mbox series

dt-bindings: soc: qcom,wcnss: fix bluetooth address example

Message ID 20240501075005.4588-1-johan+linaro@kernel.org (mailing list archive)
State Accepted
Commit dff55f66aaba931c71ba5f20906f0a75c4df1da8
Headers show
Series dt-bindings: soc: qcom,wcnss: fix bluetooth address example | expand

Commit Message

Johan Hovold May 1, 2024, 7:50 a.m. UTC
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 <johan+linaro@kernel.org>
---
 Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Krzysztof Kozlowski May 1, 2024, 10:21 a.m. UTC | #1
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 <johan+linaro@kernel.org>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Bjorn Andersson May 1, 2024, 8:20 p.m. UTC | #2
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,
diff mbox series

Patch

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 {