diff mbox series

crypto: atmel-tdes: Add support for the TDES IP available on sama7g5 SoC

Message ID 20220204133522.498387-1-tudor.ambarus@microchip.com (mailing list archive)
State New, archived
Headers show
Series crypto: atmel-tdes: Add support for the TDES IP available on sama7g5 SoC | expand

Commit Message

Tudor Ambarus Feb. 4, 2022, 1:35 p.m. UTC
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(+)

Comments

Herbert Xu Feb. 11, 2022, 9:37 a.m. UTC | #1
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.
diff mbox series

Patch

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;