summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/crypto
diff options
context:
space:
mode:
authorFabien DESSENNE2017-10-19 17:10:29 +0200
committerHerbert Xu2017-11-29 06:43:41 +0100
commitf82f59cf665562aa1ce6097827d958382724dce4 (patch)
treed7d56e7621093762aa952a8543803ef1f29ecdbf /Documentation/devicetree/bindings/crypto
parentcrypto: tcrypt - fix S/G table for test_aead_speed() (diff)
downloadkernel-qcow2-linux-f82f59cf665562aa1ce6097827d958382724dce4.tar.gz
kernel-qcow2-linux-f82f59cf665562aa1ce6097827d958382724dce4.tar.xz
kernel-qcow2-linux-f82f59cf665562aa1ce6097827d958382724dce4.zip
dt-bindings: Document STM32 CRYP bindings
Document device tree bindings for the STM32 CRYP. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/crypto')
-rw-r--r--Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt19
1 files changed, 19 insertions, 0 deletions
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 000000000000..970487fa40b8
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt
@@ -0,0 +1,19 @@
+* 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:
+crypto@50060000 {
+ compatible = "st,stm32f756-cryp";
+ reg = <0x50060000 0x400>;
+ interrupts = <79>;
+ clocks = <&rcc 0 STM32F7_AHB2_CLOCK(CRYP)>;
+ resets = <&rcc STM32F7_AHB2_RESET(CRYP)>;
+};