Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp423412ybn; Tue, 1 Oct 2019 23:52:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzN9CP7y463m7xEGAKCBc3rsOfV56lrqdkd80ztujHC83XV+BbH9PWFHM71tr6+9hIDPMJh X-Received: by 2002:aa7:cf86:: with SMTP id z6mr2094504edx.230.1569999134431; Tue, 01 Oct 2019 23:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569999134; cv=none; d=google.com; s=arc-20160816; b=uh/ehxDdpPBZzGukWuQHSQl4qOZH9TDbkj/1zqhhXJMtlhdsbJ4X8qmhv1Aji3fHv7 a43arxphrnaISYI63dKytrUOYna1Bggqy9KSGEcc9444akAsuaHAi7lDM/T7O/IZQARL Tv+aRgtYs/XlC1I/KPTVu0pJI3QCpM9FwxIENW3Y1Gq0qUZPw6XHpbVE1jXcSzOLbdHH iroIyWMXOJ21wH+yZc3XbuYRqiX844loEzu+3S6rzfORHd7XIKhG4CpBx79iwGzQRl1x fSXNFnYIVsKRHe1bGjDloOiDOVEx+ideYSVTxxktXcpM0NAKguCP/1c0yqrLvqEmSOqO xLBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kCIHWoxQaofKZKaGoA/jUfBUA+1VxoDbuiKmy4wuHIA=; b=xqE4qk9KD/GyYprfwZbmS1N1A9Uk+PaYw5Y0dSc1EFz6TLRmOcC7PHjPWM4/CCfSlZ 9T0cPmbEt07pcNJNszbrB6IcZ+xsSPkzGL81xvtFyTxm2gBMBOmCCUxbnYUa/GIf89aT 9Am+i83JHer4Tn6J+Ia5jJR4sXWc/VBw+sNg5zGQUqyOT6yKrnj+FPkY7QHBhHrXdbbF NqrXCEkQKuPynhX7EU7gtjxPYnElkKUCusokKNb8Q3/GWAmrM6ISiMq8Aomp2tsdvnwD ROMdcl14pjEht/3kKHlqvF0fc3i9akfVWgAClswAWzaFc/UvbUcjEvaoJZbLjY/UzRgq vAkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hM22mscs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l16si9807237ejx.141.2019.10.01.23.51.50; Tue, 01 Oct 2019 23:52:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hM22mscs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727357AbfJBGCS (ORCPT + 99 others); Wed, 2 Oct 2019 02:02:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:45850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726806AbfJBGCR (ORCPT ); Wed, 2 Oct 2019 02:02:17 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4E3BA215EA; Wed, 2 Oct 2019 06:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569996136; bh=CV+keQnc3oa8IaO1/T0MBCxfFNAt5NtFUuPy7+FcG18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hM22mscs+qhQMk/S8W5R5oSgacgTbDnofWaJ7YLQekxJSLH6QWK+qdm+Vm9b/JlGM 4yCkFlqv+jnEFzQQRrzWH5IHcQkgylDWQJ28A8ABAsMFMWVjZXmIc0rzgJ8pWc3VZ6 lTiKwomFwZqq7ruUfUbgXv7Ddax/LbAqjDaorWgA= Date: Wed, 2 Oct 2019 08:02:14 +0200 From: Maxime Ripard To: Corentin Labbe Cc: catalin.marinas@arm.com, davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, robh+dt@kernel.org, wens@csie.org, will@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 05/11] ARM: dts: sun8i: H3: Add Crypto Engine node Message-ID: <20191002060214.bu67nkd3y6puknrb@gilmour> References: <20191001184141.27956-1-clabbe.montjoie@gmail.com> <20191001184141.27956-6-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m5s3egvksjuih2k6" Content-Disposition: inline In-Reply-To: <20191001184141.27956-6-clabbe.montjoie@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --m5s3egvksjuih2k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 01, 2019 at 08:41:35PM +0200, Corentin Labbe wrote: > The Crypto Engine is a hardware cryptographic accelerator that supports > many algorithms. > It could be found on most Allwinner SoCs. > > This patch enables the Crypto Engine on the Allwinner H3 SoC Device-tree. > > Signed-off-by: Corentin Labbe > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi > index e37c30e811d3..778a23a794c9 100644 > --- a/arch/arm/boot/dts/sun8i-h3.dtsi > +++ b/arch/arm/boot/dts/sun8i-h3.dtsi > @@ -153,6 +153,17 @@ > allwinner,sram = <&ve_sram 1>; > }; > > + crypto: crypto@1c15000 { > + compatible = "allwinner,sun8i-h3-crypto"; > + reg = <0x01c15000 0x1000>; > + interrupts = ; > + interrupt-names = "ce_ns"; That's not documented in the binding (and I guess unnecessary) > + resets = <&ccu RST_BUS_CE>; > + reset-names = "bus"; > + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; > + clock-names = "bus", "mod"; Nit: we put the clocks before the resets usually Maxime --m5s3egvksjuih2k6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXZQ9ZQAKCRDj7w1vZxhR xQ12AP4v8ngYjx24mlHXpcMOKB1UPEpZ7nVs0R3Z429dTd6YiwD+I2L/8Esrt1co O1jvbqC8meSjGLU39z/Mr3MOweUa+Q8= =RT92 -----END PGP SIGNATURE----- --m5s3egvksjuih2k6--