[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210413091559.154169-2-vaibhavgupta40@gmail.com>
Date: Tue, 13 Apr 2021 14:45:57 +0530
From: Vaibhav Gupta <vaibhavgupta40@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Rob Herring <robh+dt@...nel.org>
Cc: vaibhavgupta40@...il.com, Kishon Vijay Abraham <kishon@...com>,
Sekhar Nori <nsekhar@...com>,
Lokesh Vutla <lokeshvutla@...com>,
Praneeth Bajjuri <praneeth@...com>,
Gowtham Tammana <g-tammana@...com>,
linux-crypto@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 1/3] dt-bindings: crypto: ti,sa2ul: Add new compatible for AM64
From: Peter Ujfalusi <peter.ujfalusi@...com>
Add the AM64 version of sa2ul to the compatible list.
[v_gupta@...com: Conditional dma-coherent requirement, clocks]
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
Signed-off-by: Vaibhav Gupta <v_gupta@...com>
---
.../devicetree/bindings/crypto/ti,sa2ul.yaml | 24 ++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
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
--
2.31.0
Powered by blists - more mailing lists