]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: eliza: Add power-domain and iface clk for ice node
authorHarshal Dev <harshal.dev@oss.qualcomm.com>
Thu, 16 Apr 2026 11:59:30 +0000 (17:29 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 21 May 2026 21:29:07 +0000 (16:29 -0500)
Qualcomm in-line crypto engine (ICE) platform driver specifies and votes
for its own resources. Before accessing ICE hardware during probe, to
avoid potential unclocked register access issues (when clk_ignore_unused
is not passed on the kernel command line), in addition to the 'core' clock
the 'iface' clock should also be turned on by the driver. This can only be
done if the GCC_UFS_PHY_GDSC power domain is enabled. Specify both the
GCC_UFS_PHY_GDSC power domain and the 'iface' clock in the ICE node for
eliza.

Fixes: af20af39fc09b ("arm64: dts: qcom: Introduce Eliza Soc base dtsi")
Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Fixes: 54a4f0239f2e ("KVM: MMU: make kvm_mmu_zap_page() return the
Reviewed-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260416-qcom_ice_power_and_clk_vote-v5-13-5ccf5d7e2846@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/eliza.dtsi

index 4a7a0ac40ce6252a138bed06c7c190ada3ea61a3..7e97361a5dc58c1b9c28dedd7293024e4a7bb1e8 100644 (file)
                                     "qcom,inline-crypto-engine";
                        reg = <0x0 0x01d88000 0x0 0x18000>;
 
-                       clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+                       clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
+                                <&gcc GCC_UFS_PHY_AHB_CLK>;
+                       clock-names = "core",
+                                     "iface";
+                       power-domains = <&gcc GCC_UFS_PHY_GDSC>;
                };
 
                tcsr_mutex: hwlock@1f40000 {