Skip to content

Commit 8eb9800

Browse files
authored
Enable ICE for UFS on Hamoa IoT EVK (#848)
Enable ICE for UFS on Hamoa IoT EVK
2 parents 967997b + a666b5e commit 8eb9800

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- qcom,sm8550-inline-crypto-engine
2424
- qcom,sm8650-inline-crypto-engine
2525
- qcom,sm8750-inline-crypto-engine
26+
- qcom,x1e80100-inline-crypto-engine
2627
- const: qcom,inline-crypto-engine
2728

2829
reg:
@@ -55,12 +56,12 @@ additionalProperties: false
5556

5657
allOf:
5758
- if:
58-
properties:
59-
compatible:
60-
contains:
61-
enum:
62-
- qcom,eliza-inline-crypto-engine
63-
- qcom,milos-inline-crypto-engine
59+
properties:
60+
compatible:
61+
contains:
62+
enum:
63+
- qcom,eliza-inline-crypto-engine
64+
- qcom,milos-inline-crypto-engine
6465

6566
then:
6667
required:

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3943,6 +3943,8 @@
39433943
phys = <&ufs_mem_phy>;
39443944
phy-names = "ufsphy";
39453945

3946+
qcom,ice = <&ice>;
3947+
39463948
#reset-cells = <1>;
39473949

39483950
status = "disabled";
@@ -3988,6 +3990,17 @@
39883990
};
39893991
};
39903992

3993+
ice: crypto@1d88000 {
3994+
compatible = "qcom,x1e80100-inline-crypto-engine",
3995+
"qcom,inline-crypto-engine";
3996+
reg = <0x0 0x01d88000 0x0 0x18000>;
3997+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
3998+
<&gcc GCC_UFS_PHY_AHB_CLK>;
3999+
clock-names = "core",
4000+
"iface";
4001+
power-domains = <&gcc GCC_UFS_PHY_GDSC>;
4002+
};
4003+
39914004
tcsr_mutex: hwlock@1f40000 {
39924005
compatible = "qcom,tcsr-mutex";
39934006
reg = <0 0x01f40000 0 0x20000>;

0 commit comments

Comments
 (0)