Thread (5 messages) 5 messages, 2 authors, 2017-08-17

[PATCH v2 2/3] dt-bindings: Document STM32 CRYP bindings

From: robh@kernel.org (Rob Herring)
Date: 2017-08-17 21:11:09
Also in: linux-crypto, linux-devicetree, lkml

On Tue, Aug 15, 2017 at 09:19:43AM +0200, Fabien Dessenne wrote:
quoted hunk ↗ jump to hunk
Document device tree bindings for the STM32 CRYP.

Signed-off-by: Fabien Dessenne <redacted>
---
 .../devicetree/bindings/crypto/st,stm32-cryp.txt     | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
diff --git a/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt b/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
new file mode 100644
index 0000000..7c6d599
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
@@ -0,0 +1,20 @@
+* STMicroelectronics STM32 CRYP
+
+Required properties:
+- compatible: Should be "st,stm32f756-cryp".
+- reg: The address and length of the peripheral registers space
+- clocks: The input clock of the CRYP instance
+- interrupts: The CRYP interrupt
+
+Optional properties:
+- resets: The input reset of the CRYP instance
+
+Example:
+cryp1: cryp at 50060000 {
crypto at ..
+	compatible = "st,stm32f756-cryp";
+	reg = <0x50060000 0x400>;
+	interrupts = <79>;
+	clocks = <&rcc 0 STM32F7_AHB2_CLOCK(CRYP)>;
+	resets = <&rcc STM32F7_AHB2_RESET(CRYP)>;
+	status = "disabled";
Don't show status in examples.

Otherwise,

Acked-by: Rob Herring <robh@kernel.org>
+};
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help