Skip to contentSkip to conversation

arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support

PATCH Superseded Wei Deng 4 participants 7 messages Nov 13, 2025 – Nov 18, 2025

Subsystems (4)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Wei Deng

author
#0 lore raw

PATCH 1/1 arm64: dts: qcom: qcs8300-ride: Enable Bluetooth support

Enable BT on qcs8300-ride by adding a device tree node for BT.

---
This patch depends on:
- WLAN
https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +28 -0
index cd8800a59700..08b705fe4eea 100644
@@ -18,6 +18,7 @@ / {
 	aliases {
 		serial0 = &uart7;
 		mmc0 = &sdhc_1;
+		serial1 = &uart2;
 	};
 
 	chosen {
@@ -71,6 +72,7 @@ wcn6855-pmu {
 		vddpcie1p3-supply = <&vreg_conn_pa>;
 		vddpcie1p9-supply = <&vreg_conn_1p8>;
 
+		bt-enable-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
 		wlan-enable-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
 
 		regulators {
@@ -501,6 +503,13 @@ &sdhc_1 {
 };
 
 &tlmm {
+	bt_en_state: bt-en-state {
+		pins = "gpio55";
+		function = "gpio";
+		bias-pull-down;
+		output-low;
+	};
+
 	ethernet0_default: ethernet0-default-state {
 		ethernet0_mdc: ethernet0-mdc-pins {
 			pins = "gpio5";
@@ -571,6 +580,25 @@ wlan_en_state: wlan-en-state {
 	};
 };
 
+&uart2 {
+	status = "okay";
+
+	bluetooth: bluetooth {
+		compatible = "qcom,wcn6855-bt";
+		firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv";
+		max-speed = <3200000>;
+
+		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
+		vddaon-supply = <&vreg_pmu_aon_0p59>;
+		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
+		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
+		vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
+		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
+		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
+		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
+	};
+};
+
 &uart7 {
 	status = "okay";
 };
Signature · 1 line
2.25.1
#1 lore raw

This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: arch/arm64/boot/dts/qcom/qcs8300-ride.dts:71
error: arch/arm64/boot/dts/qcom/qcs8300-ride.dts: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Wei Deng
Quoted 7 lines · Wei Deng

Enable BT on qcs8300-ride by adding a device tree node for BT.

---
This patch depends on:
- WLAN
https://lore.kernel.org/all/[email protected]/

And that patch depends on something else.

You make it very difficult to review and even more difficult to merge.

arch/arm64/boot/dts/qcom/qcs8300-ride.dts / { · line 20

Quoted 12 lines
---
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +0 -0
index cd8800a59700..08b705fe4eea 100644
@@ -18,6 +18,7 @@ / {
 	aliases {
 		serial0 = &uart7;
 		mmc0 = &sdhc_1;

There is no such alias?

arch/arm64/boot/dts/qcom/qcs8300-ride.dts / { · line 21

Quoted 1 line
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +1 -0
+		serial1 = &uart2;

So every contributor here will add some random order...

Best regards,
Krzysztof

#3 lore raw
Quoted 17 lines · Krzysztof Kozlowski
Quoted 7 lines · Wei Deng

Enable BT on qcs8300-ride by adding a device tree node for BT.

---
This patch depends on:
- WLAN
https://lore.kernel.org/all/[email protected]/

And that patch depends on something else.

You make it very difficult to review and even more difficult to merge.

Quoted 4 lines
---
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
Quoted 10 lines

arch/arm64/boot/dts/qcom/qcs8300-ride.dts / { · line 20

Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +0 -0
index cd8800a59700..08b705fe4eea 100644
@@ -18,6 +18,7 @@ / {
 	aliases {
 		serial0 = &uart7;
 		mmc0 = &sdhc_1;

There is no such alias?

Ah there is, found now added by Sayali Lokhande <[email protected]>.

Anyway, organize your work in reasonable patchsets not 3 or more one-patchers spread all over the mailing list.

Best regards,
Krzysztof

author
#4 lore raw

Hi Krzysztof,
Thanks for your comments.

Quoted 29 lines · Krzysztof Kozlowski
Quoted 17 lines · Krzysztof Kozlowski
Quoted 7 lines · Wei Deng

Enable BT on qcs8300-ride by adding a device tree node for BT.

---
This patch depends on:
- WLAN
https://lore.kernel.org/all/[email protected]/

And that patch depends on something else.

You make it very difficult to review and even more difficult to merge.

Quoted 4 lines
---
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
Quoted 10 lines

arch/arm64/boot/dts/qcom/qcs8300-ride.dts / { · line 20

Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +0 -0
index cd8800a59700..08b705fe4eea 100644
@@ -18,6 +18,7 @@ / {
 	aliases {
 		serial0 = &uart7;
 		mmc0 = &sdhc_1;

There is no such alias?

Quoted 5 lines

Ah there is, found now added by Sayali Lokhande <[email protected]>.

Anyway, organize your work in reasonable patchsets not 3 or more one-patchers spread all over the mailing list.

OK, will re-organize my work in reasonable patchsets. Will send new patch.

Quoted 2 lines

Best regards,
Krzysztof

Signature · 2 lines
Best Regards,
Wei Deng
#5 lore raw
In reply to Wei Deng
Quoted 12 lines · Wei Deng

Enable BT on qcs8300-ride by adding a device tree node for BT.

---
This patch depends on:
- WLAN
https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)

arch/arm64/boot/dts/qcom/qcs8300-ride.dts wlan_en_state: wlan-en-state { · line 588

Quoted 9 lines
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +6 -0
@@ -571,6 +580,25 @@ wlan_en_state: wlan-en-state {
 	};
 };
 
+&uart2 {
+	status = "okay";
+
+	bluetooth: bluetooth {
+		compatible = "qcom,wcn6855-bt";
+		firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv";

The reason for these firmware-names should be added to the commit message.

Quoted 19 lines
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +13 -0
+		max-speed = <3200000>;
+
+		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
+		vddaon-supply = <&vreg_pmu_aon_0p59>;
+		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
+		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
+		vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
+		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
+		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
+		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
+	};
+};
+
 &uart7 {
 	status = "okay";
 };
Signature · 1 line
2.25.1
Signature · 2 lines
With best wishes
Dmitry
author
#6 lore raw

Hi Dmitry,
Thanks for your comments.

Quoted 16 lines · Dmitry Baryshkov
Quoted 15 lines · Wei Deng

Enable BT on qcs8300-ride by adding a device tree node for BT.

---
This patch depends on:
- WLAN
https://lore.kernel.org/all/[email protected]/

---
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
(quoted diff) +0 -0
@@ -571,6 +580,25 @@ wlan_en_state: wlan-en-state {
 	};
 };
 
Quoted 10 lines

arch/arm64/boot/dts/qcom/qcs8300-ride.dts wlan_en_state: wlan-en-state { · line 588

Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +6 -0
+&uart2 {
+	status = "okay";
+
+	bluetooth: bluetooth {
+		compatible = "qcom,wcn6855-bt";
+		firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv";

The reason for these firmware-names should be added to the commit message.

Since the platform uses the QCA6698 Bluetooth chip. While the QCA6698 shares the same IP core as the WCN6855, it has different RF components and RAM sizes, requiring new firmware files. Use the firmware-name property to specify the NVM and rampatch firmware to load.
Will add this to commit message.

Quoted 20 lines
Quoted 19 lines
arch/arm64/boot/dts/qcom/qcs8300-ride.dts +13 -0
+		max-speed = <3200000>;
+
+		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
+		vddaon-supply = <&vreg_pmu_aon_0p59>;
+		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
+		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
+		vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
+		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
+		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
+		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
+	};
+};
+
 &uart7 {
 	status = "okay";
 };
Signature · 1 line
2.25.1
Signature · 2 lines
Best Regards,
Wei Deng