Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 6d08b06e67cd117f6992c46611dfb4ce267cd71e authored by Linus Torvalds on 23 April 2018, 02:20:09 UTC
Linux 4.17-rc2
Tip revision: 6d08b06
timeriomem_rng.txt
HWRNG support for the timeriomem_rng driver

Required properties:
- compatible : "timeriomem_rng"
- reg : base address to sample from
- period : wait time in microseconds to use between samples

Optional properties:
- quality : estimated number of bits of true entropy per 1024 bits read from the
            rng.  Defaults to zero which causes the kernel's default quality to
            be used instead.  Note that the default quality is usually zero
            which disables using this rng to automatically fill the kernel's
            entropy pool.

N.B. currently 'reg' must be four bytes wide and aligned

Example:

hwrng@44 {
	#address-cells = <1>;
	#size-cells = <1>;
	compatible = "timeriomem_rng";
	reg = <0x44 0x04>;
	period = <1000000>;
};
back to top