summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2019-12-28 23:58:31 +0530
committerHeinrich Schuchardt <[email protected]>2020-01-07 18:08:21 +0100
commitff0dada9b863ab33a7c4b2d9955db1205f55cd01 (patch)
treeaa89525c53517b97226b57001ef32046706f64e3 /arch
parent90950eec58f7b550db91588144e0e9cbaf9a49b7 (diff)
sandbox: rng: Add a random number generator(rng) driver
Add a sandbox driver for random number generation. Mostly aimed at providing a unit test for rng uclass. Signed-off-by: Sughosh Ganu <[email protected]> Reviewed-by: Patrice Chotard <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 57513a449fa..4ea8fea674d 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -630,6 +630,10 @@
reset-names = "other", "test";
};
+ rng {
+ compatible = "sandbox,sandbox-rng";
+ };
+
rproc_1: rproc@1 {
compatible = "sandbox,test-processor";
remoteproc-name = "remoteproc-test-dev1";