1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# System reset devices 3*4882a593Smuzhiyun# 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunmenu "System reset device drivers" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyunconfig SYSRESET 8*4882a593Smuzhiyun bool "Enable support for system reset drivers" 9*4882a593Smuzhiyun depends on DM 10*4882a593Smuzhiyun help 11*4882a593Smuzhiyun Enable system reset drivers which can be used to reset the CPU or 12*4882a593Smuzhiyun board. Each driver can provide a reset method which will be called 13*4882a593Smuzhiyun to effect a reset. The uclass will try all available drivers when 14*4882a593Smuzhiyun reset_walk() is called. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunconfig SPL_SYSRESET 17*4882a593Smuzhiyun bool "Enable support for system reset drivers in SPL mode" 18*4882a593Smuzhiyun depends on SYSRESET && SPL_DM 19*4882a593Smuzhiyun help 20*4882a593Smuzhiyun Enable system reset drivers which can be used to reset the CPU or 21*4882a593Smuzhiyun board. Each driver can provide a reset method which will be called 22*4882a593Smuzhiyun to effect a reset. The uclass will try all available drivers when 23*4882a593Smuzhiyun reset_walk() is called. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunconfig TPL_SYSRESET 26*4882a593Smuzhiyun bool "Enable support for system reset drivers in TPL mode" 27*4882a593Smuzhiyun depends on SYSRESET && TPL_DM 28*4882a593Smuzhiyun help 29*4882a593Smuzhiyun Enable system reset drivers which can be used to reset the CPU or 30*4882a593Smuzhiyun board. Each driver can provide a reset method which will be called 31*4882a593Smuzhiyun to effect a reset. The uclass will try all available drivers when 32*4882a593Smuzhiyun reset_walk() is called. 33*4882a593Smuzhiyun 34*4882a593Smuzhiyunconfig SYSRESET_REG 35*4882a593Smuzhiyun hex "The sysreset register for the sysreset" 36*4882a593Smuzhiyun depends on !SYSRESET 37*4882a593Smuzhiyun default 0xff490408 38*4882a593Smuzhiyun 39*4882a593Smuzhiyunconfig SYSRESET_VAL 40*4882a593Smuzhiyun hex "The sysreset value for the sysreset" 41*4882a593Smuzhiyun depends on !SYSRESET 42*4882a593Smuzhiyun default 0x0000fdb9 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunif SYSRESET 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunconfig SYSRESET_PSCI 47*4882a593Smuzhiyun bool "Enable support for PSCI System Reset" 48*4882a593Smuzhiyun depends on ARM_PSCI_FW 49*4882a593Smuzhiyun default y if ARCH_ROCKCHIP 50*4882a593Smuzhiyun help 51*4882a593Smuzhiyun Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware 52*4882a593Smuzhiyun must be running on your system. 53*4882a593Smuzhiyun 54*4882a593Smuzhiyunendif 55*4882a593Smuzhiyun 56*4882a593Smuzhiyunconfig SYSRESET_SYSCON 57*4882a593Smuzhiyun bool "Enable support for mfd syscon reboot driver" 58*4882a593Smuzhiyun select REGMAP 59*4882a593Smuzhiyun select SYSCON 60*4882a593Smuzhiyun help 61*4882a593Smuzhiyun Reboot support for generic SYSCON mapped register reset. 62*4882a593Smuzhiyun 63*4882a593Smuzhiyunconfig SYSRESET_SYSCON_REBOOT 64*4882a593Smuzhiyun bool "Enable support for syscon reboot mode driver" 65*4882a593Smuzhiyun default y if ARCH_ROCKCHIP 66*4882a593Smuzhiyun help 67*4882a593Smuzhiyun Reboot mode command, like: reboot bootloader, etc. 68*4882a593Smuzhiyun 69*4882a593Smuzhiyunconfig SYSRESET_WATCHDOG 70*4882a593Smuzhiyun bool "Enable support for watchdog reboot driver" 71*4882a593Smuzhiyun select WDT 72*4882a593Smuzhiyun help 73*4882a593Smuzhiyun Reboot support for generic watchdog reset. 74*4882a593Smuzhiyun 75*4882a593Smuzhiyunendmenu 76