diff mbox

arm64: dts: marvell: enable the cpm crypto engine on the mcbin

Message ID 20170615080150.27534-1-antoine.tenart@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Antoine Tenart June 15, 2017, 8:01 a.m. UTC
This patch enables the cpm crypto engine on the mcbin.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
---

Hi Gregory,

This patch applies on top of today's mvebu/dt64 branch.

Thanks!
Antoine

 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Gregory CLEMENT June 15, 2017, 8:15 a.m. UTC | #1
Hi Antoine,
 
 On jeu., juin 15 2017, Antoine Tenart <antoine.tenart@free-electrons.com> wrote:

> This patch enables the cpm crypto engine on the mcbin.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>

as this controller is always present and dot not depend on any
pinmux configuration, could you enable it at SoC level?

Thanks,

Gregory

> ---
>
> Hi Gregory,
>
> This patch applies on top of today's mvebu/dt64 branch.
>
> Thanks!
> Antoine
>
>  arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
> index fe56efcfcefe..2556c8268b40 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
> @@ -176,3 +176,7 @@
>  	usb-phy = <&usb3h0_phy>;
>  	status = "okay";
>  };
> +
> +&cpm_crypto {
> +	status = "okay";
> +};
> -- 
> 2.9.4
>
Antoine Tenart June 15, 2017, 8:20 a.m. UTC | #2
Hi Gregory,

On Thu, Jun 15, 2017 at 10:15:58AM +0200, Gregory CLEMENT wrote:
>  On jeu., juin 15 2017, Antoine Tenart <antoine.tenart@free-electrons.com> wrote:
> 
> > This patch enables the cpm crypto engine on the mcbin.
> 
> as this controller is always present and dot not depend on any
> pinmux configuration, could you enable it at SoC level?

That's right. I'll send a new version enabling this at SoC level (and
cleaning up dts files that already enable it).

Thanks!
Antoine
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
index fe56efcfcefe..2556c8268b40 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
@@ -176,3 +176,7 @@ 
 	usb-phy = <&usb3h0_phy>;
 	status = "okay";
 };
+
+&cpm_crypto {
+	status = "okay";
+};