diff options
author | Joel Fernandes <joelf@ti.com> | 2013-11-11 14:49:41 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-11-15 10:38:14 -0500 |
commit | 31844434239e30cc7419510921929194be41e637 (patch) | |
tree | 93023069d85a4d2abd450f8706d95c7ab92c26fc | |
parent | cd6d364f474491160bfd8cb4bad0637858023161 (diff) |
doc: devicetree: Add bindings documentation for omap-des driver
Add documentation for the generic OMAP DES crypto modul describing the device
tree bindings.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | Documentation/devicetree/bindings/crypto/omap-des.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/crypto/omap-des.txt b/Documentation/devicetree/bindings/crypto/omap-des.txt new file mode 100644 index 000000000000..e8c63bf2e16d --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/omap-des.txt | |||
@@ -0,0 +1,30 @@ | |||
1 | OMAP SoC DES crypto Module | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible : Should contain "ti,omap4-des" | ||
6 | - ti,hwmods: Name of the hwmod associated with the DES module | ||
7 | - reg : Offset and length of the register set for the module | ||
8 | - interrupts : the interrupt-specifier for the DES module | ||
9 | - clocks : A phandle to the functional clock node of the DES module | ||
10 | corresponding to each entry in clock-names | ||
11 | - clock-names : Name of the functional clock, should be "fck" | ||
12 | |||
13 | Optional properties: | ||
14 | - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, | ||
15 | Documentation/devicetree/bindings/dma/dma.txt | ||
16 | Each entry corresponds to an entry in dma-names | ||
17 | - dma-names: DMA request names should include "tx" and "rx" if present | ||
18 | |||
19 | Example: | ||
20 | /* DRA7xx SoC */ | ||
21 | des: des@480a5000 { | ||
22 | compatible = "ti,omap4-des"; | ||
23 | ti,hwmods = "des"; | ||
24 | reg = <0x480a5000 0xa0>; | ||
25 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; | ||
26 | dmas = <&sdma 117>, <&sdma 116>; | ||
27 | dma-names = "tx", "rx"; | ||
28 | clocks = <&l3_iclk_div>; | ||
29 | clock-names = "fck"; | ||
30 | }; | ||