public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] crypto: atmel-ecc - add support for atecc608b
@ 2026-03-30 10:08 Thorsten Blum
  2026-03-30 10:08 ` [PATCH 2/2] dt-bindings: trivial-devices: add atmel,atecc608b Thorsten Blum
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Blum @ 2026-03-30 10:08 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea
  Cc: Thorsten Blum, linux-crypto, linux-arm-kernel, linux-kernel

Tested on hardware with an ATECC608B at 0x60. The device binds
successfully, passes the driver's sanity check, and registers the
ecdh-nist-p256 KPP algorithm.

The hardware ECDH path was also exercised using a minimal KPP test
module, covering private key generation, public key derivation, and
shared secret computation.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 drivers/crypto/atmel-ecc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/crypto/atmel-ecc.c b/drivers/crypto/atmel-ecc.c
index b6a77c8d439c..5793e0c44113 100644
--- a/drivers/crypto/atmel-ecc.c
+++ b/drivers/crypto/atmel-ecc.c
@@ -371,6 +371,8 @@ static void atmel_ecc_remove(struct i2c_client *client)
 static const struct of_device_id atmel_ecc_dt_ids[] = {
 	{
 		.compatible = "atmel,atecc508a",
+	}, {
+		.compatible = "atmel,atecc608b",
 	}, {
 		/* sentinel */
 	}
@@ -380,6 +382,7 @@ MODULE_DEVICE_TABLE(of, atmel_ecc_dt_ids);
 
 static const struct i2c_device_id atmel_ecc_id[] = {
 	{ "atecc508a" },
+	{ "atecc608b" },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, atmel_ecc_id);

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

* [PATCH 2/2] dt-bindings: trivial-devices: add atmel,atecc608b
  2026-03-30 10:08 [PATCH 1/2] crypto: atmel-ecc - add support for atecc608b Thorsten Blum
@ 2026-03-30 10:08 ` Thorsten Blum
  2026-04-08  0:19   ` Rob Herring (Arm)
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Blum @ 2026-03-30 10:08 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Guenter Roeck,
	Jonathan Cameron, Frank Li, Wensheng Wang, Nuno Sá,
	Cosmo Chou, Eddie James, Pawel Dembicki, Dixit Parmar,
	Antoni Pokusinski
  Cc: Thorsten Blum, Krzysztof Kozlowski, Conor Dooley, devicetree,
	linux-kernel

Add entry for ATECC608B.  Update the ATECC508A comment for consistency.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 Documentation/devicetree/bindings/trivial-devices.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index a482aeadcd44..9da4c73b23cf 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -63,8 +63,10 @@ properties:
           - arduino,unoq-mcu
             # Temperature monitoring of Astera Labs PT5161L PCIe retimer
           - asteralabs,pt5161l
-            # i2c h/w elliptic curve crypto module
+            # ATECC508A - i2c h/w elliptic curve crypto module
           - atmel,atecc508a
+            # ATECC608B - i2c h/w elliptic curve crypto module
+          - atmel,atecc608b
             # ATSHA204 - i2c h/w symmetric crypto module
           - atmel,atsha204
             # ATSHA204A - i2c h/w symmetric crypto module

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

* Re: [PATCH 2/2] dt-bindings: trivial-devices: add atmel,atecc608b
  2026-03-30 10:08 ` [PATCH 2/2] dt-bindings: trivial-devices: add atmel,atecc608b Thorsten Blum
@ 2026-04-08  0:19   ` Rob Herring (Arm)
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-04-08  0:19 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Guenter Roeck, Conor Dooley, Krzysztof Kozlowski,
	Antoni Pokusinski, Jonathan Cameron, Cosmo Chou, Pawel Dembicki,
	Nuno Sá, Wensheng Wang, Dixit Parmar, Frank Li,
	Krzysztof Kozlowski, devicetree, Conor Dooley, linux-kernel,
	Eddie James


On Mon, 30 Mar 2026 12:08:01 +0200, Thorsten Blum wrote:
> Add entry for ATECC608B.  Update the ATECC508A comment for consistency.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
>  Documentation/devicetree/bindings/trivial-devices.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

end of thread, other threads:[~2026-04-08  0:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 10:08 [PATCH 1/2] crypto: atmel-ecc - add support for atecc608b Thorsten Blum
2026-03-30 10:08 ` [PATCH 2/2] dt-bindings: trivial-devices: add atmel,atecc608b Thorsten Blum
2026-04-08  0:19   ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox