Skip to contentSkip to conversation

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

PATCH In review Balakrishna Godavarthi 2 participants 2 messages Feb 12, 2020

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

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

Add bluetooth SoC node for SC7180 IDP board.

---
v2:
* updated commit text
* removed status form dts node

---
 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..7a50a439b6f3 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>;
+	};
 };
 
 &uart8 {
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Reviewed-by on v2 1/1
#1 lore raw
Quoted 1 line · Balakrishna Godavarthi

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

The subject still suggests that this is relevant for all SC7180 boards that use the WCN3990 for Bluetooth. Please in the future save folks time and make it clear in the *subject* that this is for a specific board (the IDP).

Quoted 16 lines

Add bluetooth SoC node for SC7180 IDP board.

---
v2:
* updated commit text
* removed status form dts node

---
 arch/arm64/boot/dts/qcom/sc7180-idp.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/qcom/sc7180-idp.dts +0 -0
index 388f50ad4fde..7a50a439b6f3 100644

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

Quoted 4 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +1 -0
@@ -19,6 +19,7 @@
 	aliases {
 		hsuart0 = &uart3;
 		serial0 = &uart8;
+		bluetooth0 = &bluetooth;

nit: it would be nicer to have the aliases in alphabetical order.

Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +3 -0
 	};
 
 	chosen {
@@ -256,6 +257,16 @@
 
 &uart3 {
 	status = "okay";
+
+	bluetooth: wcn3990-bt {
+		compatible = "qcom,wcn3990-bt";

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

Quoted 10 lines
arch/arm64/boot/dts/qcom/sc7180-idp.dts +7 -0
+		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>;
+	};
 };
 
 &uart8 {