Skip to content

Commit 0f95b09

Browse files
lategoodbyeherbertx
authored andcommitted
hwrng: iproc-rng200 - Add support for BCM2711
BCM2711 features a RNG200 hardware random number generator block. So make the driver available. Signed-off-by: Stefan Wahren <[email protected]> Signed-off-by: Stephen Brennan <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent efdd609 commit 0f95b09

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/char/hw_random/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ config HW_RANDOM_BCM2835
9090

9191
config HW_RANDOM_IPROC_RNG200
9292
tristate "Broadcom iProc/STB RNG200 support"
93-
depends on ARCH_BCM_IPROC || ARCH_BRCMSTB
93+
depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB
9494
default HW_RANDOM
9595
---help---
9696
This driver provides kernel-side support for the RNG200

drivers/char/hw_random/iproc-rng200.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ static int iproc_rng200_probe(struct platform_device *pdev)
213213
}
214214

215215
static const struct of_device_id iproc_rng200_of_match[] = {
216+
{ .compatible = "brcm,bcm2711-rng200", },
216217
{ .compatible = "brcm,bcm7211-rng200", },
217218
{ .compatible = "brcm,bcm7278-rng200", },
218219
{ .compatible = "brcm,iproc-rng200", },

0 commit comments

Comments
 (0)