crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.
authorVakul Garg <vakul@freescale.com>
Thu, 24 Jan 2013 06:43:46 +0000 (12:13 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 4 Feb 2013 13:16:54 +0000 (21:16 +0800)
This new property defines the era of the particular SEC version.
The compatible property in device tree "crypto" node has been updated
not to contain SEC era numbers.

Signed-off-by: Vakul Garg <vakul@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/fsl-sec4.txt

index fc9ce6f1688cdb18db58a652f24fa4013de76bff..e4022776ac6e361c47a6564b4d03477835571d0d 100644 (file)
@@ -54,8 +54,13 @@ PROPERTIES
    - compatible
       Usage: required
       Value type: <string>
-      Definition: Must include "fsl,sec-v4.0". Also includes SEC
-           ERA versions (optional) with which the device is compatible.
+      Definition: Must include "fsl,sec-v4.0"
+
+   - fsl,sec-era
+      Usage: optional
+      Value type: <u32>
+      Definition: A standard property. Define the 'ERA' of the SEC
+          device.
 
    - #address-cells
        Usage: required
@@ -107,7 +112,8 @@ PROPERTIES
 
 EXAMPLE
        crypto@300000 {
-               compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
+               compatible = "fsl,sec-v4.0";
+               fsl,sec-era = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x300000 0x10000>;