Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1416884ybc; Tue, 19 Nov 2019 20:56:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyJIlMTPuU5vBE81ySC8sArxPA9OYG5ahXuYUEY6FofDvzUTyTEmek1KKNC7fqZ7OMTlG7B X-Received: by 2002:a17:906:d9c4:: with SMTP id qk4mr2363699ejb.214.1574225789729; Tue, 19 Nov 2019 20:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574225789; cv=none; d=google.com; s=arc-20160816; b=y4QTNsWpjrYmPcLLCJLEWxJhZBJ0iVJ+q1r4nLmqJHr4xP+R1+wHeQ9H12TzzdGc/Y HjJhkQbQxVdsCAmOcCWgGp8T1Z7g4eBhCp9MGt186l8rvK41M+ZPEyCV4CrsYZmgCreR YkRGbPvozWTBudR/W9mYo8ECA438PFmdD8MMwIr6Nhexdd1Mrpvs0qhpCzYLsZO6Qa3Y vctwkY5kLk9mXKWU3DENTEvUvBjgPx/3LaQK310Pmoevx3+fecGastkS4GxK3SXgSDkX 6tfvjuRmnWrc7CGX/vwPMB2UCHcY3UybrCzH477MhE+kIXblJ6yzzlIuScbh5H76Y563 ULaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=qwYiC6/PIXnf0C4Grc3KrhpFKRLL2MPQke1W4+97/Sw=; b=sHEuSj/Lo6exoVfsN1K1QdREN8LmuyRaQaj4xhN/YARDCWpPGSiT1tZwOOdxzWIK2A AK+hn4awb9IVHl8tzo6g4Bs3pJKkQDl+mJvQFKz5/DXiTJsmQPdp0N9iu7Tkj+lIDrLq NkIzioqs/+OKNrGtrpW3kvQGIgO8//jlfLZ9OMJlsoIocEwkUA7Lyr04dXCXu9EQJK53 cTLhzpiYfXKMQ+Y/gUDWGmUWqFCUSjElS3CzYawY/uGkK8cb03ELNfrGdrUxMqrQD3dU as3TPkjYQYS9rEJ0TGVGqnHqV3qwGZCewKsKn/j8KfPkOPtFutqBD5rTAROovBbS1doj H1VA== ARC-Authentication-Results: i=1; mx.google.com; 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 c6si16667136ejc.350.2019.11.19.20.56.05; Tue, 19 Nov 2019 20:56:29 -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; 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 S1727491AbfKTEwv (ORCPT + 99 others); Tue, 19 Nov 2019 23:52:51 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:39719 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727450AbfKTEwv (ORCPT ); Tue, 19 Nov 2019 23:52:51 -0500 Received: from tarshish (unknown [10.0.8.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 0C5144407C6; Wed, 20 Nov 2019 06:52:48 +0200 (IST) References: <20191120031622.88949-1-stephen@brennan.io> <20191120031622.88949-3-stephen@brennan.io> User-agent: mu4e 1.2.0; emacs 26.1 From: Baruch Siach To: Stephen Brennan , linux-arm-kernel@lists.infradead.org Cc: stephen@brennan.io, Mark Rutland , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Herbert Xu , Scott Branden , Greg Kroah-Hartman , Ray Jui , linux-kernel@vger.kernel.org, Matthias Brugger , Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Matt Mackall , Arnd Bergmann , linux-crypto@vger.kernel.org Subject: Re: [PATCH v3 2/4] hwrng: iproc-rng200: Add support for BCM2711 In-reply-to: <20191120031622.88949-3-stephen@brennan.io> Date: Wed, 20 Nov 2019 06:52:47 +0200 Message-ID: <87eey3gnds.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, Stefan, On Wed, Nov 20 2019, Stephen Brennan wrote: > 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/Kconfig > index 7c7fecfa2fb2..77e848fca531 100644 > --- a/drivers/char/hw_random/Kconfig > +++ b/drivers/char/hw_random/Kconfig > @@ -90,7 +90,7 @@ config HW_RANDOM_BCM2835 > > config HW_RANDOM_IPROC_RNG200 > tristate "Broadcom iProc/STB RNG200 support" > - depends on ARCH_BCM_IPROC || ARCH_BRCMSTB > + depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB > default HW_RANDOM > ---help--- > 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 *pdev) > } > > static const struct of_device_id iproc_rng200_of_match[] = { > + { .compatible = "brcm,bcm2711-rng200", }, > { .compatible = "brcm,bcm7211-rng200", }, Again, duplicate of commit 1fa6d053b2a5. > { .compatible = "brcm,bcm7278-rng200", }, > { .compatible = "brcm,iproc-rng200", }, baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -