summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mmc
diff options
context:
space:
mode:
authorMengqi Zhang <mengqi.zhang@mediatek.com>2022-11-06 06:39:26 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2022-12-07 15:22:34 +0300
commit5c133688a1bfc110ed67de3ddaafa04facacbd5f (patch)
tree0b3445ebca357889a8f11ac583aea0e04d9971d6 /Documentation/devicetree/bindings/mmc
parente97ee6f816c04e6a6fff875f5553c52ffd8b84d4 (diff)
downloadlinux-5c133688a1bfc110ed67de3ddaafa04facacbd5f.tar.xz
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
-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: