]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: omap - Add OMAP4 TRNG support
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 5 Aug 2013 14:47:23 +0000 (20:17 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2013 06:39:48 +0000 (16:39 +1000)
commitf777d58b8ddedff2bd8487d835348e21d196c64a
tree0c79da645911df9ef3575ecd92fb28db43de785d
parent51bb84c88c40197c759502264e7a59f8cc3a2f75
hwrng: omap - Add OMAP4 TRNG support

Add support for OMAP4 version of TRNG module
that is present on OMAP4, AM33xx and OMAP5 SoCs.

The modules have several differences including register
offsets, output size, triggering rng and how configuring
FROs. To handle these differences, a platform_data structure
is defined and contains routine pointers, register offsets. OMAP2
specific routines are prefixed with 'omap2_' and OMAP4
specific routines are prefixed with 'omap4_'.

Note: Few Hard coded values are from the TI AM33xx SDK.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/Kconfig
drivers/char/hw_random/omap-rng.c