summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGatien Chevallier <gatien.chevallier@foss.st.com>2023-09-21 10:02:58 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-01 16:28:15 +0800
commit28d13f3fdbe52192e3a961ed489b542b111a098e (patch)
tree2d071364b430c2123fdd8c50ab338c6f0c48ddde /tools/perf/scripts/python
parentb17bc6eb7c2b089f4425b5b656184385acac77fe (diff)
downloadlinux-28d13f3fdbe52192e3a961ed489b542b111a098e.tar.gz
linux-28d13f3fdbe52192e3a961ed489b542b111a098e.zip
hwrng: stm32 - restrain RNG noise source clock
For NIST certification the noise source sampling may need to be restrained. This change implements an algorithm that gets the rate of the RNG clock and apply the correct value in CLKDIV field in RNG_CR register to force the RNG clock rate to be "max_clock_rate" maximum. As it is platform-specific, implement it as a compat data. Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions