hwrng: exynos - Add support for Exynos random number generator
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Fri, 29 Jun 2012 00:43:26 +0000 (09:43 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Jul 2012 03:06:14 +0000 (11:06 +0800)
commitb329669ea0b5b02efd41f94372bcf0e988814af4
tree99426c67437296b466caefac3cfd3d9a9bc163fc
parentbf084d8f6eb4ded3f90a6ab79bb682db00ebfbd4
hwrng: exynos - Add support for Exynos random number generator

This patch supports Exynos SOC's PRNG driver. Exynos's PRNG has 5 seeds and
5 random number outputs. Module is excuted under runtime power management control,
so it activates only while it's in use. Otherwise it will be suspended generally.
It was tested on PQ board by rngtest program.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/Kconfig
drivers/char/hw_random/Makefile
drivers/char/hw_random/exynos-rng.c [new file with mode: 0644]