Skip to content

Commit 710ab5a

Browse files
harshaldev27arakshit011
authored andcommitted
FROMLIST: arm64: dts: qcom: sm8750: 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 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 sm8750. Link: https://lore.kernel.org/all/20260323-qcom_ice_power_and_clk_vote-v4-11-e36044bbdfe9@oss.qualcomm.com/ Fixes: b1dac78 ("arm64: dts: qcom: sm8750: Add ICE 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 294b965 commit 710ab5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,11 @@
20582058
"qcom,inline-crypto-engine";
20592059
reg = <0x0 0x01d88000 0x0 0x18000>;
20602060

2061-
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
2061+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
2062+
<&gcc GCC_UFS_PHY_AHB_CLK>;
2063+
clock-names = "core",
2064+
"iface";
2065+
power-domains = <&gcc GCC_UFS_PHY_GDSC>;
20622066
};
20632067

20642068
cryptobam: dma-controller@1dc4000 {

0 commit comments

Comments
 (0)