]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: atmel - add new platform support for sam9x60
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 4 Nov 2019 11:54:57 +0000 (13:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Nov 2019 05:44:17 +0000 (13:44 +0800)
commit1324b53370499e0cc8b9159b6eb05307672fc221
treea5aaffa3314340b7f19b59687c39552117dda61d
parente02456400a2fc56287b4bb416c7fd3f57b977952
hwrng: atmel - add new platform support for sam9x60

Add platform support for the new IP found on sam9x60 SoC. For this
version, if the peripheral clk is above 100MHz, the HALFR bit must be
set. This bit is available only if the IP can generate a random number
every 168 cycles (instead of 84).

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/atmel-rng.c