]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: mpfs - add polarfire soc hwrng support
authorConor Dooley <conor.dooley@microchip.com>
Fri, 8 Apr 2022 10:09:12 +0000 (10:09 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:28 +0000 (16:34 +0800)
commit99eb36f15b907300c8140513b4fe32c6dfc80822
tree9a24dc6317feec4b3b976861352cc60f87294f88
parentd6b976f736b6d1a8e21ac8e96460026a1a9b4c7c
hwrng: mpfs - add polarfire soc hwrng support

Add a driver to access the hardware random number generator on the
Polarfire SoC. The hwrng can only be accessed via the system controller,
so use the mailbox interface the system controller exposes to access the
hwrng.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/Kconfig
drivers/char/hw_random/Makefile
drivers/char/hw_random/mpfs-rng.c [new file with mode: 0644]