Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2726789ybc; Mon, 18 Nov 2019 03:46:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxKIUAgHty31U3sKtHwiNQZk1GuQw+gOslLgRPCEjQIuAmglUm6VSAWj+9AwsztBe+6Z+86 X-Received: by 2002:a17:906:a388:: with SMTP id k8mr25426063ejz.223.1574077605354; Mon, 18 Nov 2019 03:46:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574077605; cv=none; d=google.com; s=arc-20160816; b=Mc6YdbRaa/uwDRZnvxzam2h4bUf8//MBm8zG5IKMxjbCKBlPeYpK1/scFegIftAZGT HOE9CUAScOGt0wD+LFV4fkTun59WiG8FmreBmGfEffe4rfOj4wAvZrD/yIS13V11StVr ZY46Aa0cuNTyF/AXwGU3BxTVo/CsnrLJa69NBAsSf8D0LO6BXg0VvJbeW7yKJPPfuIaM 572AkhNiv8JHHdFL5x+JhBoDYxl7ZoE7Y8Q4GVmVnv9hTRhjJP92AOyCwmIw0hZvHAQ7 AsO/Kx7K2ksov0wAL2hHJdeJolPjn8vAJHuwq9j7RlyGmZTmHJm82Wg6sBofrTljYCK/ J51w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=xhDvoji60u3wqUSBDbKIynEbOgl5RfExROJDcrLo4cs=; b=AcuV+fCWMr65DwdWcZx3/AIyxSTq+JwYcZHLWCC0fDDjhM9dlzKf3gH6NWIUM6p75F uAuKvWWMR+eP9LLGxLUXexiUCOj9eZ5TrAzvdLcLgL2WUi3BV/f9SBqpTy8JtfyAE5T4 DW0BSxPjQg8iETv7bovP8eNX9ZrGmv2n/iqYNc5VQj+hOs2BV4K77Lqfop3pNqlpusjy k9dV2oaM1IpGSyrnY5wuQf7pqFZm4cwpGqiMkpPu+dnvrUsSCEVhVBI2CA/zYpkrwMga Pf5VrrG0D5M7433zbP3E5I+jcVruQOfAY5BpBAXYwSwTKE8BQoNVxIAUssCOca7GBELO u50g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o22si12208871edv.175.2019.11.18.03.46.13; Mon, 18 Nov 2019 03:46:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726976AbfKRLpF (ORCPT + 99 others); Mon, 18 Nov 2019 06:45:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:60952 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726704AbfKRLpF (ORCPT ); Mon, 18 Nov 2019 06:45:05 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D2085AD88; Mon, 18 Nov 2019 11:45:02 +0000 (UTC) Message-ID: <3209f601ad0537a7ef01e2a752f022ccf8816210.camel@suse.de> Subject: Re: [PATCH 3/3] ARM: dts: bcm2711: Enable HWRNG support From: Nicolas Saenz Julienne To: Stephen Brennan Cc: Mark Rutland , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Herbert Xu , Scott Branden , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, Ray Jui , linux-kernel@vger.kernel.org, Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Matt Mackall , Arnd Bergmann , linux-crypto@vger.kernel.org Date: Mon, 18 Nov 2019 12:44:59 +0100 In-Reply-To: <20191118075807.165126-4-stephen@brennan.io> References: <20191118075807.165126-1-stephen@brennan.io> <20191118075807.165126-4-stephen@brennan.io> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-BrzURT1nntfCQobYCsCl" User-Agent: Evolution 3.34.1 MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org --=-BrzURT1nntfCQobYCsCl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Stephen, On Sun, 2019-11-17 at 23:58 -0800, Stephen Brennan wrote: > From: Stefan Wahren >=20 > This enables hardware random number generator support for the BCM2711 > on the Raspberry Pi 4 board. >=20 > Signed-off-by: Stefan Wahren > Signed-off-by: Stephen Brennan > --- > arch/arm/boot/dts/bcm2711.dtsi | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >=20 > diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.d= tsi > index ac83dac2e6ba..2c19e5de284a 100644 > --- a/arch/arm/boot/dts/bcm2711.dtsi > +++ b/arch/arm/boot/dts/bcm2711.dtsi > @@ -92,10 +92,9 @@ pm: watchdog@7e100000 { > }; > =20 > rng@7e104000 { > + compatible =3D "brcm,bcm2711-rng200"; > interrupts =3D ; > - > - /* RNG is incompatible with brcm,bcm2835-rng */ > - status =3D "disabled"; > + status =3D "okay"; > }; > =20 > uart2: serial@7e201400 { We inherit the reg property from bcm283x.dtsi, on which we only define a si= ze of 0x10 bytes. I gather from the driver that iproc-rng200's register space = is at least 0x28 bytes big. We should also update the 'reg' property to: reg =3D <0x7e104000 0x28>; Regards, Nicolas --=-BrzURT1nntfCQobYCsCl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl3ShDsACgkQlfZmHno8 x/42dQgAiWoADYCp4IVFQLfny8DRGulI2ckkAswc80iZXIZSayMSqYsAogWqMDq1 IqOc4PUpzunlVDayHHLM4gxhvPZ+vVPbyQocAITnMo+kYw+CMdRKiwVSYw1ISuMx idBzkpcpDNHRh84KoSxR+hCwFjZEKqG72OdwwMEuDQQ14V6MSUFoj0OTCfYBAWJF KKYSn+GccciW0VwPzqXMNYDALxv6J3vhdDeOBskGwP4XCGdPu6VX5SBlFF2opS70 x7wIyX5Trf2w36VOihV2klVNf8QovaqpNzGpL73+3TjdwJV/zfuDRzTPrbRQdpj9 nQRFpEalCmqp7XUN1DxQFZ+yR9XAfw== =OhCk -----END PGP SIGNATURE----- --=-BrzURT1nntfCQobYCsCl--