]> asedeno.scripts.mit.edu Git - linux.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)
commit5c49645c4a74be8dd6c0152019fc3f02ff24c8b5
treea5aaffa3314340b7f19b59687c39552117dda61d
parent454dfebae2dbeb6708a3a6a2d38ecd56648e8012
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