From 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 Mon Sep 17 00:00:00 2001 From: Yunhong Jiang Date: Tue, 4 Aug 2015 12:17:53 -0700 Subject: Add the rt linux 4.1.3-rt3 as base Import the rt linux 4.1.3-rt3 as OPNFV kvm base. It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and the base is: commit 0917f823c59692d751951bf5ea699a2d1e2f26a2 Author: Sebastian Andrzej Siewior Date: Sat Jul 25 12:13:34 2015 +0200 Prepare v4.1.3-rt3 Signed-off-by: Sebastian Andrzej Siewior We lose all the git history this way and it's not good. We should apply another opnfv project repo in future. Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423 Signed-off-by: Yunhong Jiang --- .../devicetree/bindings/hwrng/atmel-trng.txt | 16 ++++++++++++++++ .../bindings/hwrng/brcm,iproc-rng200.txt | 12 ++++++++++++ .../devicetree/bindings/hwrng/omap_rng.txt | 22 ++++++++++++++++++++++ .../devicetree/bindings/hwrng/timeriomem_rng.txt | 18 ++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt create mode 100644 kernel/Documentation/devicetree/bindings/hwrng/brcm,iproc-rng200.txt create mode 100644 kernel/Documentation/devicetree/bindings/hwrng/omap_rng.txt create mode 100644 kernel/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt (limited to 'kernel/Documentation/devicetree/bindings/hwrng') diff --git a/kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt b/kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt new file mode 100644 index 000000000..4ac5aaa2d --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt @@ -0,0 +1,16 @@ +Atmel TRNG (True Random Number Generator) block + +Required properties: +- compatible : Should be "atmel,at91sam9g45-trng" +- reg : Offset and length of the register set of this block +- interrupts : the interrupt number for the TRNG block +- clocks: should contain the TRNG clk source + +Example: + +trng@fffcc000 { + compatible = "atmel,at91sam9g45-trng"; + reg = <0xfffcc000 0x4000>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&trng_clk>; +}; diff --git a/kernel/Documentation/devicetree/bindings/hwrng/brcm,iproc-rng200.txt b/kernel/Documentation/devicetree/bindings/hwrng/brcm,iproc-rng200.txt new file mode 100644 index 000000000..e25a45666 --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/hwrng/brcm,iproc-rng200.txt @@ -0,0 +1,12 @@ +HWRNG support for the iproc-rng200 driver + +Required properties: +- compatible : "brcm,iproc-rng200" +- reg : base address and size of control register block + +Example: + +rng { + compatible = "brcm,iproc-rng200"; + reg = <0x18032000 0x28>; +}; diff --git a/kernel/Documentation/devicetree/bindings/hwrng/omap_rng.txt b/kernel/Documentation/devicetree/bindings/hwrng/omap_rng.txt new file mode 100644 index 000000000..6a62acd86 --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/hwrng/omap_rng.txt @@ -0,0 +1,22 @@ +OMAP SoC HWRNG Module + +Required properties: + +- compatible : Should contain entries for this and backward compatible + RNG versions: + - "ti,omap2-rng" for OMAP2. + - "ti,omap4-rng" for OMAP4, OMAP5 and AM33XX. + Note that these two versions are incompatible. +- ti,hwmods: Name of the hwmod associated with the RNG module +- reg : Offset and length of the register set for the module +- interrupts : the interrupt number for the RNG module. + Only used for "ti,omap4-rng". + +Example: +/* AM335x */ +rng: rng@48310000 { + compatible = "ti,omap4-rng"; + ti,hwmods = "rng"; + reg = <0x48310000 0x2000>; + interrupts = <111>; +}; diff --git a/kernel/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt b/kernel/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt new file mode 100644 index 000000000..6616d1586 --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/hwrng/timeriomem_rng.txt @@ -0,0 +1,18 @@ +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 + +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>; +}; -- cgit 1.2.3-korg