From: Lokesh Vutla Date: Mon, 5 Aug 2013 14:47:23 +0000 (+0530) Subject: hwrng: omap - Add OMAP4 TRNG support X-Git-Tag: v3.12-rc1~108^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83872c989fb704748956c0bf1b69874a35492c6;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed