linux/drivers/char/hw_random
Florian Fainelli 0159a21b9d hwrng: iproc-rng200 - Implement suspend and resume calls
[ Upstream commit 8e03dd62e5 ]

Chips such as BCM7278 support system wide suspend/resume which will
cause the HWRNG block to lose its state and reset to its power on reset
register values. We need to cleanup and re-initialize the HWRNG for it
to be functional coming out of a system suspend cycle.

Fixes: c3577f6100 ("hwrng: iproc-rng200 - Add support for BCM7278")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:33 +02:00
..
amd-rng.c
arm_smccc_trng.c
atmel-rng.c
ba431-rng.c
bcm2835-rng.c
cavium-rng-vf.c
cavium-rng.c
cctrng.c
cctrng.h
cn10k-rng.c
core.c
exynos-trng.c
geode-rng.c
hisi-rng.c
imx-rngc.c hwrng: imx-rngc - fix the timeout for init and self check 2023-07-23 13:49:35 +02:00
ingenic-rng.c
ingenic-trng.c
intel-rng.c
iproc-rng200.c hwrng: iproc-rng200 - Implement suspend and resume calls 2023-09-13 09:42:33 +02:00
ixp4xx-rng.c
Kconfig
ks-sa-rng.c
Makefile
meson-rng.c
mpfs-rng.c
mtk-rng.c
mxc-rnga.c
n2-asm.S
n2-drv.c
n2rng.h
nomadik-rng.c hwrng: nomadik - keep clock enabled while hwrng is registered 2023-09-13 09:42:30 +02:00
npcm-rng.c
octeon-rng.c
omap-rng.c
omap3-rom-rng.c
optee-rng.c
pasemi-rng.c
pic32-rng.c hwrng: pic32 - use devm_clk_get_enabled 2023-09-13 09:42:31 +02:00
powernv-rng.c
pseries-rng.c
s390-trng.c
st-rng.c
stm32-rng.c
timeriomem-rng.c
via-rng.c
virtio-rng.c
xgene-rng.c
xiphera-trng.c