Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
description: platform specific settings for DLL_CONFIG reg.

qcom,ice:
$ref: /schemas/types.yaml#/definitions/phandle
description:
phandle to the Inline Crypto Engine (ICE) hardware block for this controller.

iommus:
minItems: 1
maxItems: 8
Expand Down Expand Up @@ -223,6 +228,16 @@ allOf:
- const: cqhci
- const: ice

- if:
required:
- qcom,ice
then:
properties:
reg-names:
not:
contains:
const: ice

unevaluatedProperties: false

examples:
Expand Down
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/kodiak.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,8 @@
qcom,dll-config = <0x0007642c>;
qcom,ddr-config = <0x80040868>;

qcom,ice = <&sdhc_ice>;

mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
Expand All @@ -1071,6 +1073,13 @@
};
};

sdhc_ice: crypto@7c8000 {
compatible = "qcom,sc7280-inline-crypto-engine",
"qcom,inline-crypto-engine";
reg = <0x0 0x007c8000 0x0 0x18000>;
clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>;
};

gpi_dma0: dma-controller@900000 {
#dma-cells = <3>;
compatible = "qcom,sc7280-gpi-dma", "qcom,sm6350-gpi-dma";
Expand Down
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/monaco.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4206,6 +4206,8 @@
supports-cqe;
dma-coherent;

qcom,ice = <&sdhc_ice>;

status = "disabled";

sdhc1_opp_table: opp-table {
Expand Down Expand Up @@ -4233,6 +4235,13 @@
};
};

sdhc_ice: crypto@87c8000 {
compatible = "qcom,qcs8300-inline-crypto-engine",
"qcom,inline-crypto-engine";
reg = <0x0 0x087c8000 0x0 0x18000>;
clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>;
};

usb_1_hsphy: phy@8904000 {
compatible = "qcom,qcs8300-usb-hs-phy",
"qcom,usb-snps-hs-7nm-phy";
Expand Down