hwrng: omap - Add support for 128-bit output of data
authorRomain Perier <romain.perier@free-electrons.com>
Fri, 16 Sep 2016 10:08:53 +0000 (12:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2016 02:27:51 +0000 (10:27 +0800)
commite54feeb0db9c6fc5d6b75cc045c9e4578534ec2e
tree9824104d3509ca55a701219aca94214da5a1e08b
parentb23d2d92ce34a487436dba8549a302729c5a40a2
hwrng: omap - Add support for 128-bit output of data

So far, this driver only supports up to 64 bits of output data generated
by an RNG. Some IP blocks, like the SafeXcel IP-76 supports up to 128
bits of output data. This commits renames registers descriptions
OUTPUT_L_REG and OUTPUT_H_REG to OUTPUT_0_REG and OUPUT_1_REG,
respectively. It also adds two new values to the enumeration of existing
registers: OUTPUT_2_REG and OUTPUT_3_REG.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap-rng.c