Message ID | 20241007132721.168428-4-gatien.chevallier@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add support for stm32mp25x RNG | expand |
On 10/7/24 3:27 PM, Gatien Chevallier wrote: > 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> Does this also apply to MP13 ?
On 10/7/24 15:55, Marek Vasut wrote: > On 10/7/24 3:27 PM, Gatien Chevallier wrote: >> 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> > Does this also apply to MP13 ? Max frequency for MP13 is already 48MHz. Gatien
diff --git a/drivers/char/hw_random/stm32-rng.c b/drivers/char/hw_random/stm32-rng.c index e7051005768d..9f1c95218a5b 100644 --- a/drivers/char/hw_random/stm32-rng.c +++ b/drivers/char/hw_random/stm32-rng.c @@ -552,7 +552,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, };
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> --- drivers/char/hw_random/stm32-rng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)