Skip to contentSkip to conversation

arm64: dts: qcom: qcs404: fix bluetooth device address

PATCH Applied Johan Hovold 3 participants 3 messages May 1, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: qcs404: fix bluetooth device address

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 so that the OS can prevent the controller from being used until a valid address has been provided through some other means (e.g. using btmgmt).

Fixes 60f77ae7d1c1 ("arm64: dts: qcom: qcs404-evb: Enable uart3 and add Bluetooth")
---
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +1 -1
index 10655401528e..a22b4501ce1e 100644
@@ -62,7 +62,7 @@ bluetooth {
 		vddrf-supply = <&vreg_l1_1p3>;
 		vddch0-supply = <&vdd_ch0_3p3>;
 
-		local-bd-address = [ 02 00 00 00 5a ad ];
+		local-bd-address = [ 00 00 00 00 00 00 ];
 
 		max-speed = <3200000>;
 	};
Signature · 1 line
2.43.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Johan Hovold

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 so that the OS can prevent the controller from being used until a valid address has been provided through some other means (e.g. using btmgmt).

Fixes 60f77ae7d1c1 ("arm64: dts: qcom: qcs404-evb: Enable uart3 and add Bluetooth")
---
  arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +0 -0
index 10655401528e..a22b4501ce1e 100644

arch/arm64/boot/dts/qcom/qcs404-evb.dtsi bluetooth { · line 68

Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +1 -1
@@ -62,7 +62,7 @@ bluetooth {
  		vddrf-supply = <&vreg_l1_1p3>;
  		vddch0-supply = <&vdd_ch0_3p3>;
 
-		local-bd-address = [ 02 00 00 00 5a ad ];
+		local-bd-address = [ 00 00 00 00 00 00 ];
 
  		max-speed = <3200000>;
  	};
maintainer Applied
#2 lore raw
In reply to Johan Hovold
Quoted 8 lines · Johan Hovold

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 so that the OS can prevent the controller from being used until a valid address has been provided through some other means (e.g. using btmgmt).

[...]

Applied, thanks!

[1/1] arm64: dts: qcom: qcs404: fix bluetooth device address

      commit: f5f390a77f18eaeb2c93211a1b7c5e66b5acd423

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>