Skip to content

Commit cf88a15

Browse files
harshaldev27arakshit011
authored andcommitted
FROMLIST: arm64: dts: qcom: sm8550: 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 sm8550. Link: https://lore.kernel.org/all/20260323-qcom_ice_power_and_clk_vote-v4-9-e36044bbdfe9@oss.qualcomm.com/ Fixes: b8630c4 ("arm64: dts: qcom: sm8550: Add the Inline Crypto Engine node") 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 c61c297 commit cf88a15

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

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

2417-
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
2417+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
2418+
<&gcc GCC_UFS_PHY_AHB_CLK>;
2419+
clock-names = "core",
2420+
"iface";
2421+
power-domains = <&gcc UFS_PHY_GDSC>;
24182422
};
24192423

24202424
tcsr_mutex: hwlock@1f40000 {

0 commit comments

Comments
 (0)