]> 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)
commit1e25e87576496430f338d5e7e73c3c724a71d831
treea5aaffa3314340b7f19b59687c39552117dda61d
parent9e9fb6d438a1015fbaaf276354eccb4e0dae5445
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