فهرست منبع

crypto: caam - Added property fsl, sec-era in SEC4.0 device tree binding.

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: Kumar Gala <galak@kernel.crashing.org>
Vakul Garg 13 سال پیش
والد
کامیت
2d1efdb232
1فایلهای تغییر یافته به همراه9 افزوده شده و 3 حذف شده
  1. 9 3
      Documentation/devicetree/bindings/crypto/fsl-sec4.txt

+ 9 - 3
Documentation/devicetree/bindings/crypto/fsl-sec4.txt

@@ -54,8 +54,13 @@ PROPERTIES
    - compatible
    - compatible
       Usage: required
       Usage: required
       Value type: <string>
       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
    - #address-cells
        Usage: required
        Usage: required
@@ -107,7 +112,8 @@ PROPERTIES
 
 
 EXAMPLE
 EXAMPLE
 	crypto@300000 {
 	crypto@300000 {
-		compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
+		compatible = "fsl,sec-v4.0";
+		fsl,sec-era = <0x2>;
 		#address-cells = <1>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		#size-cells = <1>;
 		reg = <0x300000 0x10000>;
 		reg = <0x300000 0x10000>;