devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for stm32mp25x RNG
@ 2024-10-07 13:27 Gatien Chevallier
  2024-10-07 13:27 ` [PATCH 1/4] dt-bindings: rng: add st,stm32mp25-rng support Gatien Chevallier
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Gatien Chevallier @ 2024-10-07 13:27 UTC (permalink / raw)
  To: Olivia Mackall, Herbert Xu, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Marek Vasut
  Cc: Uwe Kleine-König, Lionel Debieve, linux-crypto, devicetree,
	linux-stm32, linux-arm-kernel, linux-kernel, Yang Yingliang,
	Gatien Chevallier

This patchset adds support for the Random Number
Generator(RNG) present on the stm32mp25x platforms.
On these platforms, the clock management and the RNG
parameters are different.

While there, update the RNG max clock frequency on
stm32mp15 platforms according to the latest specs.

Tested on the stm32mp257f-ev1 platform with a deep
power sequence with rngtest before/after the sequence with
satisfying results.

Same was done on stm32mp135f-dk to make sure no regression was added.

On stm32mp157c-dk2, I didn't perform a power sequence but the rngtest
results were satisfying.

Gatien Chevallier (4):
  dt-bindings: rng: add st,stm32mp25-rng support
  hwrng: stm32 - implement support for STM32MP25x platforms
  hwrng: stm32 - update STM32MP15 RNG max clock frequency
  arm64: dts: st: add RNG node on stm32mp251

 .../devicetree/bindings/rng/st,stm32-rng.yaml | 41 ++++++++-
 arch/arm64/boot/dts/st/stm32mp251.dtsi        | 10 +++
 drivers/char/hw_random/stm32-rng.c            | 83 +++++++++++++++++--
 3 files changed, 126 insertions(+), 8 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-10-11 16:18 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 13:27 [PATCH 0/4] Add support for stm32mp25x RNG Gatien Chevallier
2024-10-07 13:27 ` [PATCH 1/4] dt-bindings: rng: add st,stm32mp25-rng support Gatien Chevallier
2024-10-07 13:53   ` Marek Vasut
2024-10-07 14:57     ` Gatien CHEVALLIER
2024-10-07 15:00   ` Krzysztof Kozlowski
2024-10-07 16:22     ` Gatien CHEVALLIER
2024-10-07 17:55       ` Krzysztof Kozlowski
2024-10-07 13:27 ` [PATCH 2/4] hwrng: stm32 - implement support for STM32MP25x platforms Gatien Chevallier
2024-10-07 13:54   ` Marek Vasut
2024-10-11  9:55     ` Gatien CHEVALLIER
2024-10-11 11:24       ` Marek Vasut
2024-10-11 12:07         ` Gatien CHEVALLIER
2024-10-11 12:38           ` Marek Vasut
2024-10-11 15:51             ` Gatien CHEVALLIER
2024-10-11 16:18               ` Marek Vasut
2024-10-07 13:27 ` [PATCH 3/4] hwrng: stm32 - update STM32MP15 RNG max clock frequency Gatien Chevallier
2024-10-07 13:55   ` Marek Vasut
2024-10-07 14:58     ` Gatien CHEVALLIER
2024-10-07 13:27 ` [PATCH 4/4] arm64: dts: st: add RNG node on stm32mp251 Gatien Chevallier
2024-10-07 13:55   ` Marek Vasut
2024-10-07 14:59     ` Gatien CHEVALLIER
2024-10-07 15:42       ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).