From: Gregory CLEMENT Subject: Re: [PATCH v3 15/16] ARM: marvell/dt: add crypto node to armada 370 dtsi Date: Mon, 25 May 2015 17:33:24 +0200 Message-ID: <556340C4.5090208@free-electrons.com> References: <1432301642-11470-1-git-send-email-boris.brezillon@free-electrons.com> <1432301642-11470-16-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, Thomas Petazzoni , Jason Cooper , Sebastian Hesselbarth , Andrew Lunn , Tawfik Bayouk , Lior Amsalem , Nadav Haklai , Eran Ben-Avi , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org To: Boris Brezillon , Arnaud Ebalard Return-path: Received: from down.free-electrons.com ([37.187.137.238]:36945 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750962AbbEYPdd (ORCPT ); Mon, 25 May 2015 11:33:33 -0400 In-Reply-To: <1432301642-11470-16-git-send-email-boris.brezillon@free-electrons.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: Hi Boris, Arnaud, On 22/05/2015 15:34, Boris Brezillon wrote: > From: Arnaud Ebalard > > Add crypto related nodes in armada-370.dtsi. > > Signed-off-by: Arnaud Ebalard > Signed-off-by: Boris Brezillon > --- > arch/arm/boot/dts/armada-370.dtsi | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi > index 00b50db5..1255318 100644 > --- a/arch/arm/boot/dts/armada-370.dtsi > +++ b/arch/arm/boot/dts/armada-370.dtsi > @@ -307,6 +307,26 @@ > dmacap,memset; > }; > }; > + > + crypto@90000 { > + compatible = "marvell,armada-370-crypto"; > + reg = <0x90000 0x10000>; > + reg-names = "regs"; > + interrupts = <48>; There is no clocks property. After a quick look on the datasheet, indeed I didn't find any clock which match the CESA. In this case you should update the binding documentation by adding that the clock is optional for armada-370-crypto. But for this patch: Acked-by: Gregory CLEMENT And as for the other one I will wait for that the driver will be merged before applying it. Thanks, Gregory > + marvell,crypto-srams = <&crypto_sram>; > + marvell,crypto-sram-size = <0x800>; > + status = "okay"; > + }; > + }; > + > + crypto_sram: sa-sram { > + compatible = "mmio-sram"; > + reg = ; > + reg-names = "sram"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 MBUS_ID(0x09, 0x01) 0 0x800>; > + status = "okay"; > }; > }; > }; > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com