devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/9] hwrng: stm32: support STM32MP13x platforms
@ 2023-09-21  8:02 Gatien Chevallier
  2023-09-21  8:02 ` [PATCH v3 1/9] dt-bindings: rng: introduce new compatible for STM32MP13x Gatien Chevallier
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Gatien Chevallier @ 2023-09-21  8:02 UTC (permalink / raw)
  To: Olivia Mackall, Herbert Xu, Rob Herring, Krzysztof Kozlowski,
	Maxime Coquelin, Alexandre Torgue
  Cc: Lionel Debieve, linux-crypto, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel, Gatien Chevallier

The STM32MP13x platforms have a RNG hardware block that supports
customization, a conditional reset sequences that allows to
recover from certain situations and a configuration locking
mechanism.

This series adds support for the mentionned features. Note that
the hardware RNG can and should be managed in the secure world
for this platform, hence the rng not being default enabled on
the STM32MP135F-DK board.

Changes in V2:
	- Use pm_ptr() and add __maybe_unused on PM API
	- Correct bug using WARN_ON

Changes in V3:
	- Squash of bindings patches
	- st,rng-lock-conf property declaration rework
	- Fix stm32_rng_pm_ops declaration in patch [5/9]

Gatien Chevallier (9):
  dt-bindings: rng: introduce new compatible for STM32MP13x
  hwrng: stm32 - use devm_platform_get_and_ioremap_resource() API
  hwrng: stm32 - implement STM32MP13x support
  hwrng: stm32 - implement error concealment
  hwrng: stm32 - rework error handling in stm32_rng_read()
  hwrng: stm32 - restrain RNG noise source clock
  hwrng: stm32 - support RNG configuration locking mechanism
  hwrng: stm32 - rework power management sequences
  ARM: dts: stm32: add RNG node for STM32MP13x platforms

 .../devicetree/bindings/rng/st,stm32-rng.yaml |  20 +-
 arch/arm/boot/dts/st/stm32mp131.dtsi          |   8 +
 drivers/char/hw_random/stm32-rng.c            | 511 +++++++++++++++---
 3 files changed, 455 insertions(+), 84 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-10-09 12:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21  8:02 [PATCH v3 0/9] hwrng: stm32: support STM32MP13x platforms Gatien Chevallier
2023-09-21  8:02 ` [PATCH v3 1/9] dt-bindings: rng: introduce new compatible for STM32MP13x Gatien Chevallier
2023-09-22 20:49   ` Rob Herring
2023-09-21  8:02 ` [PATCH v3 2/9] hwrng: stm32 - use devm_platform_get_and_ioremap_resource() API Gatien Chevallier
2023-09-21  8:02 ` [PATCH v3 3/9] hwrng: stm32 - implement STM32MP13x support Gatien Chevallier
2023-09-21  8:02 ` [PATCH v3 4/9] hwrng: stm32 - implement error concealment Gatien Chevallier
2023-09-21  8:02 ` [PATCH v3 5/9] hwrng: stm32 - rework error handling in stm32_rng_read() Gatien Chevallier
2023-09-21  8:02 ` [PATCH v3 6/9] hwrng: stm32 - restrain RNG noise source clock Gatien Chevallier
2023-09-21  8:02 ` [PATCH v3 7/9] hwrng: stm32 - support RNG configuration locking mechanism Gatien Chevallier
2023-09-21  8:03 ` [PATCH v3 8/9] hwrng: stm32 - rework power management sequences Gatien Chevallier
2023-09-21  8:03 ` [PATCH v3 9/9] ARM: dts: stm32: add RNG node for STM32MP13x platforms Gatien Chevallier
2023-09-22  8:20   ` [EXTERNAL] " Kamlesh Gurudasani
2023-09-25  9:31     ` Gatien CHEVALLIER
2023-10-01  8:33 ` [PATCH v3 0/9] hwrng: stm32: support " Herbert Xu
2023-10-09 12:02 ` Alexandre TORGUE

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).