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

Johan Hovold posted 1 patch 1 year, 7 months ago
Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: soc: qcom,wcnss: fix bluetooth address example
Posted by Johan Hovold 1 year, 7 months ago
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(-)

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
Re: [PATCH] dt-bindings: soc: qcom,wcnss: fix bluetooth address example
Posted by Bjorn Andersson 1 year, 7 months ago
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 <andersson@kernel.org>
Re: [PATCH] dt-bindings: soc: qcom,wcnss: fix bluetooth address example
Posted by Krzysztof Kozlowski 1 year, 7 months ago
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