Shikra bt wcn clock enable - #1190
Open
yepurisiddu wants to merge 2 commits into
Open
yepurisiddu wants to merge 2 commits into
yepurisiddu wants to merge 2 commits into
Conversation
…ed power path RPMCC previously kept WCN clocks enabled via proxy votes, so the pwrseq power path in hci_qca did not need to explicitly manage the clock. With proxy vote removal, each consumer must explicitly enable and disable its required clocks. Extend the pwrseq-based power path to acquire and manage an optional WCN clock. In qca_serdev_probe(), acquire the clock using devm_clk_get_optional(). In qca_regulator_enable(), enable the clock after a successful pwrseq_enable() with proper rollback on failure. In qca_power_off(), disable the clock before pwrseq_disable(). Targets that do not define a clock in DTS are unaffected since devm_clk_get_optional() returns NULL and all clock operations are guarded accordingly. Link: https://lore.kernel.org/linux-arm-msm/20260925-bt-wcn-clk-enable-v1-1-30bee88c4de4@oss.qualcomm.com/ Signed-off-by: Yepuri Siddu <yepuri.siddu@oss.qualcomm.com>
With RPMCC proxy vote removal, the Bluetooth node must explicitly declare its WCN clock dependency so the hci_qca driver can vote for it during BT power on/off via the pwrseq path. CQM SOM uses RPM_SMD_RF_CLK2 while IQS SOM uses RPM_SMD_RF_CLK1, reflecting the WCN clock assignments on each board variant. Link: https://lore.kernel.org/linux-arm-msm/20260925-bt-wcn-clk-enable-v1-2-30bee88c4de4@oss.qualcomm.com/ Signed-off-by: Yepuri Siddu <yepuri.siddu@oss.qualcomm.com>
yepurisiddu
requested review from
a team,
Amit Kucheria (idlethread),
Mukesh Ojha (mukeshojha-linux) and
yijiyang
September 25, 2026 06:37
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
|
Merge Check Failed: CR Not Eligible for Merge CR 4684986 is not eligible for merge. The parent software image for kernel.qli.2.0 is not development complete. Entity: Please ensure the CR passes both CCT (ComponentChangeTasks) and ICT (Integration Change Tasks) validations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add WCN clock enable/disable support for Shikra by enabling the clock during BT power-on and disabling it during BT power-off via the pwrseq path.
With RPMCC proxy vote removal on QCM2290, BT can no longer rely on proxy votes to keep the WCN clock active. This change ensures BT explicitly manages the WCN clock. Without this change, BT functionality will be impacted after the proxy vote removal.
Link: https://lore.kernel.org/linux-arm-msm/20260925-bt-wcn-clk-enable-v1-0-30bee88c4de4@oss.qualcomm.com/
CRs-fixed: 4684986