dm: rng: Add random number generator(rng) uclass
authorSughosh Ganu <sughosh.ganu@linaro.org>
Sat, 28 Dec 2019 18:28:27 +0000 (23:58 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:21 +0000 (18:08 +0100)
commita2487684003b0bc380955e1a38cdd71da3ca4366
tree16f94d87badaeae9d2cd6cb5c9bb4050ba9a82af
parent8391f955494efc0dbe136e1557e9606bbf55d046
dm: rng: Add random number generator(rng) uclass

Add a uclass for reading a random number seed from a random number
generator device.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/Kconfig
drivers/Makefile
drivers/rng/Kconfig [new file with mode: 0644]
drivers/rng/Makefile [new file with mode: 0644]
drivers/rng/rng-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/rng.h [new file with mode: 0644]