[PATCH 3/4] hwrng: stm32 - update STM32MP15 RNG max clock frequency

Gatien Chevallier posted 4 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH 3/4] hwrng: stm32 - update STM32MP15 RNG max clock frequency
Posted by Gatien Chevallier 1 month, 3 weeks ago
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(-)

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,
 };
 
-- 
2.25.1
Re: [PATCH 3/4] hwrng: stm32 - update STM32MP15 RNG max clock frequency
Posted by Marek Vasut 1 month, 3 weeks ago
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 ?
Re: [PATCH 3/4] hwrng: stm32 - update STM32MP15 RNG max clock frequency
Posted by Gatien CHEVALLIER 1 month, 3 weeks ago

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