mirror of
https://github.com/torvalds/linux.git
synced 2026-11-09 13:44:03 +01:00
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 <blum@kernel.org> Link: https://ww1.microchip.com/downloads/en/Appnotes/Migrating-from-the-ATECC608A-to-the-ATECC608B-DS40002237A.pdf [1] Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
e619f9b991
commit
9e06d37173
|
|
@ -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" },
|
||||
{ }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user