@@ -20,12 +20,28 @@ the reference implementation maintained by Linaro.
"hvc" : HVC #0, with the register assignments specified
in drivers/tee/optee/optee_smc.h
+- hw-rng : Optional OP-TEE based hardware RNG in case hardware
+ entropy source is not accesible to normal world (Linux).
+ - uuid: Trusted Application identifier which implements
+ hw-rng
+
+ - data-rate: Hardware RNG data generation rate in bytes per
+ second
+
+ - quality: Hardware RNG entropy estimation per 1024 bits of
+ input
Example:
firmware {
optee {
compatible = "linaro,optee-tz";
method = "smc";
+
+ hw-rng {
+ uuid = "ab7a617c-b8e7-4d8f-8301-d09b61036b64";
+ data-rate = <125>;
+ quality = <999>;
+ };
};
};
Add bindings for OP-TEE based optional hardware random number generator. It could be used on ARM based devices where entropy source is not accessible to normal world (linux in this case). Signed-off-by: Sumit Garg <sumit.garg@linaro.org> --- .../devicetree/bindings/arm/firmware/linaro,optee-tz.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.7.4