* [PATCH v2 2/2] dt-bindings: mmc: mtk-sd: add Inline Crypto Engine clock
@ 2022-11-04 10:04 Mengqi Zhang
0 siblings, 0 replies; only message in thread
From: Mengqi Zhang @ 2022-11-04 10:04 UTC (permalink / raw)
To: chaotian.jing, ulf.hansson, robh+dt, krzysztof.kozlowski+dt,
matthias.bgg, wenbin.mei, angelogioacchino.delregno
Cc: linux-mmc, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel, Mengqi Zhang
Add optional crypto clock of the Inline Crypto Engine of Mediatek SoCs.
Signed-off-by: Mengqi Zhang <mengqi.zhang@mediatek.com>
---
.../devicetree/bindings/mmc/mtk-sd.yaml | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
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
@@ -263,6 +263,28 @@ allOf:
- const: bus_clk
- const: sys_cg
+ - 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:
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-04 10:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 10:04 [PATCH v2 2/2] dt-bindings: mmc: mtk-sd: add Inline Crypto Engine clock Mengqi Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®