]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: qcom: ice: Allow explicit votes on 'iface' clock for ICE
authorHarshal Dev <harshal.dev@oss.qualcomm.com>
Thu, 16 Apr 2026 11:59:19 +0000 (17:29 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 11 May 2026 14:06:29 +0000 (09:06 -0500)
commit0d5dc5818191b55e4364d04b1b898a14a2ccac38
tree70ec751ee95aa3245e884a5b17babb6b7e9ee48a
parente13617b59472fa2590e1bf0d1acbb781dd7dd7f1
soc: qcom: ice: Allow explicit votes on 'iface' clock for ICE

Since Qualcomm inline-crypto engine (ICE) is now a dedicated driver
de-coupled from the QCOM UFS driver, it explicitly votes for its required
clocks during probe. For scenarios where the 'clk_ignore_unused' flag is
not passed on the kernel command line, to avoid potential unclocked ICE
hardware register access during probe the ICE driver should additionally
vote on the 'iface' clock.
Also update the suspend and resume callbacks to handle un-voting and voting
on the 'iface' clock.

Fixes: 2afbf43a4aec6 ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260416-qcom_ice_power_and_clk_vote-v5-2-5ccf5d7e2846@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/ice.c