Skip to content

Commit f6ff91a

Browse files
abelvesaandersson
authored andcommitted
dt-bindings: crypto: Add Qualcomm Inline Crypto Engine
Add schema file for new Qualcomm Inline Crypto Engine driver. Signed-off-by: Abel Vesa <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Eric Biggers <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1f2aa2f commit f6ff91a

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/crypto/qcom,inline-crypto-engine.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Technologies, Inc. (QTI) Inline Crypto Engine
8+
9+
maintainers:
10+
- Bjorn Andersson <[email protected]>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- enum:
16+
- qcom,sm8550-inline-crypto-engine
17+
- const: qcom,inline-crypto-engine
18+
19+
reg:
20+
maxItems: 1
21+
22+
clocks:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- reg
28+
- clocks
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
35+
36+
crypto@1d88000 {
37+
compatible = "qcom,sm8550-inline-crypto-engine",
38+
"qcom,inline-crypto-engine";
39+
reg = <0x01d88000 0x8000>;
40+
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
41+
};
42+
...

0 commit comments

Comments
 (0)