Skip to contentSkip to conversation

arm64: dts: qcom: sc7180: Add node for bluetooth soc wcn3990

PATCH Superseded Balakrishna Godavarthi 2 participants 3 messages Feb 11, 2020 – Feb 12, 2020

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sc7180: Add node for bluetooth soc wcn3990

Add node for bluetooth soc wcn3990.

---
 arch/arm64/boot/dts/qcom/sc7180-idp.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/qcom/sc7180-idp.dts +11 -0
index 388f50ad4fde..19f82ddc1f09 100644
@@ -19,6 +19,7 @@
 	aliases {
 		hsuart0 = &uart3;
 		serial0 = &uart8;
+		bluetooth0 = &bluetooth;
 	};
 
 	chosen {
@@ -256,6 +257,16 @@
 
 &uart3 {
 	status = "okay";
+	bluetooth: wcn3990-bt {
+		compatible = "qcom,wcn3990-bt";
+		vddio-supply = <&vreg_l10a_1p8>;
+		vddxo-supply = <&vreg_l1c_1p8>;
+		vddrf-supply = <&vreg_l2c_1p3>;
+		vddch0-supply = <&vreg_l10c_3p3>;
+		max-speed = <3200000>;
+		clocks = <&rpmhcc RPMH_RF_CLK2>;
+		status = "okay";
+	};
 };
 
 &uart8 {
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw
Quoted 1 line · Balakrishna Godavarthi

subject: arm64: dts: qcom: sc7180: Add node for bluetooth soc wcn3990

Preferably say in the subjct that the node is added for the IDP board.

Quoted 20 lines

Add node for bluetooth soc wcn3990.

---
 arch/arm64/boot/dts/qcom/sc7180-idp.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/qcom/sc7180-idp.dts +1 -0
index 388f50ad4fde..19f82ddc1f09 100644
@@ -19,6 +19,7 @@
 	aliases {
 		hsuart0 = &uart3;
 		serial0 = &uart8;
+		bluetooth0 = &bluetooth;
 	};
 
 	chosen {

arch/arm64/boot/dts/qcom/sc7180-idp.dts line 259

Quoted 3 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +0 -0
@@ -256,6 +257,16 @@
 
 &uart3 {
 	status = "okay";

nit: add a blank line

arch/arm64/boot/dts/qcom/sc7180-idp.dts line 268

Quoted 9 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +9 -0
+	bluetooth: wcn3990-bt {
+		compatible = "qcom,wcn3990-bt";
+		vddio-supply = <&vreg_l10a_1p8>;
+		vddxo-supply = <&vreg_l1c_1p8>;
+		vddrf-supply = <&vreg_l2c_1p3>;
+		vddch0-supply = <&vreg_l10c_3p3>;
+		max-speed = <3200000>;
+		clocks = <&rpmhcc RPMH_RF_CLK2>;
+		status = "okay";

status is not needed here AFAIK.

#2 lore raw

Hi Matthias,

Quoted 6 lines · Matthias Kaehlcke
Quoted 1 line · Balakrishna Godavarthi

subject: arm64: dts: qcom: sc7180: Add node for bluetooth soc wcn3990

Preferably say in the subjct that the node is added for the IDP board.

[Bala]: will update

Quoted 18 lines
Quoted 18 lines

Add node for bluetooth soc wcn3990.

---
 arch/arm64/boot/dts/qcom/sc7180-idp.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/qcom/sc7180-idp.dts +1 -0
index 388f50ad4fde..19f82ddc1f09 100644
@@ -19,6 +19,7 @@
 	aliases {
 		hsuart0 = &uart3;
 		serial0 = &uart8;
+		bluetooth0 = &bluetooth;
 	};
 
Quoted 8 lines

arch/arm64/boot/dts/qcom/sc7180-idp.dts line 259

Quoted 5 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +0 -0
 	chosen {
@@ -256,6 +257,16 @@
 
 &uart3 {
 	status = "okay";

nit: add a blank line

[Bala]: will update

Quoted 11 lines

arch/arm64/boot/dts/qcom/sc7180-idp.dts line 268

Quoted 9 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +9 -0
+	bluetooth: wcn3990-bt {
+		compatible = "qcom,wcn3990-bt";
+		vddio-supply = <&vreg_l10a_1p8>;
+		vddxo-supply = <&vreg_l1c_1p8>;
+		vddrf-supply = <&vreg_l2c_1p3>;
+		vddch0-supply = <&vreg_l10c_3p3>;
+		max-speed = <3200000>;
+		clocks = <&rpmhcc RPMH_RF_CLK2>;
+		status = "okay";

status is not needed here AFAIK.

[Bala]: true, will update