public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: crypto: eip93: add clock gate and reset line
@ 2026-03-05 19:53 Aleksander Jan Bajkowski
  2026-03-05 19:53 ` [PATCH v2 2/2] arm64: dts: airoha: en7581: add crypto offload support Aleksander Jan Bajkowski
  2026-03-05 20:00 ` [PATCH v2 1/2] dt-bindings: crypto: eip93: add clock gate and reset line Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Aleksander Jan Bajkowski @ 2026-03-05 19:53 UTC (permalink / raw)
  To: ansuelsmth, herbert, davem, matthias.bgg,
	angelogioacchino.delregno, robh, krzk+dt, conor+dt, lorenzo,
	olek2, linux-arm-kernel, linux-mediatek, linux-crypto, devicetree,
	linux-kernel

Add the clock gate and reset line, both of which are available
on the Airoha AN7581. Both properties are mandatory.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
v2:
- mandate clock and reset properties
- drop extra new lines in example
---
 .../crypto/inside-secure,safexcel-eip93.yaml        | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml
index 997bf9717f9e..10caa989f660 100644
--- a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml
+++ b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml
@@ -48,20 +48,31 @@ properties:
   interrupts:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg
   - interrupts
+  - clocks
+  - resets
 
 additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/clock/en7523-clk.h>
     #include <dt-bindings/interrupt-controller/arm-gic.h>
+    #include <dt-bindings/reset/airoha,en7581-reset.h>
 
     crypto@1e004000 {
       compatible = "airoha,en7581-eip93", "inside-secure,safexcel-eip93ies";
       reg = <0x1fb70000 0x1000>;
-
+      clocks = <&scuclk EN7523_CLK_CRYPTO>;
       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+      resets = <&scuclk EN7581_CRYPTO_RST>;
     };
-- 
2.47.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-05 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05 19:53 [PATCH v2 1/2] dt-bindings: crypto: eip93: add clock gate and reset line Aleksander Jan Bajkowski
2026-03-05 19:53 ` [PATCH v2 2/2] arm64: dts: airoha: en7581: add crypto offload support Aleksander Jan Bajkowski
2026-03-05 20:00 ` [PATCH v2 1/2] dt-bindings: crypto: eip93: add clock gate and reset line Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox