* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2024-11-27 11:51 [PATCH v4 1/2] arm64: dts: qcom: qcs6490-rb3gen2: enable Bluetooth Janaki Ramaiah Thota
@ 2024-11-27 12:28 ` bluez.test.bot
0 siblings, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2024-11-27 12:28 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
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: drivers/power/sequencing/pwrseq-qcom-wcn.c:293
error: drivers/power/sequencing/pwrseq-qcom-wcn.c: 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2024-12-04 13:17 [PATCH v4 1/4] regulator:·dt-bindings:·qcom,qca6390-pmu:·document wcn6750-pmu Janaki Ramaiah Thota
@ 2024-12-04 13:46 ` bluez.test.bot
0 siblings, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2024-12-04 13:46 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
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: drivers/power/sequencing/pwrseq-qcom-wcn.c:293
error: drivers/power/sequencing/pwrseq-qcom-wcn.c: 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2024-12-09 10:34 [PATCH v5 1/4] regulator:·dt-bindings:·qcom,qca6390-pmu:·document wcn6750-pmu Janaki Ramaiah Thota
@ 2024-12-09 10:47 ` bluez.test.bot
2024-12-09 10:55 ` Dmitry Baryshkov
0 siblings, 1 reply; 14+ messages in thread
From: bluez.test.bot @ 2024-12-09 10:47 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
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: drivers/power/sequencing/pwrseq-qcom-wcn.c:272
error: drivers/power/sequencing/pwrseq-qcom-wcn.c: 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Enable Bluetooth on qcs6490-rb3gen2 board
2024-12-09 10:47 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
@ 2024-12-09 10:55 ` Dmitry Baryshkov
0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2024-12-09 10:55 UTC (permalink / raw)
To: linux-bluetooth; +Cc: quic_janathot
On Mon, Dec 09, 2024 at 02:47:10AM -0800, bluez.test.bot@gmail.com wrote:
> 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.
Dear BT maintainers. What is the current base for the CI tests? Should
it be updated to v6.13-rc1?
>
> ----- Output -----
>
> error: patch failed: drivers/power/sequencing/pwrseq-qcom-wcn.c:272
> error: drivers/power/sequencing/pwrseq-qcom-wcn.c: 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
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2024-12-23 13:57 [PATCH v6 1/1] dt-bindings: bluetooth: update the wcn6750 required properties Janaki Ramaiah Thota
@ 2024-12-23 14:30 ` bluez.test.bot
0 siblings, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2024-12-23 14:30 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=920408
---Test result---
Test Summary:
CheckPatch PENDING 0.33 seconds
GitLint PENDING 0.38 seconds
SubjectPrefix FAIL 1.44 seconds
BuildKernel PASS 24.92 seconds
CheckAllWarning PASS 26.96 seconds
CheckSparse PASS 30.73 seconds
BuildKernel32 PASS 24.47 seconds
TestRunnerSetup PASS 434.98 seconds
TestRunner_l2cap-tester PASS 21.80 seconds
TestRunner_iso-tester PASS 32.04 seconds
TestRunner_bnep-tester PASS 4.77 seconds
TestRunner_mgmt-tester FAIL 121.31 seconds
TestRunner_rfcomm-tester PASS 7.47 seconds
TestRunner_sco-tester PASS 9.32 seconds
TestRunner_ioctl-tester PASS 7.98 seconds
TestRunner_mesh-tester PASS 6.03 seconds
TestRunner_smp-tester PASS 6.96 seconds
TestRunner_userchan-tester PASS 4.98 seconds
IncrementalBuild PENDING 0.54 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 484 (98.8%), Failed: 2, Not Run: 4
Failed Test Cases
LL Privacy - Add Device 3 (AL is full) Failed 0.199 seconds
LL Privacy - Set Flags 3 (2 Devices to RL) Failed 0.172 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2025-01-07 13:41 [PATCH v7 1/1] dt-bindings: bluetooth: Utilize PMU abstraction for WCN6750 Janaki Ramaiah Thota
@ 2025-01-07 15:26 ` bluez.test.bot
0 siblings, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2025-01-07 15:26 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 2275 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=922957
---Test result---
Test Summary:
CheckPatch PENDING 0.36 seconds
GitLint PENDING 0.29 seconds
SubjectPrefix FAIL 0.33 seconds
BuildKernel PASS 25.11 seconds
CheckAllWarning PASS 27.77 seconds
CheckSparse PASS 31.21 seconds
BuildKernel32 PASS 25.47 seconds
TestRunnerSetup PASS 440.08 seconds
TestRunner_l2cap-tester PASS 22.70 seconds
TestRunner_iso-tester PASS 32.05 seconds
TestRunner_bnep-tester PASS 4.85 seconds
TestRunner_mgmt-tester FAIL 122.01 seconds
TestRunner_rfcomm-tester PASS 7.64 seconds
TestRunner_sco-tester PASS 9.40 seconds
TestRunner_ioctl-tester PASS 8.12 seconds
TestRunner_mesh-tester PASS 6.01 seconds
TestRunner_smp-tester PASS 6.97 seconds
TestRunner_userchan-tester PASS 5.02 seconds
IncrementalBuild PENDING 0.85 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 483 (98.6%), Failed: 3, Not Run: 4
Failed Test Cases
LL Privacy - Add Device 2 (2 Devices to AL) Failed 0.183 seconds
LL Privacy - Add Device 3 (AL is full) Failed 0.194 seconds
LL Privacy - Set Flags 1 (Add to RL) Failed 0.142 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2025-01-27 6:49 [PATCH v8 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
@ 2025-01-27 7:31 ` bluez.test.bot
0 siblings, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2025-01-27 7:31 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=928462
---Test result---
Test Summary:
CheckPatch PENDING 0.29 seconds
GitLint PENDING 0.18 seconds
SubjectPrefix FAIL 0.43 seconds
BuildKernel PASS 24.33 seconds
CheckAllWarning PASS 30.85 seconds
CheckSparse PASS 30.27 seconds
BuildKernel32 PASS 23.91 seconds
TestRunnerSetup PASS 431.15 seconds
TestRunner_l2cap-tester PASS 20.46 seconds
TestRunner_iso-tester PASS 32.22 seconds
TestRunner_bnep-tester PASS 4.94 seconds
TestRunner_mgmt-tester FAIL 122.74 seconds
TestRunner_rfcomm-tester PASS 7.61 seconds
TestRunner_sco-tester PASS 9.57 seconds
TestRunner_ioctl-tester PASS 8.23 seconds
TestRunner_mesh-tester PASS 6.10 seconds
TestRunner_smp-tester PASS 7.15 seconds
TestRunner_userchan-tester PASS 5.18 seconds
IncrementalBuild PENDING 0.37 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 485 (99.0%), Failed: 1, Not Run: 4
Failed Test Cases
LL Privacy - Set Flags 3 (2 Devices to RL) Failed 0.202 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v9 0/2] Enable Bluetooth on qcs6490-rb3gen2 board
@ 2025-01-30 18:34 Janaki Ramaiah Thota
2025-01-30 18:34 ` [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
2025-01-30 18:34 ` [PATCH v9 2/2] Bluetooth: hci_qca: use the power sequencer for wcn6750 Janaki Ramaiah Thota
0 siblings, 2 replies; 14+ messages in thread
From: Janaki Ramaiah Thota @ 2025-01-30 18:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marcel Holtmann, Luiz Augusto von Dentz
Cc: quic_mohamull, quic_hbandi, quic_anubhavg, linux-arm-msm,
devicetree, linux-kernel, linux-bluetooth
Patch 1/2
The new state node qup_uart7_sleep is causing a dt-check warning because the
base DTSI (sc7280.dtsi) is defined with individual pin configurations
----
Changes from v8:
* Fixed the dtb-check warning in P1 and removed tag: Reviewed-by
* Link to v8: https://lore.kernel.org/linux-arm-msm/20250127064940.1360404-1-quic_janathot@quicinc.com/
Changes from v7:
* updated P1 & P2 with tag: Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
* Link to v7: https://lore.kernel.org/lkml/20250107134157.211702-1-quic_janathot@quicinc.com/#t
Changes from v6:
* Elaborated the commit message with more information.
* Link to v6: https://lore.kernel.org/lkml/20241223135700.22660-1-quic_janathot@quicinc.com/
Changes from v5:
* Update the wcn6750 required properties in bindings.
* Link to v5: https://lore.kernel.org/linux-arm-msm/20241209103455.9675-1-quic_janathot@quicinc.com/
Changes from v4:
* Added reviewed tag by Krzysztof in p1
* Updated the p2 commit message with sw_ctrl and wifi-enable are
handled in wifi FW.
* Added blank line between the nodes in p2
* Placed the structures in proper order in p4
* Link to v4: https://lore.kernel.org/all/20241204131706.20791-1-quic_janathot@quicinc.com/
Changes from v3:
* Defined the PMU node and used the its output to power up BT
* Used power sequencer for wcn wcn6750 module
* Split the patch to multiple as per subtree
* Add description of the PMU of the WCN6750 module
* Include separate UART state node for sleep pin configuarion
* Link to v3: https://lore.kernel.org/linux-arm-msm/20241022104600.3228-1-quic_janathot@quicinc.com/
Changes from v2:
* Sorted nodes alphabetically
* Link to v2: https://lore.kernel.org/linux-arm-msm/20241010105107.30118-1-quic_janathot@quicinc.com/
Changes from v1:
* Corrected the board name in subject
* Link to v1: https://lore.kernel.org/linux-arm-msm/20241009111436.23473-1-quic_janathot@quicinc.com/
Janaki Ramaiah Thota (2):
arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node
Bluetooth: hci_qca: use the power sequencer for wcn6750
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 167 ++++++++++++++++++-
drivers/bluetooth/hci_qca.c | 2 +-
2 files changed, 167 insertions(+), 2 deletions(-)
--
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node
2025-01-30 18:34 [PATCH v9 0/2] Enable Bluetooth on qcs6490-rb3gen2 board Janaki Ramaiah Thota
@ 2025-01-30 18:34 ` Janaki Ramaiah Thota
2025-01-30 19:01 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
[not found] ` <4de200f8-5924-449d-a5a7-cf08306cb916@quicinc.com>
2025-01-30 18:34 ` [PATCH v9 2/2] Bluetooth: hci_qca: use the power sequencer for wcn6750 Janaki Ramaiah Thota
1 sibling, 2 replies; 14+ messages in thread
From: Janaki Ramaiah Thota @ 2025-01-30 18:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marcel Holtmann, Luiz Augusto von Dentz
Cc: quic_mohamull, quic_hbandi, quic_anubhavg, linux-arm-msm,
devicetree, linux-kernel, linux-bluetooth
Add the PMU node for WCN6750 present on the qcs6490-rb3gen
board and assign its power outputs to the Bluetooth module.
In WCN6750 module sw_ctrl and wifi-enable pins are handled
in the wifi controller firmware. Therefore, it is not required
to have those pins' entries in the PMU node.
Signed-off-by: Janaki Ramaiah Thota <quic_janathot@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 167 ++++++++++++++++++-
1 file changed, 166 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index 7a36c90ad4ec..0a3243499dfb 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
- * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
@@ -34,6 +34,7 @@ / {
aliases {
serial0 = &uart5;
+ serial1 = &uart7;
};
chosen {
@@ -218,6 +219,63 @@ vph_pwr: vph-pwr-regulator {
regulator-min-microvolt = <3700000>;
regulator-max-microvolt = <3700000>;
};
+
+ wcn6750-pmu {
+ compatible = "qcom,wcn6750-pmu";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bt_en>;
+ vddaon-supply = <&vreg_s7b_0p972>;
+ vddasd-supply = <&vreg_l11c_2p8>;
+ vddpmu-supply = <&vreg_s7b_0p972>;
+ vddrfa0p8-supply = <&vreg_s7b_0p972>;
+ vddrfa1p2-supply = <&vreg_s8b_1p272>;
+ vddrfa1p7-supply = <&vreg_s1b_1p872>;
+ vddrfa2p2-supply = <&vreg_s1c_2p19>;
+
+ bt-enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
+
+ regulators {
+ vreg_pmu_rfa_cmn: ldo0 {
+ regulator-name = "vreg_pmu_rfa_cmn";
+ };
+
+ vreg_pmu_aon_0p59: ldo1 {
+ regulator-name = "vreg_pmu_aon_0p59";
+ };
+
+ vreg_pmu_wlcx_0p8: ldo2 {
+ regulator-name = "vreg_pmu_wlcx_0p8";
+ };
+
+ vreg_pmu_wlmx_0p85: ldo3 {
+ regulator-name = "vreg_pmu_wlmx_0p85";
+ };
+
+ vreg_pmu_btcmx_0p85: ldo4 {
+ regulator-name = "vreg_pmu_btcmx_0p85";
+ };
+
+ vreg_pmu_rfa_0p8: ldo5 {
+ regulator-name = "vreg_pmu_rfa_0p8";
+ };
+
+ vreg_pmu_rfa_1p2: ldo6 {
+ regulator-name = "vreg_pmu_rfa_1p2";
+ };
+
+ vreg_pmu_rfa_1p7: ldo7 {
+ regulator-name = "vreg_pmu_rfa_1p7";
+ };
+
+ vreg_pmu_pcie_0p9: ldo8 {
+ regulator-name = "vreg_pmu_pcie_0p9";
+ };
+
+ vreg_pmu_pcie_1p8: ldo9 {
+ regulator-name = "vreg_pmu_pcie_1p8";
+ };
+ };
+ };
};
&apps_rsc {
@@ -799,6 +857,39 @@ &pon_resin {
status = "okay";
};
+&qup_uart7_cts {
+ /*
+ * Configure a bias-bus-hold on CTS to lower power
+ * usage when Bluetooth is turned off. Bus hold will
+ * maintain a low power state regardless of whether
+ * the Bluetooth module drives the pin in either
+ * direction or leaves the pin fully unpowered.
+ */
+ bias-bus-hold;
+};
+
+&qup_uart7_rts {
+ /* We'll drive RTS, so no pull */
+ drive-strength = <2>;
+ bias-disable;
+};
+
+&qup_uart7_rx {
+ /*
+ * Configure a pull-up on RX. This is needed to avoid
+ * garbage data when the TX pin of the Bluetooth module is
+ * in tri-state (module powered off or not driving the
+ * signal yet).
+ */
+ bias-pull-up;
+};
+
+&qup_uart7_tx {
+ /* We'll drive TX, so no pull */
+ drive-strength = <2>;
+ bias-disable;
+};
+
&qupv3_id_0 {
status = "okay";
};
@@ -842,12 +933,86 @@ &sdhc_2 {
&tlmm {
gpio-reserved-ranges = <32 2>, /* ADSP */
<48 4>; /* NFC */
+
+ bt_en: bt-en-state {
+ pins = "gpio85";
+ function = "gpio";
+ output-low;
+ bias-disable;
+ };
+
+ qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
+ pins = "gpio28";
+ function = "gpio";
+ /*
+ * Configure a bias-bus-hold on CTS to lower power
+ * usage when Bluetooth is turned off. Bus hold will
+ * maintain a low power state regardless of whether
+ * the Bluetooth module drives the pin in either
+ * direction or leaves the pin fully unpowered.
+ */
+ bias-bus-hold;
+ };
+
+ qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
+ pins = "gpio29";
+ function = "gpio";
+ /*
+ * Configure pull-down on RTS. As RTS is active low
+ * signal, pull it low to indicate the BT SoC that it
+ * can wakeup the system anytime from suspend state by
+ * pulling RX low (by sending wakeup bytes).
+ */
+ bias-pull-down;
+ };
+
+ qup_uart7_sleep_rx: qup-uart7-sleep-rx-state {
+ pins = "gpio31";
+ function = "gpio";
+ /*
+ * Configure a pull-up on RX. This is needed to avoid
+ * garbage data when the TX pin of the Bluetooth module
+ * is floating which may cause spurious wakeups.
+ */
+ bias-pull-up;
+ };
+
+ qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
+ pins = "gpio30";
+ function = "gpio";
+ /*
+ * Configure pull-up on TX when it isn't actively driven
+ * to prevent BT SoC from receiving garbage during sleep.
+ */
+ bias-pull-up;
+ };
};
&uart5 {
status = "okay";
};
+&uart7 {
+ /delete-property/interrupts;
+ interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
+ <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>,
+ <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>;
+ pinctrl-names = "default", "sleep";
+ status = "okay";
+
+ bluetooth: bluetooth {
+ compatible = "qcom,wcn6750-bt";
+ vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
+ vddaon-supply = <&vreg_pmu_aon_0p59>;
+ vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
+ vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
+ vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
+ vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
+ max-speed = <3200000>;
+ };
+};
+
&usb_1 {
status = "okay";
};
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v9 2/2] Bluetooth: hci_qca: use the power sequencer for wcn6750
2025-01-30 18:34 [PATCH v9 0/2] Enable Bluetooth on qcs6490-rb3gen2 board Janaki Ramaiah Thota
2025-01-30 18:34 ` [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
@ 2025-01-30 18:34 ` Janaki Ramaiah Thota
1 sibling, 0 replies; 14+ messages in thread
From: Janaki Ramaiah Thota @ 2025-01-30 18:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marcel Holtmann, Luiz Augusto von Dentz
Cc: quic_mohamull, quic_hbandi, quic_anubhavg, linux-arm-msm,
devicetree, linux-kernel, linux-bluetooth, Dmitry Baryshkov
Older boards are having entry "enable-gpios" in dts, we can safely assume
latest boards which are supporting PMU node enrty will support power
sequencer.
Signed-off-by: Janaki Ramaiah Thota <quic_janathot@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
drivers/bluetooth/hci_qca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 0ac2168f1dc4..d2fd08aceb17 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -2359,6 +2359,7 @@ static int qca_serdev_probe(struct serdev_device *serdev)
switch (qcadev->btsoc_type) {
case QCA_WCN6855:
case QCA_WCN7850:
+ case QCA_WCN6750:
if (!device_property_present(&serdev->dev, "enable-gpios")) {
/*
* Backward compatibility with old DT sources. If the
@@ -2378,7 +2379,6 @@ static int qca_serdev_probe(struct serdev_device *serdev)
case QCA_WCN3990:
case QCA_WCN3991:
case QCA_WCN3998:
- case QCA_WCN6750:
qcadev->bt_power->dev = &serdev->dev;
err = qca_init_regulators(qcadev->bt_power, data->vregs,
data->num_vregs);
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2025-01-30 18:34 ` [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
@ 2025-01-30 19:01 ` bluez.test.bot
[not found] ` <4de200f8-5924-449d-a5a7-cf08306cb916@quicinc.com>
1 sibling, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2025-01-30 19:01 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=929316
---Test result---
Test Summary:
CheckPatch PENDING 0.34 seconds
GitLint PENDING 0.26 seconds
SubjectPrefix FAIL 0.40 seconds
BuildKernel PASS 24.66 seconds
CheckAllWarning PASS 27.03 seconds
CheckSparse PASS 36.72 seconds
BuildKernel32 PASS 24.30 seconds
TestRunnerSetup PASS 431.08 seconds
TestRunner_l2cap-tester PASS 20.45 seconds
TestRunner_iso-tester PASS 29.75 seconds
TestRunner_bnep-tester PASS 4.80 seconds
TestRunner_mgmt-tester PASS 123.51 seconds
TestRunner_rfcomm-tester PASS 7.62 seconds
TestRunner_sco-tester PASS 9.35 seconds
TestRunner_ioctl-tester PASS 8.20 seconds
TestRunner_mesh-tester PASS 6.39 seconds
TestRunner_smp-tester PASS 6.92 seconds
TestRunner_userchan-tester PASS 4.98 seconds
IncrementalBuild PENDING 0.96 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node
[not found] ` <4de200f8-5924-449d-a5a7-cf08306cb916@quicinc.com>
@ 2025-02-05 11:55 ` Janaki Ramaiah Thota
2025-02-05 12:31 ` Krzysztof Kozlowski
0 siblings, 1 reply; 14+ messages in thread
From: Janaki Ramaiah Thota @ 2025-02-05 11:55 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marcel Holtmann, Luiz Augusto von Dentz
Cc: quic_mohamull, quic_hbandi, quic_anubhavg, linux-arm-msm,
devicetree, linux-kernel, linux-bluetooth
Hi All,
On 1/31/2025 4:33 PM, Janaki Ramaiah Thota wrote:
> Add the PMU node for WCN6750 present on the qcs6490-rb3gen
> board and assign its power outputs to the Bluetooth module.
>
> In WCN6750 module sw_ctrl and wifi-enable pins are handled
> in the wifi controller firmware. Therefore, it is not required
> to have those pins' entries in the PMU node.
>
> Signed-off-by: Janaki Ramaiah Thota <quic_janathot@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 167 ++++++++++++++++++-
> 1 file changed, 166 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/
> boot/dts/qcom/qcs6490-rb3gen2.dts
> index 7a36c90ad4ec..0a3243499dfb 100644
> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: BSD-3-Clause
> /*
> - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights
> reserved.
> + * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights
> reserved.
> */
> /dts-v1/;
> @@ -34,6 +34,7 @@ / {
> aliases {
> serial0 = &uart5;
> + serial1 = &uart7;
> };
> chosen {
> @@ -218,6 +219,63 @@ vph_pwr: vph-pwr-regulator {
> regulator-min-microvolt = <3700000>;
> regulator-max-microvolt = <3700000>;
> };
> +
> + wcn6750-pmu {
> + compatible = "qcom,wcn6750-pmu";
> + pinctrl-names = "default";
> + pinctrl-0 = <&bt_en>;
> + vddaon-supply = <&vreg_s7b_0p972>;
> + vddasd-supply = <&vreg_l11c_2p8>;
> + vddpmu-supply = <&vreg_s7b_0p972>;
> + vddrfa0p8-supply = <&vreg_s7b_0p972>;
> + vddrfa1p2-supply = <&vreg_s8b_1p272>;
> + vddrfa1p7-supply = <&vreg_s1b_1p872>;
> + vddrfa2p2-supply = <&vreg_s1c_2p19>;
> +
> + bt-enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
> +
> + regulators {
> + vreg_pmu_rfa_cmn: ldo0 {
> + regulator-name = "vreg_pmu_rfa_cmn";
> + };
> +
> + vreg_pmu_aon_0p59: ldo1 {
> + regulator-name = "vreg_pmu_aon_0p59";
> + };
> +
> + vreg_pmu_wlcx_0p8: ldo2 {
> + regulator-name = "vreg_pmu_wlcx_0p8";
> + };
> +
> + vreg_pmu_wlmx_0p85: ldo3 {
> + regulator-name = "vreg_pmu_wlmx_0p85";
> + };
> +
> + vreg_pmu_btcmx_0p85: ldo4 {
> + regulator-name = "vreg_pmu_btcmx_0p85";
> + };
> +
> + vreg_pmu_rfa_0p8: ldo5 {
> + regulator-name = "vreg_pmu_rfa_0p8";
> + };
> +
> + vreg_pmu_rfa_1p2: ldo6 {
> + regulator-name = "vreg_pmu_rfa_1p2";
> + };
> +
> + vreg_pmu_rfa_1p7: ldo7 {
> + regulator-name = "vreg_pmu_rfa_1p7";
> + };
> +
> + vreg_pmu_pcie_0p9: ldo8 {
> + regulator-name = "vreg_pmu_pcie_0p9";
> + };
> +
> + vreg_pmu_pcie_1p8: ldo9 {
> + regulator-name = "vreg_pmu_pcie_1p8";
> + };
> + };
> + };
> };
> &apps_rsc {
> @@ -799,6 +857,39 @@ &pon_resin {
> status = "okay";
> };
> +&qup_uart7_cts {
> + /*
> + * Configure a bias-bus-hold on CTS to lower power
> + * usage when Bluetooth is turned off. Bus hold will
> + * maintain a low power state regardless of whether
> + * the Bluetooth module drives the pin in either
> + * direction or leaves the pin fully unpowered.
> + */
> + bias-bus-hold;
> +};
> +
> +&qup_uart7_rts {
> + /* We'll drive RTS, so no pull */
> + drive-strength = <2>;
> + bias-disable;
> +};
> +
> +&qup_uart7_rx {
> + /*
> + * Configure a pull-up on RX. This is needed to avoid
> + * garbage data when the TX pin of the Bluetooth module is
> + * in tri-state (module powered off or not driving the
> + * signal yet).
> + */
> + bias-pull-up;
> +};
> +
> +&qup_uart7_tx {
> + /* We'll drive TX, so no pull */
> + drive-strength = <2>;
> + bias-disable;
> +};
> +
> &qupv3_id_0 {
> status = "okay";
> };
> @@ -842,12 +933,86 @@ &sdhc_2 {
> &tlmm {
> gpio-reserved-ranges = <32 2>, /* ADSP */
> <48 4>; /* NFC */
> +
> + bt_en: bt-en-state {
> + pins = "gpio85";
> + function = "gpio";
> + output-low;
> + bias-disable;
> + };
> +
> + qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
> + pins = "gpio28";
> + function = "gpio";
> + /*
> + * Configure a bias-bus-hold on CTS to lower power
> + * usage when Bluetooth is turned off. Bus hold will
> + * maintain a low power state regardless of whether
> + * the Bluetooth module drives the pin in either
> + * direction or leaves the pin fully unpowered.
> + */
> + bias-bus-hold;
> + };
> +
> + qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
> + pins = "gpio29";
> + function = "gpio";
> + /*
> + * Configure pull-down on RTS. As RTS is active low
> + * signal, pull it low to indicate the BT SoC that it
> + * can wakeup the system anytime from suspend state by
> + * pulling RX low (by sending wakeup bytes).
> + */
> + bias-pull-down;
> + };
> +
> + qup_uart7_sleep_rx: qup-uart7-sleep-rx-state {
> + pins = "gpio31";
> + function = "gpio";
> + /*
> + * Configure a pull-up on RX. This is needed to avoid
> + * garbage data when the TX pin of the Bluetooth module
> + * is floating which may cause spurious wakeups.
> + */
> + bias-pull-up;
> + };
> +
> + qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
> + pins = "gpio30";
> + function = "gpio";
> + /*
> + * Configure pull-up on TX when it isn't actively driven
> + * to prevent BT SoC from receiving garbage during sleep.
> + */
> + bias-pull-up;
> + };
> };
> &uart5 {
> status = "okay";
> };
> +&uart7 {
> + /delete-property/interrupts;
> + interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
> + <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
> + pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>,
> + <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>;
> + pinctrl-names = "default", "sleep";
> + status = "okay";
> +
> + bluetooth: bluetooth {
> + compatible = "qcom,wcn6750-bt";
> + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
> + vddaon-supply = <&vreg_pmu_aon_0p59>;
> + vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
> + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
> + vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
> + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
> + max-speed = <3200000>;
> + };
> +};
> +
> &usb_1 {
> status = "okay";
> };
Could you please help to review this change? Thanks!
Regards,
Janakiram
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node
2025-02-05 11:55 ` [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
@ 2025-02-05 12:31 ` Krzysztof Kozlowski
0 siblings, 0 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-05 12:31 UTC (permalink / raw)
To: Janaki Ramaiah Thota, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marcel Holtmann,
Luiz Augusto von Dentz
Cc: quic_mohamull, quic_hbandi, quic_anubhavg, linux-arm-msm,
devicetree, linux-kernel, linux-bluetooth
On 05/02/2025 12:55, Janaki Ramaiah Thota wrote:
[trim entire unrelated stuff]
>> +
>> + bluetooth: bluetooth {
>> + compatible = "qcom,wcn6750-bt";
>> + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
>> + vddaon-supply = <&vreg_pmu_aon_0p59>;
>> + vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
>> + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
>> + vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
>> + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
>> + max-speed = <3200000>;
>> + };
Please kindly trim the replies from unnecessary context. It makes it
much easier to find new content.
>> +};
>> +
>> &usb_1 {
>> status = "okay";
>> };
>
> Could you please help to review this change? Thanks!
You sent it while there was merge window. You ping us after 6 days, but
counting merge window only 3 days. 3 days, instead of expected 14.
Please relax, and help out by reviewing other patches on the mailing
lists in order to relieve the burden of maintainers and move your
patches higher up the list.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: Enable Bluetooth on qcs6490-rb3gen2 board
2025-02-20 11:29 [RESEND PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
@ 2025-02-20 11:54 ` bluez.test.bot
0 siblings, 0 replies; 14+ messages in thread
From: bluez.test.bot @ 2025-02-20 11:54 UTC (permalink / raw)
To: linux-bluetooth, quic_janathot
[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=935980
---Test result---
Test Summary:
CheckPatch PENDING 0.29 seconds
GitLint PENDING 0.20 seconds
SubjectPrefix FAIL 0.45 seconds
BuildKernel PASS 24.41 seconds
CheckAllWarning PASS 26.76 seconds
CheckSparse PASS 29.87 seconds
BuildKernel32 PASS 23.68 seconds
TestRunnerSetup PASS 435.65 seconds
TestRunner_l2cap-tester PASS 20.60 seconds
TestRunner_iso-tester PASS 33.18 seconds
TestRunner_bnep-tester PASS 12.04 seconds
TestRunner_mgmt-tester FAIL 119.52 seconds
TestRunner_rfcomm-tester PASS 7.84 seconds
TestRunner_sco-tester PASS 9.61 seconds
TestRunner_ioctl-tester PASS 8.25 seconds
TestRunner_mesh-tester PASS 5.92 seconds
TestRunner_smp-tester PASS 7.52 seconds
TestRunner_userchan-tester PASS 5.03 seconds
IncrementalBuild PENDING 0.41 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 485 (99.0%), Failed: 1, Not Run: 4
Failed Test Cases
LL Privacy - Start Discovery 1 (Disable RL) Failed 0.158 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2025-02-20 11:54 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-30 18:34 [PATCH v9 0/2] Enable Bluetooth on qcs6490-rb3gen2 board Janaki Ramaiah Thota
2025-01-30 18:34 ` [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
2025-01-30 19:01 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
[not found] ` <4de200f8-5924-449d-a5a7-cf08306cb916@quicinc.com>
2025-02-05 11:55 ` [PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
2025-02-05 12:31 ` Krzysztof Kozlowski
2025-01-30 18:34 ` [PATCH v9 2/2] Bluetooth: hci_qca: use the power sequencer for wcn6750 Janaki Ramaiah Thota
-- strict thread matches above, loose matches on Subject: below --
2025-02-20 11:29 [RESEND PATCH v9 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
2025-02-20 11:54 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
2025-01-27 6:49 [PATCH v8 1/2] arm64: dts: qcom: qcs6490-rb3gen: add and enable BT node Janaki Ramaiah Thota
2025-01-27 7:31 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
2025-01-07 13:41 [PATCH v7 1/1] dt-bindings: bluetooth: Utilize PMU abstraction for WCN6750 Janaki Ramaiah Thota
2025-01-07 15:26 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
2024-12-23 13:57 [PATCH v6 1/1] dt-bindings: bluetooth: update the wcn6750 required properties Janaki Ramaiah Thota
2024-12-23 14:30 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
2024-12-09 10:34 [PATCH v5 1/4] regulator:·dt-bindings:·qcom,qca6390-pmu:·document wcn6750-pmu Janaki Ramaiah Thota
2024-12-09 10:47 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
2024-12-09 10:55 ` Dmitry Baryshkov
2024-12-04 13:17 [PATCH v4 1/4] regulator:·dt-bindings:·qcom,qca6390-pmu:·document wcn6750-pmu Janaki Ramaiah Thota
2024-12-04 13:46 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
2024-11-27 11:51 [PATCH v4 1/2] arm64: dts: qcom: qcs6490-rb3gen2: enable Bluetooth Janaki Ramaiah Thota
2024-11-27 12:28 ` Enable Bluetooth on qcs6490-rb3gen2 board bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).