Re: [PATCH] crypto: atmel-i2c - find the bus speed behind an I2C mux
From: Marek Behún
Date: Mon Nov 02 2026 - 12:57:05 EST
Acked-by: Marek Behún <kabel@xxxxxxxxxx>
But I would suggest not using this driver on Omnia for TRNG.
If you need TRNG, just use the one provided by the turris-omnia-mcu driver.
Upgrade your MCU firmware with the omnia-mcutool utility.
Why?
The Atmel SHA204A TRNG needs to update a part of its random seed in EEPROM
everytime it goes to sleep. Unless proper power management is implemented in
the driver, it will go to sleep 1.3 seconds after each wakeup.
The EEPROM is rated for ~100 000 cycles before it wears out.
Since proper power management is not implemented in the driver now, if you
enable this driver and read the TRNG continuosly, you can wear the EEPROM in
several days.
Marek