Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2155476ybc; Wed, 20 Nov 2019 09:40:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwdEEwsa6ockGmTPnp4qywL2qLNamGvGgYZHxI490MSGk5f8s/4jlo6hJxF/WljDF96OnJY X-Received: by 2002:a1c:e915:: with SMTP id q21mr4362866wmc.148.1574271657633; Wed, 20 Nov 2019 09:40:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574271657; cv=none; d=google.com; s=arc-20160816; b=J3o6YzQhJ0O4TksB2KRYkcHnl70M9eTD8y1Zg0ewbSXRBdQr08/qXjcN4/ReTQbsJ7 2KX1wcq4nRNmxsD6n9+ku8PfOu4od1CwX/swbRwS8Ogti+f9WrUyNs7tmPhF/kFWMUax qR6XU2lL/665FPZRY6bAKlAC+HKAnULhSZAxTg9rUrw72SZADALs8mtMdEl9fNfuf5SS gSG2e+svGH6YgfASisApO2HdBRXwBHmDmV7qh0g9LOU87s1ief9H4l3qUp+wy4qONe63 Uq974IUBxmAwD8t7Q9wU0jRrDMC6clpxIQmXcuc7Na8y+Ac0jiKJHFaItLvP5Y0Nj6zk nwSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=Zz3FoDXzPgTy+Tbp+QpTsrRHlovSH8qVgBIsXZO8lcM=; b=0r+ZUvye1NFWDB899r6Vw5CDDdOMDgxy184bSxSpgyN73bCc0IG4BbL2O1JLWHvBuQ pI0jKERmjjLATS0VGTn4cOKlkxYJVdKfdBiRKY2o39upKRFymZVv/dnvL8KffHIV4Vu3 CqZ8SWG5O3joQ8OepxhuxqmJ/K2jpyExI5BJJSgzA2y7qPPQEn40Cl/CemvZa9+tUiIq gUu0PIwKHTvo9qTCjjaOJmprkx/YUCpmUaBFbsvbQV272mPp8NT76FBzPw4hs/ZgpB7D qiJsWWPBP6NYRRClM2VQRIOGu75nmXq/ZuPsbRNz+kANVtPFjz+Gt0rItE/7M4rWmDVe N3BA== 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 c57si3489edc.386.2019.11.20.09.40.33; Wed, 20 Nov 2019 09:40:57 -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 S1728703AbfKTRdv (ORCPT + 99 others); Wed, 20 Nov 2019 12:33:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:54752 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728072AbfKTRdu (ORCPT ); Wed, 20 Nov 2019 12:33:50 -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 9951269CE0; Wed, 20 Nov 2019 17:33:45 +0000 (UTC) Subject: Re: [PATCH v3 2/4] hwrng: iproc-rng200: Add support for BCM2711 To: Baruch Siach , Stephen Brennan , linux-arm-kernel@lists.infradead.org Cc: 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, Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Matt Mackall , Arnd Bergmann , linux-crypto@vger.kernel.org References: <20191120031622.88949-1-stephen@brennan.io> <20191120031622.88949-3-stephen@brennan.io> <87eey3gnds.fsf@tarshish> From: Matthias Brugger Autocrypt: addr=mbrugger@suse.com; prefer-encrypt=mutual; keydata= mQINBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF8QwCMZEYaTNogrVazuEJzx6JdRpR3sFda/0x5qjTadwIW6Cl9tkqe2h391dOGX1eOA 1ntn9O/39KqSrWNGvm+1raHK+Ev1yPtn0Wxn+0oy1tl67TxUjQARAQABtCRNYXR0aGlhcyBC cnVnZ2VyIDxtYnJ1Z2dlckBzdXNlLmNvbT6JAjgEEwECACIFAlV6iM0CGwMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJENkUC7JWEwLx6isQAIMGBgJnFWovDS7ClZtjz1LgoY8skcMU ghUZY4Z/rwwPqmMPbY8KYDdOFA+kMTEiAHOR+IyOVe2+HlMrXv/qYH4pRoxQKm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ONrzoAjNsSa42E0f3E2PBvBIk1l59 XZKhlS/T5X0R8RXFPOtoE1RmJ+q/qF6ucxBcbGz6UGOfKXrbhTyedBacDw/AnaEjcN5Ci7Uf KksU95j0N9a/jFh2TJ460am554GWqG0yhnSQPDYLe/OPvudbAGCmCfVWl/iEb+xb8JFHq24h BZZO9QzcAJrWmASwG8gQGJW8/HIC0v4v4uHVKeLvDccGTUQm9QARAQABiQIfBBgBAgAJBQJT 9gkSAhsMAAoJENkUC7JWEwLxCd0QAK43Xqa+K+dbAsN3Km9yjk8XzD3Kt9kMpbiCB/1MVUH2 yTMw0K5Bz61z5Az6eLZziQoh3PaOZyDpDK2CpW6bpXU6w2amMANpCRWnmMvS2aDr8oD1O+vT sq6/5Sji1KtL/h2MOMmdccSn+0H4XDsICs21S0uVzxK4AMKYwP6QE5VaS1nLOQGQN8FeVNaX jpP/zb3WUSykNZ7lhbVkAf8d0JHWtA1laM0KkHYKJznwJgwPWtKicKdt9R7Jlg02E0dmiyXh 2Xt/5qbztDbHekrQMtKglHFZvu9kHS6j0LMJKbcj75pijMXbnFChP7vMLHZxCLfePC+ckArW jhWU3HfpF+vHMGpzW5kbMkEJC7jxSOZRKxPBYLcekT8P2wz7EAKzzTeUVQhkLkfrYbTn1wI8 BcqCwWk0wqYEBbB4GRUkCKyhB5fnQ4/7/XUCtXRy/585N8mPT8rAVclppiHctRA0gssE3GRK uEIuXx1SDnchsfHg18gCCrEtYZ9czwNjVoV1Tv2lpzTTk+6HEJaQpMnPeAKbOeehq3gYKcvm DL+bRCTjmXg8WrBZdUuj0BCDYqneaUgVnp+wQogA3mHGVs281v1XZmjlsVmM9Y8VPE614zSi ZQBL5CinBTTI8ssYlV/aIKYi0dxRcj6vYnAfUImOsdZ5AQja5xIqw1rwWWUOYb99 Message-ID: <271a4b15-a35e-68f1-4857-2341a96af97d@suse.com> Date: Wed, 20 Nov 2019 18:33:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <87eey3gnds.fsf@tarshish> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/11/2019 05:52, Baruch Siach wrote: > 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. > That commit adds 7211 compatible while this patch adds one for 2711. Regards, Matthias