[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c6b02317-e65f-444a-906d-e56f33dac9f4@broadcom.com>
Date: Wed, 30 Oct 2024 14:41:38 -0700
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: Markus Mayer <mmayer@...adcom.com>, Olivia Mackall <olivia@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Aurelien Jarno <aurelien@...el32.net>, Conor Dooley <conor+dt@...nel.org>,
Daniel Golle <daniel@...rotopia.org>,
Francesco Dolcini <francesco.dolcini@...adex.com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Rob Herring <robh@...nel.org>
Cc: Device Tree Mailing List <devicetree@...r.kernel.org>,
Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] hwrng: bcm74110 - Add Broadcom BCM74110 RNG driver
On 10/30/24 14:33, Markus Mayer wrote:
> Add a driver for the random number generator present on the Broadcom
> BCM74110 SoC.
>
> Signed-off-by: Markus Mayer <mmayer@...adcom.com>
> ---
> drivers/char/hw_random/Kconfig | 14 +++
> drivers/char/hw_random/Makefile | 1 +
> drivers/char/hw_random/bcm74110-rng.c | 125 ++++++++++++++++++++++++++
> 3 files changed, 140 insertions(+)
> create mode 100644 drivers/char/hw_random/bcm74110-rng.c
>
> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
> index b51d9e243f35..90ae35aeb23a 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -99,6 +99,20 @@ config HW_RANDOM_BCM2835
>
> If unsure, say Y.
>
> +config HW_RANDOM_BCM74110
> + tristate "Broadcom BCM74110 Random Number Generator support"
> + depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \
> + ARCH_BCMBCA || BCM63XX || ARCH_BRCMSTB || COMPILE_TEST
AFAICT this driver is only present on STB chips so limiting to
ARCH_BRCMSTB || COMPILE_TEST should suffice for now.
--
Florian
Powered by blists - more mailing lists