[PATCH 2/4] crypto: omap-sham: Add OMAP5/AM43XX SHAM Support

Mark Rutland mark.rutland at arm.com
Fri Aug 9 11:31:34 EDT 2013


On Fri, Jul 26, 2013 at 07:59:15AM +0100, Lokesh Vutla wrote:
> Add support for the OMAP5 version of the SHAM module
> that is present on OMAP5 and AM43xx SoCs.
> 
> This module is very simialar to OMAP4 version of SHAM module,
> and adds SHA384 SHA512 hardware-accelerated hash functions to it.
> To handle the higher digest size of SHA512, few SHA512_DIGEST_i
> (i=1-16, and first 8 registers are duplicated from SHA_DIGEST_i
> registers) registers are added at the end of register set.
> So adding the above register offsets and module info in pdata.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> ---
>  drivers/crypto/omap-sham.c |   44 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
> 

> +	{
> +		.compatible	= "ti,omap5-sham",
> +		.data		= &omap_sham_pdata_omap5,
> +	},

No binding update?

Mark.



More information about the linux-arm-kernel mailing list