Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1347169ybc; Tue, 19 Nov 2019 19:20:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyqoH42RpKo5nSXFhaDxNNxZGQITeX4iNciNaiNrsTqVz+NXWbrIIRt8E3ey5ZFHLHgsOu7 X-Received: by 2002:a17:906:6043:: with SMTP id p3mr1891582ejj.103.1574220054073; Tue, 19 Nov 2019 19:20:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574220054; cv=pass; d=google.com; s=arc-20160816; b=kHT0kZP8PGg7BC3KBpEBdXIsbMBmAbQUM3GCRUjGt0HXmYkXoGI01bhuFaBLxK/2zz icPoRyUIlX2wpi1uLbg13KnrXiP2AOOv7R1bjP8pPg6Sd5Ip3y58Zss9fI2ofyraZWNb WhrZG8NJUzI6AvEaN+RYsJX7p60zcOuoei0fC0T0wvGyxaJE4v0gPeYzUPt8f5M1qiCP HRZHLC5sjzL/+lKEyrx/vLK/2FvKx2onNEjsWJqfoQ8qO04B+uzjPKMaTTqAOu+my79a 5v2KrcZhYIp22C9k/iu1t3bFCAYJsTXZwVuvpa8NrwmqzYVwpDwj8rTKaGTtVUObRc6o 9KDw== 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=Efwht2VhX2X3iX4OfpDosxQefq6lHG/BFamPUzKTwA4=; b=nNvOZgogCnkXGaHaK7JPp782jDGuA7QGlGZJOn4caZfZJlx235uNSGJNQeayxq1X9d pzxDLdCafpzOwlX4gv1lpgAeKR3d0kGiap40sqQV39o5MMdz9ytB0L+t40GZMOXvzTnI Yr8/oqXCFRz6RrxvS21I5NUAtikY7a3Z8eSBOGNTTBkYQMi2dKRg7MyBgal59O+fF23Y YawUPWouRxg9kzqXrapKNdp+1BRCzYhtCBoAFJMxH3N4MOXn18hGwtWXbqOb14FqowxO ciIIoxCzzATjC7SQiZCsZ756KlnOcmNoeTddQ6WA2RQYaE3QIWE9whfe79an88OadO3V jD2g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@brennan.io header.s=selector01 header.b=UWPcAzhZ; 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-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 c31si16679378eda.343.2019.11.19.19.20.29; Tue, 19 Nov 2019 19:20:54 -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; dkim=pass header.i=@brennan.io header.s=selector01 header.b=UWPcAzhZ; 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-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 S1727585AbfKTDRp (ORCPT + 99 others); Tue, 19 Nov 2019 22:17:45 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21465 "EHLO sender4-of-o54.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727264AbfKTDRp (ORCPT ); Tue, 19 Nov 2019 22:17:45 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574219793; cv=none; d=zohomail.com; s=zohoarc; b=RSpCohzv+f9T1VYLNuM8wp6pAQvrLm2bKPIikd/UwZECpWbbBVVVhp69Cvkpk7/gGbh6uRsH1moDUiysa+RhfWfZ+Ba32Z7pf+t9nkel2v664fc1y9pUnZUqnS3rckmCMh0Qd8rP67n72+osy8VGAlgZcYX/jNYSyLujz0U6MhA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574219793; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Efwht2VhX2X3iX4OfpDosxQefq6lHG/BFamPUzKTwA4=; b=Rbp24i5z1RYEkQYC8Z1NQ6DyJodMQSQtP7W2lRO7GYMKztZgjHS5U2vWWYPWmAiNYgJZMyl4+NfKedGPSCi6w2WmP6w4JfCUi3Sokr05dza6XEBDxXQYw7x0xSGnhGylqlT+smki0HlqY3qw7+IA6oQja2mkoH16agHSRm0c1M0= 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=1574219793; 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=1571; bh=Efwht2VhX2X3iX4OfpDosxQefq6lHG/BFamPUzKTwA4=; b=UWPcAzhZF95UNB/VBCiQqqO3KguKbaI74BeISboBhYdO8f5QKIgVvoUMQtr/PRhX MTjevbThZ4/+9GKNQbVjFpiM/saGGh27+zxzoHJ7fNOb0qbEjEHGrBvKK6Ws0RIz+jj RxrDLhzmSKr9sNU3oVSI5YzvO9HennBi+bFgW6uc= Received: from localhost (c-98-207-184-40.hsd1.ca.comcast.net [98.207.184.40]) by mx.zohomail.com with SMTPS id 1574219792572634.0146447404323; Tue, 19 Nov 2019 19:16: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, Matthias Brugger Message-ID: <20191120031622.88949-3-stephen@brennan.io> Subject: [PATCH v3 2/4] hwrng: iproc-rng200: Add support for BCM2711 Date: Tue, 19 Nov 2019 19:16:20 -0800 X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191120031622.88949-1-stephen@brennan.io> References: <20191120031622.88949-1-stephen@brennan.io> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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 Reviewed-by: Matthias Brugger --- 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