Skip to content

Commit 08597cd

Browse files
Kuldeep Singharakshit011
authored andcommitted
FROMLIST: arm64: dts: qcom: kodiak: Add iface clock and power domain for ice sdhc
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 power domain is enabled. Specify both power domain and the iface clock. Link: https://lore.kernel.org/linux-arm-msm/20260409-ice_emmc_clock_addition-v2-1-90bbcc057361@oss.qualcomm.com/ Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com> Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
1 parent c9922dc commit 08597cd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,11 @@
10821082
compatible = "qcom,sc7280-inline-crypto-engine",
10831083
"qcom,inline-crypto-engine";
10841084
reg = <0x0 0x007c8000 0x0 0x18000>;
1085-
clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>;
1085+
clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
1086+
<&gcc GCC_SDCC1_AHB_CLK>;
1087+
clock-names = "core",
1088+
"iface";
1089+
power-domains = <&rpmhpd SC7280_CX>;
10861090
};
10871091

10881092
gpi_dma0: dma-controller@900000 {

0 commit comments

Comments
 (0)