Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1686534 > unrolled thread
| Started by | Lionel Debieve <lionel.debieve@st.com> |
|---|---|
| First post | 2017-07-13 15:40 +0200 |
| Last post | 2017-07-17 20:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/2] dt-bindings: Document STM32 HASH bindings Lionel Debieve <lionel.debieve@st.com> - 2017-07-13 15:40 +0200
Re: [PATCH 1/2] dt-bindings: Document STM32 HASH bindings Rob Herring <robh@kernel.org> - 2017-07-17 20:40 +0200
| From | Lionel Debieve <lionel.debieve@st.com> |
|---|---|
| Date | 2017-07-13 15:40 +0200 |
| Subject | [PATCH 1/2] dt-bindings: Document STM32 HASH bindings |
| Message-ID | <u2Mvv-6cV-1@gated-at.bofh.it> |
This adds documentation of device tree bindings for the STM32
HASH controller.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
---
.../devicetree/bindings/crypto/st,stm32-hash.txt | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/st,stm32-hash.txt
diff --git a/Documentation/devicetree/bindings/crypto/st,stm32-hash.txt b/Documentation/devicetree/bindings/crypto/st,stm32-hash.txt
new file mode 100644
index 0000000..04fc246
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/st,stm32-hash.txt
@@ -0,0 +1,30 @@
+* STMicroelectronics STM32 HASH
+
+Required properties:
+- compatible: Should contain entries for this and backward compatible
+ HASH versions:
+ - "st,stm32f456-hash" for stm32 F456.
+ - "st,stm32f756-hash" for stm32 F756.
+- reg: The address and length of the peripheral registers space
+- interrupts: the interrupt specifier for the HASH
+- clocks: The input clock of the HASH instance
+
+Optional properties:
+- resets: The input reset of the HASH instance
+- dmas: DMA specifiers for the HASH. See the DMA client binding,
+ Documentation/devicetree/bindings/dma/dma.txt
+- dma-names: DMA request name. Should be "in" if a dma is present.
+- dma-maxburst: Set number of maximum dma burst supported
+
+Example:
+
+hash1: hash@50060400 {
+ compatible = "st,stm32f756-hash";
+ reg = <0x50060400 0x400>;
+ interrupts = <80>;
+ clocks = <&rcc 0 STM32F7_AHB2_CLOCK(HASH)>;
+ resets = <&rcc STM32F7_AHB2_RESET(HASH)>;
+ dmas = <&dma2 7 2 0x400 0x0>;
+ dma-names = "in";
+ dma-maxburst = <0>;
+};
--
2.7.4
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-07-17 20:40 +0200 |
| Message-ID | <u4j62-aL-15@gated-at.bofh.it> |
| In reply to | #1686534 |
On Thu, Jul 13, 2017 at 03:32:26PM +0200, Lionel Debieve wrote: > This adds documentation of device tree bindings for the STM32 > HASH controller. > > Signed-off-by: Lionel Debieve <lionel.debieve@st.com> > --- > .../devicetree/bindings/crypto/st,stm32-hash.txt | 30 ++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100644 Documentation/devicetree/bindings/crypto/st,stm32-hash.txt Acked-by: Rob Herring <robh@kernel.org>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web