public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/7] rng: stm32: support STM32MP13x platforms
@ 2023-09-19 15:27 Gatien Chevallier
  2023-09-19 15:27 ` [PATCH v3 1/7] rng: stm32: rename STM32 RNG driver Gatien Chevallier
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Gatien Chevallier @ 2023-09-19 15:27 UTC (permalink / raw)
  To: u-boot
  Cc: Patrick Delaunay, Patrice Chotard, Sughosh Ganu,
	Heinrich Schuchardt, uboot-stm32, Gatien Chevallier

This is the cover letter for patchset [1].
First, do not restrain the STM32 RNG driver to the MPU series.

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.

[1] http://patchwork.ozlabs.org/project/uboot/list/?series=372119&state=*

Changes in V2:
	- Added this cover letter
	- Added ARCH_STM32 as a dependency for RNG_STM32
	- Added review tags

Changes in V3:
	- Added Patrick's tag to [PATCH 1/7]

Gatien Chevallier (7):
  rng: stm32: rename STM32 RNG driver
  configs: default activate CONFIG_RNG_STM32 for STM32MP13x platforms
  rng: stm32: Implement configurable RNG clock error detection
  rng: stm32: add RNG clock frequency restraint
  rng: stm32: add error concealment sequence
  rng: stm32: Implement custom RNG configuration support
  ARM: dts: stm32: add RNG node for STM32MP13x platforms

 MAINTAINERS                         |   2 +-
 arch/arm/dts/stm32mp131.dtsi        |   8 +
 configs/stm32mp13_defconfig         |   1 +
 configs/stm32mp15_basic_defconfig   |   2 +-
 configs/stm32mp15_defconfig         |   2 +-
 configs/stm32mp15_trusted_defconfig |   2 +-
 drivers/rng/Kconfig                 |   8 +-
 drivers/rng/Makefile                |   2 +-
 drivers/rng/stm32_rng.c             | 408 ++++++++++++++++++++++++++++
 drivers/rng/stm32mp1_rng.c          | 198 --------------
 10 files changed, 426 insertions(+), 207 deletions(-)
 create mode 100644 drivers/rng/stm32_rng.c
 delete mode 100644 drivers/rng/stm32mp1_rng.c

-- 
2.25.1


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

end of thread, other threads:[~2023-09-27  7:27 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 15:27 [PATCH v3 0/7] rng: stm32: support STM32MP13x platforms Gatien Chevallier
2023-09-19 15:27 ` [PATCH v3 1/7] rng: stm32: rename STM32 RNG driver Gatien Chevallier
2023-09-27  6:52   ` Patrice CHOTARD
2023-09-27  7:25     ` Patrice CHOTARD
2023-09-19 15:27 ` [PATCH v3 2/7] configs: default activate CONFIG_RNG_STM32 for STM32MP13x platforms Gatien Chevallier
2023-09-27  6:53   ` Patrice CHOTARD
2023-09-27  7:26     ` [Uboot-stm32] " Patrice CHOTARD
2023-09-19 15:27 ` [PATCH v3 3/7] rng: stm32: Implement configurable RNG clock error detection Gatien Chevallier
2023-09-27  6:56   ` Patrice CHOTARD
2023-09-27  7:26     ` [Uboot-stm32] " Patrice CHOTARD
2023-09-19 15:27 ` [PATCH v3 4/7] rng: stm32: add RNG clock frequency restraint Gatien Chevallier
2023-09-27  6:56   ` Patrice CHOTARD
2023-09-27  7:26     ` Patrice CHOTARD
2023-09-19 15:27 ` [PATCH v3 5/7] rng: stm32: add error concealment sequence Gatien Chevallier
2023-09-27  6:57   ` Patrice CHOTARD
2023-09-27  7:26     ` Patrice CHOTARD
2023-09-19 15:27 ` [PATCH v3 6/7] rng: stm32: Implement custom RNG configuration support Gatien Chevallier
2023-09-27  7:11   ` Patrice CHOTARD
2023-09-27  7:27     ` [Uboot-stm32] " Patrice CHOTARD
2023-09-19 15:27 ` [PATCH v3 7/7] ARM: dts: stm32: add RNG node for STM32MP13x platforms Gatien Chevallier
2023-09-27  7:11   ` Patrice CHOTARD
2023-09-27  7:27     ` Patrice CHOTARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox