Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2529978ybc; Mon, 18 Nov 2019 00:02:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxzDwAWZLYKDlR/618cPxSumhtmWnq+Nu+OOIA96As7ss4WRET+iuioZOm1YoXj+j5vjYDK X-Received: by 2002:a17:906:e8f:: with SMTP id p15mr25074393ejf.113.1574064137518; Mon, 18 Nov 2019 00:02:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574064137; cv=pass; d=google.com; s=arc-20160816; b=z3PfZegUqx7NkROIu/kvhQwEZzac7N3e5Gbtt8c+01LRYn4QwYk+neahIuTx8YEs3l RjkNNT0EYB6cE/W4KoVfTUEU58ilLgnbFP7fTptc5qa4MvwSxw5P6jQdG0xXUfzYRCp9 Yqjh0zq0oHnitYp/gDYvb2Gasrsrb5Ll0UYWAj1M+C0MzPgArdHcT1G5f22z+WV8U7yU 3rIdjfzepAm1nhQMVyOid2XClU1ys9HMyoWh6la+EJe2BUH0Um06hfyK37iK38p67+kQ wW9ul+n/zQFmlzx8Cly+10v3sHl8SMYzApBXM5/ZleL0ImyLQ1Qo6D+pbr2RaxmukflO xhVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=rnDOXSZ5PSkKW71tjFE4P0SpeDfoougigqcTZkEQtXI=; b=XSXKzLCVDF27Z3wspiZf4DHm8ZG1oMJflCstCk3dgf2/F8ugbcSNqFzjzgc6aS3JGQ F4WyqAz7h6dp9oEgUzpqPxZPvdD+GeQdh+JH1axKbVeF2ru+TNWKTd3Og6sqJqpnzAJG CE2V0Lj5hQfabcjUiupVhRgTvbtba/Vn8Ax9l5Jbep6lZAWg8SmrAr+Cw5eGQHK1aQJT cWyNa2ldK8RApT49tv01v16N33GqjUFSwH1kFLF1QvO4GJju2azhGBDAsPuc57Skn3uy 0/FeNJ+KYYSan2I7BGFy8TWITAUiX5GMz+W4/kZt4tMxbStStyQFAtb52ZFz5bc2wqKP unUQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@brennan.io header.s=selector01 header.b=cpe26Rcf; arc=pass (i=1 spf=pass spfdomain=brennan.io dkim=pass dkdomain=brennan.io dmarc=pass fromdomain=brennan.io>); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id um2si11668549ejb.64.2019.11.18.00.01.52; Mon, 18 Nov 2019 00:02:17 -0800 (PST) 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=@brennan.io header.s=selector01 header.b=cpe26Rcf; arc=pass (i=1 spf=pass spfdomain=brennan.io dkim=pass dkdomain=brennan.io dmarc=pass fromdomain=brennan.io>); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726717AbfKRH7o (ORCPT + 99 others); Mon, 18 Nov 2019 02:59:44 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21455 "EHLO sender4-of-o54.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbfKRH7n (ORCPT ); Mon, 18 Nov 2019 02:59:43 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574063913; cv=none; d=zohomail.com; s=zohoarc; b=Xk3i65B4Fu5x4VFH4ySsKzvsxbJO8zq+L05B611f30tGjhtITbjeA83awA2Q672Biu6cpGKIsn8umUiousOZLwOEsQxmSX/Wa7929nUDz75yPVUKGBC2cOQtsXcak6injbiGnpTpkh1N6wbfjIn4mNKkbKHrNpIqs/0AxRdHuns= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574063913; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=rnDOXSZ5PSkKW71tjFE4P0SpeDfoougigqcTZkEQtXI=; b=RnIQVKi4hXA2dQ8ac8gNEsOOTJowF+cpfvkILkMsbyZTXdaVtYolqbrMbp8UwF+mYQiJf7lRhLalRBpzau1Spb0J0ACztNqyiEhuwb1vYKqLgDVPIq93u8ITwBDigz0iKyrmfazFQbPPzPPWPciHxpUzHvBHBFRoiX6cHj+jxDg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=brennan.io; spf=pass smtp.mailfrom=stephen@brennan.io; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574063913; s=selector01; d=brennan.io; i=stephen@brennan.io; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; l=1520; bh=rnDOXSZ5PSkKW71tjFE4P0SpeDfoougigqcTZkEQtXI=; b=cpe26RcfhGlm7P/YpwYbB0VyjPEXbGW/F2PpjV214dtdUTxLjbWG/Ui6hXz/9dLk wosu0VD+cIhsMExFhUtJoQZDvbWr2Tjjfp8PoE7MuyJnWnoVgfVgL29lTentLPPnXP3 SSGn7jYKIV+yoj0o1D1/IjaGGV0sgtedLIQF9XOI= Received: from localhost (195.173.24.136.in-addr.arpa [136.24.173.195]) by mx.zohomail.com with SMTPS id 1574063912030754.6313842017521; Sun, 17 Nov 2019 23:58:32 -0800 (PST) From: Stephen Brennan To: stephen@brennan.io Cc: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Arnd Bergmann , Greg Kroah-Hartman , Florian Fainelli , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Message-ID: <20191118075807.165126-3-stephen@brennan.io> Subject: [PATCH 2/3] hwrng: iproc-rng200: Add support for BCM2711 Date: Sun, 17 Nov 2019 23:58:06 -0800 X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191118075807.165126-1-stephen@brennan.io> References: <20191118075807.165126-1-stephen@brennan.io> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Wahren BCM2711 features a RNG200 hardware random number generator block. So make the driver available. Signed-off-by: Stefan Wahren Signed-off-by: Stephen Brennan --- drivers/char/hw_random/Kconfig | 2 +- drivers/char/hw_random/iproc-rng200.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfi= g index 7c7fecfa2fb2..77e848fca531 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -90,7 +90,7 @@ config HW_RANDOM_BCM2835 =20 config HW_RANDOM_IPROC_RNG200 =09tristate "Broadcom iProc/STB RNG200 support" -=09depends on ARCH_BCM_IPROC || ARCH_BRCMSTB +=09depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB =09default HW_RANDOM =09---help--- =09 This driver provides kernel-side support for the RNG200 diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random= /iproc-rng200.c index 899ff25f4f28..32d9fe61a225 100644 --- a/drivers/char/hw_random/iproc-rng200.c +++ b/drivers/char/hw_random/iproc-rng200.c @@ -213,6 +213,7 @@ static int iproc_rng200_probe(struct platform_device *p= dev) } =20 static const struct of_device_id iproc_rng200_of_match[] =3D { +=09{ .compatible =3D "brcm,bcm2711-rng200", }, =09{ .compatible =3D "brcm,bcm7211-rng200", }, =09{ .compatible =3D "brcm,bcm7278-rng200", }, =09{ .compatible =3D "brcm,iproc-rng200", }, --=20 2.24.0