Skip to content

Commit 0a1d6bb

Browse files
harshaldev27gregkh
authored andcommitted
arm64: dts: qcom: sm8450: Add power-domain and iface clk for ice node
[ Upstream commit 3a5cb1c ] 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 sm8450. Fixes: 86b0aef ("arm64: dts: qcom: sm8450: Use standalone ICE node for UFS") Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Kuldeep Singh <kuldeep.singh@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-8-5ccf5d7e2846@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 30aa348 commit 0a1d6bb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4224,7 +4224,11 @@
42244224
compatible = "qcom,sm8450-inline-crypto-engine",
42254225
"qcom,inline-crypto-engine";
42264226
reg = <0 0x01d88000 0 0x18000>;
4227-
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
4227+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
4228+
<&gcc GCC_UFS_PHY_AHB_CLK>;
4229+
clock-names = "core",
4230+
"iface";
4231+
power-domains = <&gcc UFS_PHY_GDSC>;
42284232
};
42294233

42304234
cryptobam: dma-controller@1dc4000 {

0 commit comments

Comments
 (0)