Skip to contentSkip to conversation

ARM: dts: imx: Remove optional 'fsl,sec-era' property

PATCH New Fabio Estevam 2 participants 2 messages Jul 4, 2018 – Jul 11, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx: Remove optional 'fsl,sec-era' property

From: Fabio Estevam <[email protected]>

Since commit 654f2b937b38 ("crypto: caam - allow retrieving 'era' from register") the CAAM driver is capable of obtaining the era version by reading the appropriate CAAM registers, so let the CAAM driver discover the era version in run-time instead of hardcoding such information in the device tree.

According to Documentation/devicetree/bindings/crypto/fsl-sec4.txt the 'fsl,sec-era' is an optional property and this can be safely removed now.

---
 arch/arm/boot/dts/imx6qdl.dtsi | 1 -
 arch/arm/boot/dts/imx6sx.dtsi  | 1 -
 arch/arm/boot/dts/imx7s.dtsi   | 1 -
 3 files changed, 3 deletions(-)
arch/arm/boot/dts/imx6qdl.dtsi +0 -1
index 911141e..61d2d26 100644
@@ -922,7 +922,6 @@
 
 			crypto: caam at 2100000 {
 				compatible = "fsl,sec-v4.0";
-				fsl,sec-era = <4>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 				reg = <0x2100000 0x10000>;
arch/arm/boot/dts/imx6sx.dtsi +0 -1
index c8970bf..ddbde46 100644
@@ -815,7 +815,6 @@
 
 			crypto: caam at 2100000 {
 				compatible = "fsl,sec-v4.0";
-				fsl,sec-era = <4>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 				reg = <0x2100000 0x10000>;
arch/arm/boot/dts/imx7s.dtsi +0 -1
index 9ced589..a052198 100644
@@ -842,7 +842,6 @@
 
 			crypto: caam at 30900000 {
 				compatible = "fsl,sec-v4.0";
-				fsl,sec-era = <8>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 				reg = <0x30900000 0x40000>;
Signature · 1 line
2.7.4
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx: Remove optional 'fsl,sec-era' property

Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Since commit 654f2b937b38 ("crypto: caam - allow retrieving 'era' from register") the CAAM driver is capable of obtaining the era version by reading the appropriate CAAM registers, so let the CAAM driver discover the era version in run-time instead of hardcoding such information in the device tree.

Quoted 5 lines

According to Documentation/devicetree/bindings/crypto/fsl-sec4.txt the 'fsl,sec-era' is an optional property and this can be safely removed now.

Applied, thanks.