summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorGatien Chevallier <gatien.chevallier@foss.st.com>2024-10-16 10:04:20 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-28 18:33:10 +0800
commit5a61fd622b07b17b6fa3c231fc7d83cbcba0229e (patch)
tree48ff4105ccf90a315d1d170d8ff0379e256d0516 /drivers/char/hw_random
parent842285d4ce1cecbe768ea01bed42ad5a938ab3dd (diff)
downloadlwn-5a61fd622b07b17b6fa3c231fc7d83cbcba0229e.tar.gz
lwn-5a61fd622b07b17b6fa3c231fc7d83cbcba0229e.zip
hwrng: stm32 - update STM32MP15 RNG max clock frequency
RNG max clock frequency can be updated to 48MHz for stm32mp1x platforms according to the latest specifications. Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/stm32-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/stm32-rng.c b/drivers/char/hw_random/stm32-rng.c
index 279328902bf8..5b4fb35bcb5c 100644
--- a/drivers/char/hw_random/stm32-rng.c
+++ b/drivers/char/hw_random/stm32-rng.c
@@ -508,7 +508,7 @@ static const struct stm32_rng_data stm32mp13_rng_data = {
static const struct stm32_rng_data stm32_rng_data = {
.has_cond_reset = false,
- .max_clock_rate = 3000000,
+ .max_clock_rate = 48000000,
.nb_clock = 1,
};