]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc5851e1a4ece4cb9da942df66b146b7cd015a0d
tree9824104d3509ca55a701219aca94214da5a1e08b
parent644bfc5e3b8fc07198a55434ea27c0a406ce6c6b
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