1config DM_RNG
2	bool "Driver support for Random Number Generator devices"
3	depends on DM
4	help
5	  Enable driver model for random number generator(rng) devices.
6	  This interface is used to initialise the rng device and to
7	  read the random seed from the device.
8
9if DM_RNG
10
11config RNG_MESON
12	bool "Amlogic Meson Random Number Generator support"
13	depends on ARCH_MESON
14	default y
15	help
16	  Enable support for hardware random number generator
17	  of Amlogic Meson SoCs.
18
19config RNG_SANDBOX
20	bool "Sandbox random number generator"
21	depends on SANDBOX
22	default y
23	help
24	  Enable random number generator for sandbox. This is an
25	  emulation of a rng device.
26
27config RNG_MSM
28	bool "Qualcomm SoCs Random Number Generator support"
29	depends on DM_RNG
30	help
31	  This driver provides support for the Random Number
32	  Generator hardware found on Qualcomm SoCs.
33
34config RNG_STM32MP1
35	bool "Enable random number generator for STM32MP1"
36	depends on ARCH_STM32MP
37	default n
38	help
39	  Enable STM32MP1 rng driver.
40
41config RNG_ROCKCHIP
42	bool "Enable random number generator for rockchip crypto rng"
43	depends on ARCH_ROCKCHIP && DM_RNG
44	default n
45	help
46	  Enable random number generator for rockchip.This driver is
47	  support rng module of crypto v1 and crypto v2.
48
49config RNG_IPROC200
50	bool "Broadcom iProc RNG200 random number generator"
51	depends on DM_RNG
52	default n
53	help
54	  Enable random number generator for RPI4.
55endif
56