xref: /openbmc/u-boot/drivers/sysreset/Kconfig (revision 0d832b322109e76953bc58e4d2723d2c73dfb604)
1b25732c2SMax Filippov#
2b25732c2SMax Filippov# System reset devices
3b25732c2SMax Filippov#
4b25732c2SMax Filippov
5b25732c2SMax Filippovmenu "System reset device drivers"
6b25732c2SMax Filippov
7b25732c2SMax Filippovconfig SYSRESET
8b25732c2SMax Filippov	bool "Enable support for system reset drivers"
9b25732c2SMax Filippov	depends on DM
10b25732c2SMax Filippov	help
11b25732c2SMax Filippov	  Enable system reset drivers which can be used to reset the CPU or
12b25732c2SMax Filippov	  board. Each driver can provide a reset method which will be called
13b25732c2SMax Filippov	  to effect a reset. The uclass will try all available drivers when
14b25732c2SMax Filippov	  reset_walk() is called.
15b25732c2SMax Filippov
16573a3811SMasahiro Yamadaif SYSRESET
17573a3811SMasahiro Yamada
18*0d832b32SMichal Simekconfig SYSRESET_GPIO
19*0d832b32SMichal Simek	bool "Enable support for GPIO reset driver"
20*0d832b32SMichal Simek	select GPIO
21*0d832b32SMichal Simek	help
22*0d832b32SMichal Simek	  Reset support via GPIO pin connected reset logic. This is used for
23*0d832b32SMichal Simek	  example on Microblaze where reset logic can be controlled via GPIO
24*0d832b32SMichal Simek	  pin which triggers cpu reset.
25*0d832b32SMichal Simek
26573a3811SMasahiro Yamadaconfig SYSRESET_PSCI
27573a3811SMasahiro Yamada	bool "Enable support for PSCI System Reset"
28573a3811SMasahiro Yamada	depends on ARM_PSCI_FW
29573a3811SMasahiro Yamada	help
30573a3811SMasahiro Yamada	  Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
31573a3811SMasahiro Yamada	  must be running on your system.
32573a3811SMasahiro Yamada
33573a3811SMasahiro Yamadaendif
34e3889691SÁlvaro Fernández Rojas
35e3889691SÁlvaro Fernández Rojasconfig SYSRESET_SYSCON
36e3889691SÁlvaro Fernández Rojas	bool "Enable support for mfd syscon reboot driver"
37e3889691SÁlvaro Fernández Rojas	select REGMAP
38e3889691SÁlvaro Fernández Rojas	select SYSCON
39e3889691SÁlvaro Fernández Rojas	help
40e3889691SÁlvaro Fernández Rojas	  Reboot support for generic SYSCON mapped register reset.
41e3889691SÁlvaro Fernández Rojas
4217a0c141SÁlvaro Fernández Rojasconfig SYSRESET_WATCHDOG
4317a0c141SÁlvaro Fernández Rojas	bool "Enable support for watchdog reboot driver"
4417a0c141SÁlvaro Fernández Rojas	select WDT
4517a0c141SÁlvaro Fernández Rojas	help
4617a0c141SÁlvaro Fernández Rojas	  Reboot support for generic watchdog reset.
4717a0c141SÁlvaro Fernández Rojas
48b25732c2SMax Filippovendmenu
49