linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: atmel-tdes: Add support for the TDES IP available on sama7g5 SoC
@ 2022-02-04 13:35 Tudor Ambarus
  2022-02-11  9:37 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Tudor Ambarus @ 2022-02-04 13:35 UTC (permalink / raw)
  To: herbert
  Cc: nicolas.ferre, claudiu.beznea, alexandre.belloni, linux-crypto,
	linux-arm-kernel, linux-kernel, kavyasree.kotagiri,
	Tudor Ambarus

Add support for the TDES IP found on sama7g5.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 drivers/crypto/atmel-tdes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c
index e30786ec9f2d..9fd7b8e439d2 100644
--- a/drivers/crypto/atmel-tdes.c
+++ b/drivers/crypto/atmel-tdes.c
@@ -1130,6 +1130,7 @@ static void atmel_tdes_get_cap(struct atmel_tdes_dev *dd)
 
 	/* keep only major version number */
 	switch (dd->hw_version & 0xf00) {
+	case 0x800:
 	case 0x700:
 		dd->caps.has_dma = 1;
 		dd->caps.has_cfb_3keys = 1;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: atmel-tdes: Add support for the TDES IP available on sama7g5 SoC
  2022-02-04 13:35 [PATCH] crypto: atmel-tdes: Add support for the TDES IP available on sama7g5 SoC Tudor Ambarus
@ 2022-02-11  9:37 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2022-02-11  9:37 UTC (permalink / raw)
  To: Tudor Ambarus
  Cc: nicolas.ferre, claudiu.beznea, alexandre.belloni, linux-crypto,
	linux-arm-kernel, linux-kernel, kavyasree.kotagiri

On Fri, Feb 04, 2022 at 03:35:22PM +0200, Tudor Ambarus wrote:
> Add support for the TDES IP found on sama7g5.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
>  drivers/crypto/atmel-tdes.c | 1 +
>  1 file changed, 1 insertion(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-11  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-04 13:35 [PATCH] crypto: atmel-tdes: Add support for the TDES IP available on sama7g5 SoC Tudor Ambarus
2022-02-11  9:37 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).