Skip to content

Commit 294b965

Browse files
harshaldev27arakshit011
authored andcommitted
FROMLIST: arm64: dts: qcom: sm8650: Add power-domain and iface clk for ice node
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 UFS_PHY_GDSC power domain is enabled. Specify both the UFS_PHY_GDSC power domain and the 'iface' clock in the ICE node for sm8650. Link: https://lore.kernel.org/all/20260323-qcom_ice_power_and_clk_vote-v4-10-e36044bbdfe9@oss.qualcomm.com/ Fixes: 10e0246 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes") Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com> Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
1 parent cf88a15 commit 294b965

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arch/arm64/boot/dts/qcom/sm8650.dtsi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4046,7 +4046,11 @@
40464046
"qcom,inline-crypto-engine";
40474047
reg = <0 0x01d88000 0 0x18000>;
40484048

4049-
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
4049+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
4050+
<&gcc GCC_UFS_PHY_AHB_CLK>;
4051+
clock-names = "core",
4052+
"iface";
4053+
power-domains = <&gcc UFS_PHY_GDSC>;
40504054
};
40514055

40524056
cryptobam: dma-controller@1dc4000 {

0 commit comments

Comments
 (0)