2014-10-19 14:16:20

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH v5 2/4] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System

This patch adds documentation for Device-Tree bindings for the Security System cryptographic accelerator driver.

Signed-off-by: LABBE Corentin <[email protected]>
---
Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/sunxi-ss.txt

diff --git a/Documentation/devicetree/bindings/crypto/sunxi-ss.txt b/Documentation/devicetree/bindings/crypto/sunxi-ss.txt
new file mode 100644
index 0000000..a566803
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/sunxi-ss.txt
@@ -0,0 +1,9 @@
+* Allwinner Security System found on A20 SoC
+
+Required properties:
+- compatible : Should be "allwinner,sun7i-a20-crypto".
+- reg: Should contain the Security System register location and length.
+- interrupts: Should contain the IRQ line for the Security System.
+- clocks : A phandle to the functional clock node of the Security System module
+- clock-names : Name of the functional clock, should be "ahb" and "mod".
+
--
2.0.4


2014-10-20 12:02:59

by Koen Kooi

[permalink] [raw]
Subject: Re: [PATCH v5 2/4] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System


> Op 19 okt. 2014, om 16:16 heeft LABBE Corentin <[email protected]> het volgende geschreven:
>
> This patch adds documentation for Device-Tree bindings for the Security System cryptographic accelerator driver.
>
> Signed-off-by: LABBE Corentin <[email protected]>
> ---
> Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 +++++++++
> 1 file changed, 9 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/crypto/sunxi-ss.txt
>
> diff --git a/Documentation/devicetree/bindings/crypto/sunxi-ss.txt b/Documentation/devicetree/bindings/crypto/sunxi-ss.txt
> new file mode 100644
> index 0000000..a566803
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/crypto/sunxi-ss.txt
> @@ -0,0 +1,9 @@
> +* Allwinner Security System found on A20 SoC
> +
> +Required properties:
> +- compatible : Should be "allwinner,sun7i-a20-crypto".
> +- reg: Should contain the Security System register location and length.
> +- interrupts: Should contain the IRQ line for the Security System.
> +- clocks : A phandle to the functional clock node of the Security System module
> +- clock-names : Name of the functional clock, should be "ahb" and "mod".

It would be nice to have a copy/paste ready example node in here, like Boris did in "[PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc".

regards,

Koen