Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[oweals/u-boot.git] / drivers / sysreset / Kconfig
index f2524c18b7bbccd3e0235afdc60bc67731d5b59d..4be7433404701d9943c50f202b43a593e330489d 100644 (file)
@@ -13,11 +13,39 @@ config SYSRESET
          to effect a reset. The uclass will try all available drivers when
          reset_walk() is called.
 
          to effect a reset. The uclass will try all available drivers when
          reset_walk() is called.
 
+config SPL_SYSRESET
+       bool "Enable support for system reset drivers in SPL mode"
+       depends on SYSRESET && SPL_DM
+       help
+         Enable system reset drivers which can be used to reset the CPU or
+         board. Each driver can provide a reset method which will be called
+         to effect a reset. The uclass will try all available drivers when
+         reset_walk() is called.
+
+config TPL_SYSRESET
+       bool "Enable support for system reset drivers in TPL mode"
+       depends on SYSRESET && TPL_DM
+       help
+         Enable system reset drivers which can be used to reset the CPU or
+         board. Each driver can provide a reset method which will be called
+         to effect a reset. The uclass will try all available drivers when
+         reset_walk() is called.
+
 if SYSRESET
 
 if SYSRESET
 
+if CMD_POWEROFF
+
+config SYSRESET_CMD_POWEROFF
+       bool "sysreset implementation of the poweroff command"
+       help
+         This should be selected by the appropriate PMIC driver if
+         the poweroff command is enabled.
+
+endif
+
 config SYSRESET_GPIO
        bool "Enable support for GPIO reset driver"
 config SYSRESET_GPIO
        bool "Enable support for GPIO reset driver"
-       select GPIO
+       select DM_GPIO
        help
          Reset support via GPIO pin connected reset logic. This is used for
          example on Microblaze where reset logic can be controlled via GPIO
        help
          Reset support via GPIO pin connected reset logic. This is used for
          example on Microblaze where reset logic can be controlled via GPIO
@@ -32,10 +60,32 @@ config SYSRESET_MICROBLAZE
 config SYSRESET_PSCI
        bool "Enable support for PSCI System Reset"
        depends on ARM_PSCI_FW
 config SYSRESET_PSCI
        bool "Enable support for PSCI System Reset"
        depends on ARM_PSCI_FW
+       select SPL_ARM_PSCI_FW if SPL
        help
          Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
          must be running on your system.
 
        help
          Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
          must be running on your system.
 
+config SYSRESET_SOCFPGA
+       bool "Enable support for Intel SOCFPGA family"
+       depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10)
+       help
+         This enables the system reset driver support for Intel SOCFPGA SoCs
+         (Cyclone 5, Arria 5 and Arria 10).
+
+config SYSRESET_SOCFPGA_S10
+       bool "Enable support for Intel SOCFPGA Stratix 10"
+       depends on ARCH_SOCFPGA && TARGET_SOCFPGA_STRATIX10
+       help
+         This enables the system reset driver support for Intel SOCFPGA
+         Stratix SoCs.
+
+config SYSRESET_TI_SCI
+       bool "TI System Control Interface (TI SCI) system reset driver"
+       depends on TI_SCI_PROTOCOL
+       help
+         This enables the system reset driver support over TI System Control
+         Interface available on some new TI's SoCs.
+
 endif
 
 config SYSRESET_SYSCON
 endif
 
 config SYSRESET_SYSCON
@@ -51,4 +101,33 @@ config SYSRESET_WATCHDOG
        help
          Reboot support for generic watchdog reset.
 
        help
          Reboot support for generic watchdog reset.
 
+config SYSRESET_RESETCTL
+       bool "Enable support for reset controller reboot driver"
+       select DM_RESET
+       help
+         Reboot support using generic reset controller.
+
+config SYSRESET_X86
+       bool "Enable support for x86 processor reboot driver"
+       depends on X86
+       help
+         Reboot support for generic x86 processor reset.
+
+config SYSRESET_SPL_X86
+       bool "Enable support for x86 processor reboot driver in SPL"
+       depends on X86
+       help
+         Reboot support for generic x86 processor reset in SPL.
+
+config SYSRESET_TPL_X86
+       bool "Enable support for x86 processor reboot driver in TPL"
+       depends on X86
+       help
+         Reboot support for generic x86 processor reset in TPL.
+
+config SYSRESET_MPC83XX
+       bool "Enable support MPC83xx SoC family reboot driver"
+       help
+         Reboot support for NXP MPC83xx SoCs.
+
 endmenu
 endmenu