From 9e06d371730b841ad8fe79ebfccf0def9470201f Mon Sep 17 00:00:00 2001 From: Thorsten Blum Date: Mon, 31 Aug 2026 00:01:52 +0200 Subject: [PATCH] crypto: atmel-ecc - add support for atecc608a The driver already supports the ATECC508A and ATECC608B and uses only commands shared by these devices. Microchip documents the ATECC608B as a backwards-compatible, functional drop-in replacement for the ATECC608A, with the same device structure and command interface [1]. Therefore, add support for the ATECC608A. ATECC608A hardware was not available for testing. Signed-off-by: Thorsten Blum Link: https://ww1.microchip.com/downloads/en/Appnotes/Migrating-from-the-ATECC608A-to-the-ATECC608B-DS40002237A.pdf [1] Signed-off-by: Herbert Xu --- drivers/crypto/atmel-ecc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/atmel-ecc.c b/drivers/crypto/atmel-ecc.c index 075f38a67935..0904bb47fd0a 100644 --- a/drivers/crypto/atmel-ecc.c +++ b/drivers/crypto/atmel-ecc.c @@ -348,6 +348,7 @@ static void atmel_ecc_remove(struct i2c_client *client) static const struct of_device_id atmel_ecc_dt_ids[] = { { .compatible = "atmel,atecc508a", }, + { .compatible = "atmel,atecc608a", }, { .compatible = "atmel,atecc608b", }, { } }; @@ -355,6 +356,7 @@ MODULE_DEVICE_TABLE(of, atmel_ecc_dt_ids); static const struct i2c_device_id atmel_ecc_id[] = { { .name = "atecc508a" }, + { .name = "atecc608a" }, { .name = "atecc608b" }, { } };