cc3xx: refactor TRNG driver

Refactoring of the TRNG driver that adds the following:
 * Collection of TRNG error stats
 * Proper error recovery according to the CC3XX spec
 * Support to TRNG DMA which allows populating the RNG SRAM with
   entropy Which can be copied by CryptoCell DMA to the
   destination buffer

Signed-off-by: Amjad Ouled-Ameur <amjad.ouled-ameur@arm.com>
Co-authored-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I72ba83753ca303fdadceb1db522a9746ced7e7b3
2 files changed