summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMengqi Zhang <mengqi.zhang@mediatek.com>2022-11-06 04:39:26 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2022-12-07 13:22:34 +0100
commit5c133688a1bfc110ed67de3ddaafa04facacbd5f (patch)
tree0b3445ebca357889a8f11ac583aea0e04d9971d6
parentdt-bindings: mmc: sdhci-msm: Document compatible for MSM8976 (diff)
downloadlinux-5c133688a1bfc110ed67de3ddaafa04facacbd5f.tar.xz
linux-5c133688a1bfc110ed67de3ddaafa04facacbd5f.zip
dt-bindings: mmc: mtk-sd: add Inline Crypto Engine clock
Add optional crypto clock of the Inline Crypto Engine of Mediatek SoCs. Signed-off-by: Mengqi Zhang <mengqi.zhang@mediatek.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20221106033924.9854-3-mengqi.zhang@mediatek.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/mmc/mtk-sd.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
index 6f8ecb4788eb..8ed94a12a03b 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
@@ -266,6 +266,28 @@ allOf:
- if:
properties:
compatible:
+ enum:
+ - mediatek,mt8186-mmc
+ - mediatek,mt8188-mmc
+ - mediatek,mt8195-mmc
+ then:
+ properties:
+ clocks:
+ items:
+ - description: source clock
+ - description: HCLK which used for host
+ - description: independent source clock gate
+ - description: crypto clock used for data encrypt/decrypt (optional)
+ clock-names:
+ items:
+ - const: source
+ - const: hclk
+ - const: source_cg
+ - const: crypto
+
+ - if:
+ properties:
+ compatible:
contains:
const: mediatek,mt8192-mmc
then: