Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Vakul Garg and committed by
Kumar Gala
2d1efdb2 d5bc813f

+9 -3
+9 -3
Documentation/devicetree/bindings/crypto/fsl-sec4.txt
··· 54 54 - compatible 55 55 Usage: required 56 56 Value type: <string> 57 - Definition: Must include "fsl,sec-v4.0". Also includes SEC 58 - ERA versions (optional) with which the device is compatible. 57 + Definition: Must include "fsl,sec-v4.0" 58 + 59 + - fsl,sec-era 60 + Usage: optional 61 + Value type: <u32> 62 + Definition: A standard property. Define the 'ERA' of the SEC 63 + device. 59 64 60 65 - #address-cells 61 66 Usage: required ··· 112 107 113 108 EXAMPLE 114 109 crypto@300000 { 115 - compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0"; 110 + compatible = "fsl,sec-v4.0"; 111 + fsl,sec-era = <0x2>; 116 112 #address-cells = <1>; 117 113 #size-cells = <1>; 118 114 reg = <0x300000 0x10000>;