Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp402854ybc; Tue, 19 Nov 2019 03:18:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwzB0xRtoRRdSKhi5XpAVwMB8LR3inejZBIq4sda5mooxb0pUIISVvI9EuLiamwFYR6Fwxw X-Received: by 2002:a17:906:5a92:: with SMTP id l18mr3680122ejq.238.1574162328260; Tue, 19 Nov 2019 03:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574162328; cv=none; d=google.com; s=arc-20160816; b=v7P0Y422raYZTfp1+0v02pdlK8SMog0eugFOaqLE8lgRmebsjwctopa/pdAkyhKQg9 y5Y+HgDuqns0dPkIgOCFTkl7tFDoUiRXOTeb6TM64BkuOX16x7iR9ILuCDp67hMQlxwa 0NPg7yBID/wtmGSdD07cVGFchHltuhrg8aVyueTW9XcHY0KxJryuP5fggMdc37/WJzIu y688iabAQo0OfvgVkD0RVkn2wsZtb6cprIJ/6KsZac5ciRpDBqbmUBCx9OhW7/7nEe8N Vc9xSFVm8Y0mKtFUJa4ingjOh6sfh5TImhkKZfbytYDcqv/rnvXG6elTk5d3AAo5MvyQ +HIg== 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=OUYrWdfSXfVH0Hbk7ZTKURNsLq1d5UWwK+DwibLoN2w=; b=jB3sSU4GdxIMVooyLDor6aUpWjmziOp6+5d7aN9BRyGuHCK8Kdj5p86unDsHXVTBJH M3CLcvjgocREQEdrjY9zwe0yscoIGVaswNNpIUF2Js/GEF7SAjqYHwK/6QgzESnTc1SU kfWX8WldTDfnwID8vWw8nkqyv3Uo0qx8KKVeyh3Um5WuSYMc36gwmKb91hfvWSD4O6/c gvgzhasDqc+tSC5QZQ+tUxYDsz87rwQ02rIX2l7LSi9Bg+NJdDm6EybSz2h14u3oDIAv OHdxzv+3/6p9c6muWUI+lG0VTrrnx6qjb40bof1YNBjvl+aM9tIH/d4sTNH6ZwMlkEJb wPgg== ARC-Authentication-Results: i=1; mx.google.com; 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 n15si5122660ejr.94.2019.11.19.03.18.21; Tue, 19 Nov 2019 03:18:48 -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; 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 S1726555AbfKSLQ7 (ORCPT + 99 others); Tue, 19 Nov 2019 06:16:59 -0500 Received: from mx2.suse.de ([195.135.220.15]:56066 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726000AbfKSLQ6 (ORCPT ); Tue, 19 Nov 2019 06:16:58 -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 7A4B4BA37; Tue, 19 Nov 2019 11:16:55 +0000 (UTC) Subject: Re: [PATCH v2 2/3] hwrng: iproc-rng200: Add support for BCM2711 To: Stephen Brennan Cc: Mark Rutland , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Herbert Xu , Scott Branden , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, 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: <20191119061407.69911-1-stephen@brennan.io> <20191119061407.69911-3-stephen@brennan.io> 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/qYH4pRoxQKm8H9FbdZXgL bG8IPlBu80ZSOwWjVH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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: <83d065b1-da68-2f97-bf9f-d636ee15056f@suse.com> Date: Tue, 19 Nov 2019 12:16:53 +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: <20191119061407.69911-3-stephen@brennan.io> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 19/11/2019 07:14, 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", }, > { .compatible = "brcm,bcm7278-rng200", }, > { .compatible = "brcm,iproc-rng200", }, >