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