arm64: dts: marvell: cp110: enable the crypto engine at the SoC level
Subsystems (2)
PATCH v2 1/3 arm64: dts: marvell: cp110: enable the crypto engine at the SoC level
Enable the cryptographic engine at the SoC level on the master cp110. This engine is always present and do not depends on any pinmux configuration.
--- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +0 -1
@@ -245,7 +245,6 @@ "ring2", "ring3", "eip"; clocks = <&cpm_syscon0 1 26>; dma-mask = <0xff 0xffffffff>; - status = "disabled"; }; };
Signature · 1 line
2.9.4
PATCH v2 2/3 arm64: dts: marvell: remove cpm crypto nodes from dts files
The cryptographic engine on the master cp110 is now enabled by default at the SoC level. Remove its dts nodes that were only enabling it.
--- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 4 ---- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 4 ---- 2 files changed, 8 deletions(-)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +0 -4
@@ -187,7 +187,3 @@ phy = <&phy1>; phy-mode = "rgmii-id"; }; - -&cpm_crypto { - status = "okay"; -};
arch/arm64/boot/dts/marvell/armada-8040-db.dts +0 -4
@@ -142,10 +142,6 @@ phy-mode = "rgmii-id"; }; -&cpm_crypto { - status = "okay"; -}; - /* CON5 on CP1 expansion */ &cps_pcie2 { status = "okay";
Signature · 1 line
2.9.4
PATCH v2 2/3 arm64: dts: marvell: remove cpm crypto nodes from dts files
Hi Antoine,
Quoted 4 lines · Antoine Tenart
The cryptographic engine on the master cp110 is now enabled by default at the SoC level. Remove its dts nodes that were only enabling it.
Signed-off-by Antoine Tenart <[email protected]>
Applied on mvebu/dt64
Thanks,
Gregory
Quoted 35 lines
--- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 4 ---- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 4 ---- 2 files changed, 8 deletions(-)arch/arm64/boot/dts/marvell/armada-7040-db.dts +0
-4@@ -187,7 +187,3 @@ phy = <&phy1>; phy-mode = "rgmii-id"; }; - -&cpm_crypto { - status = "okay"; -};arch/arm64/boot/dts/marvell/armada-8040-db.dts +0
-4@@ -142,10 +142,6 @@ phy-mode = "rgmii-id"; }; -&cpm_crypto { - status = "okay"; -}; - /* CON5 on CP1 expansion */ &cps_pcie2 { status = "okay";Signature · 1 line
2.9.4
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v2 3/3 arm64: dts: marvell: add a comment on the cp110 slave node status
In reply to Antoine TenartThe cryptographic engine found on the cp110 slave is disabled by default because of some known limitations. Add a comment to explain why it is disabled by default.
--- arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +7 -0
@@ -234,6 +234,13 @@ "ring2", "ring3", "eip"; clocks = <&cps_syscon0 1 26>; dma-mask = <0xff 0xffffffff>; + /* + * The cryptographic engine found on the cp110 + * master is enabled by default at the SoC + * level. Because it is not possible as of now + * to enable two cryptographic engines in + * parallel, disable this one by default. + */ status = "disabled"; }; };
Signature · 1 line
2.9.4
PATCH v2 3/3 arm64: dts: marvell: add a comment on the cp110 slave node status
Hi Antoine,
Quoted 5 lines · Antoine Tenart
The cryptographic engine found on the cp110 slave is disabled by default because of some known limitations. Add a comment to explain why it is disabled by default.
Signed-off-by Antoine Tenart <[email protected]>
Applied on mvebu/dt64
Thanks,
Gregory
Quoted 25 lines
--- arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +7
-0@@ -234,6 +234,13 @@ "ring2", "ring3", "eip"; clocks = <&cps_syscon0 1 26>; dma-mask = <0xff 0xffffffff>; + /* + * The cryptographic engine found on the cp110 + * master is enabled by default at the SoC + * level. Because it is not possible as of now + * to enable two cryptographic engines in + * parallel, disable this one by default. + */ status = "disabled"; }; };Signature · 1 line
2.9.4
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v2 1/3 arm64: dts: marvell: cp110: enable the crypto engine at the SoC level
In reply to Antoine TenartHi Antoine,
Quoted 5 lines · Antoine Tenart
Enable the cryptographic engine at the SoC level on the master cp110. This engine is always present and do not depends on any pinmux configuration.
Signed-off-by Antoine Tenart <[email protected]>
Applied on mvebu/dt64
Thanks,
Gregory
Quoted 19 lines
--- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 1 - 1 file changed, 1 deletion(-)arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +0
-1@@ -245,7 +245,6 @@ "ring2", "ring3", "eip"; clocks = <&cpm_syscon0 1 26>; dma-mask = <0xff 0xffffffff>; - status = "disabled"; }; };Signature · 1 line
2.9.4
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com