hwrng: n2 - documentation, add DT bindings, vendor prefixes
authorAnatoly Pugachev <matorola@gmail.com>
Mon, 25 Jan 2016 16:09:21 +0000 (19:09 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 26 Jan 2016 14:35:28 +0000 (22:35 +0800)
n2rng: documentation, add DT bindings, vendor prefixes

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/sparc_sun_oracle_rng.txt [new file with mode: 0644]
Documentation/devicetree/bindings/vendor-prefixes.txt

diff --git a/Documentation/devicetree/bindings/sparc_sun_oracle_rng.txt b/Documentation/devicetree/bindings/sparc_sun_oracle_rng.txt
new file mode 100644 (file)
index 0000000..b0b2111
--- /dev/null
@@ -0,0 +1,30 @@
+HWRNG support for the n2_rng driver
+
+Required properties:
+- reg          : base address to sample from
+- compatible   : should contain one of the following
+       RNG versions:
+       - 'SUNW,n2-rng' for Niagara 2 Platform (SUN UltraSPARC T2 CPU)
+       - 'SUNW,vf-rng' for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU)
+       - 'SUNW,kt-rng' for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4), (UltraSPARC KT/Niagara 3 - development names)
+       more recent systems (after Oracle acquisition of SUN)
+       - 'ORCL,m4-rng' for SPARC T5/M5
+       - 'ORCL,m7-rng' for SPARC T7/M7
+
+Examples:
+/* linux LDOM on SPARC T5-2 */
+Node 0xf029a4f4
+       .node:  f029a4f4
+       rng-#units:  00000002
+       compatible: 'ORCL,m4-rng'
+       reg:  0000000e
+       name: 'random-number-generator'
+
+/* solaris on SPARC M7-8 */
+Node 0xf028c08c
+       rng-#units:  00000003
+       compatible: 'ORCL,m7-rng'
+       reg:  0000000e
+       name:  'random-number-generator'
+
+PS: see as well prtconfs.git by DaveM
index 72e2c5a..e00029d 100644 (file)
@@ -170,6 +170,7 @@ opencores   OpenCores.org
 option Option NV
 ortustech      Ortus Technology Co., Ltd.
 ovti   OmniVision Technologies
+ORCL   Oracle Corporation
 panasonic      Panasonic Corporation
 parade Parade Technologies Inc.
 pericom        Pericom Technology Inc.
@@ -227,6 +228,7 @@ startek     Startek
 ste    ST-Ericsson
 stericsson     ST-Ericsson
 synology       Synology, Inc.
+SUNW   Sun Microsystems, Inc
 tbs    TBS Technologies
 tcl    Toby Churchill Ltd.
 technologic    Technologic Systems