diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2021-04-13 11:15:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-04-22 09:31:30 +0200 |
commit | 6535cbc490713b69333a183fcc2cae1e5f28eea1 (patch) | |
tree | 8c6b8f90876f65d2655a10153472bb0dc4ac9e94 /Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml | |
parent | crypto: hisilicon - enable new error types for QM (diff) | |
download | linux-6535cbc490713b69333a183fcc2cae1e5f28eea1.tar.xz linux-6535cbc490713b69333a183fcc2cae1e5f28eea1.zip |
dt-bindings: crypto: ti,sa2ul: Add new compatible for AM64
Add the AM64 version of sa2ul to the compatible list.
[v_gupta@ti.com: Conditional dma-coherent requirement, clocks]
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vaibhav Gupta <v_gupta@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml b/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml index 1d48ac712b23..a410d2cedde6 100644 --- a/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml +++ b/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml @@ -14,6 +14,7 @@ properties: enum: - ti,j721e-sa2ul - ti,am654-sa2ul + - ti,am64-sa2ul reg: maxItems: 1 @@ -45,6 +46,18 @@ properties: description: Address translation for the possible RNG child node for SA2UL + clocks: + items: + - description: Clock used by PKA + - description: Main Input Clock + - description: Clock used by rng + + clock-names: + items: + - const: pka_in_clk + - const: x1_clk + - const: x2_clk + patternProperties: "^rng@[a-f0-9]+$": type: object @@ -57,7 +70,16 @@ required: - power-domains - dmas - dma-names - - dma-coherent + +if: + properties: + compatible: + enum: + - ti,j721e-sa2ul + - ti,am654-sa2ul +then: + required: + - dma-coherent additionalProperties: false |