Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp151778ybc; Mon, 18 Nov 2019 22:16:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzL6+tPuyhMM6BFQZJDBuI5d+4Xm9fFnv8+quc6Cax3QFx7Y8ba5TmHvPPgCubiT+ayrI0C X-Received: by 2002:a17:906:24d4:: with SMTP id f20mr33667527ejb.182.1574144203728; Mon, 18 Nov 2019 22:16:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574144203; cv=pass; d=google.com; s=arc-20160816; b=WAhYRfFzR53WgySP1R2nt5sFo4CKprtwsfFCUPRvbM+BZyQxn5V4uefUwIc4zegAeX F6GlrLKCZJid3G7gCMcDCfr2sTScnCADCi/ZTnXfpEk3n42DLH0mjyUE20hmmywft3rv +lbI6MmwXbzEAAZSWLqljIZ0Hz8kRy9SITGOrlYYiuODMZ0mVg8HSBSYdzTJzcv0cwRS AJuuHI5x+ArIju4dnwpR4+hlATE3pwmvFR28hTEXu01VLmNImHrJMfbj7VMKf1ohSoQ0 QI5xzHSyqRun37hUp2StjXI9peg60TK+Vx/rbLsLziQNw+Zi7PLpfvdDttFC4Qg/5p9B FX2g== 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=g2j4WNuJoWLilCj7elJVDJG98s7wfLLtuasciVTEpobZNfMok9ywqet556PQgOTuDq cfDN6zDGCsaYoi+cctINXI5geYFXwiFY18h5Ns34DqQ/Y0xImcxwQo1YjdIUfruA5SW1 DtLqlcqcEituclQmxjaUh2PKrlsXlJ8W9A5WRsP5x3NhLvWJmoszEw2TxZybbdPI+r9p WLILsh73uIlR3LC6lrdxRDtgcPZvkaiYNgLQectE6IVNwEKWm5VoCAcX20F1glGa8TwN I/e83cxKasTQS6/MeA1lyZs3IPZR4QpgYn8XHpIJ6+5vpY5RNYmevlBZtygNUCaDLXKU x5Zw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@brennan.io header.s=selector01 header.b=Ozoz+Mq8; 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 y24si13532249edm.333.2019.11.18.22.16.18; Mon, 18 Nov 2019 22:16:43 -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=Ozoz+Mq8; 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 S1726132AbfKSGPk (ORCPT + 99 others); Tue, 19 Nov 2019 01:15:40 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21454 "EHLO sender4-of-o54.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725787AbfKSGPk (ORCPT ); Tue, 19 Nov 2019 01:15:40 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574144062; cv=none; d=zohomail.com; s=zohoarc; b=Cg3CzDldMM3vSpNTvV/Bw4bvHdrGnTZExB1H8y5Ue1cXEB96M6Js22VJhV6qLVuH8i3lK1IUaOWEnrO4iVW4lduO+vKhK4nIo19WXxTkrt7Vh/sHpGzh27UHs2+uoIGEaxWmCLbLZg6Q0quyheINHnOZkbIU97t1hY8S0fBbyz8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574144062; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=rnDOXSZ5PSkKW71tjFE4P0SpeDfoougigqcTZkEQtXI=; b=WKf/g6RAa5+Uvh1nUNFJabB2cT4+Kfia9laYizeX8Vbmc3HHq6CoOf0CM102l7BzNVCEF0DeIwiWg/39fVOc1MFNfr8IPF5n4jVjcm/KR031N676YwygLjdKu5rV3IutmnlAaciAcPER1X+QTe4K5TUYQboQjgj6emtyemFUPVg= 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=1574144062; 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=Ozoz+Mq8lOVWR3d5FFhE8OZ35njUcgsALgaGHA4znPOu+WSteygwcJBi2eRRJ40g 9ShCnhAFL0baxmU4mE/DJg4Fn6Ka2euFdtgw+DgK8LjWsQ/SsITS+ESWXhdJ9/jCcru y76HAkUimlRN+Sd6Na6zh8gPyKKcW/uYtjIZcTR0= Received: from localhost (195.173.24.136.in-addr.arpa [136.24.173.195]) by mx.zohomail.com with SMTPS id 1574144062177961.7340916694379; Mon, 18 Nov 2019 22:14:22 -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: <20191119061407.69911-3-stephen@brennan.io> Subject: [PATCH v2 2/3] hwrng: iproc-rng200: Add support for BCM2711 Date: Mon, 18 Nov 2019 22:14:06 -0800 X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119061407.69911-1-stephen@brennan.io> References: <20191119061407.69911-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 --- 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