Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[cascardo/linux.git] / drivers / power / reset / Kconfig
index f38ac90..3bfac53 100644 (file)
@@ -158,7 +158,8 @@ config POWER_RESET_XGENE
 
 config POWER_RESET_KEYSTONE
        bool "Keystone reset driver"
-       depends on ARCH_KEYSTONE
+       depends on ARCH_KEYSTONE || COMPILE_TEST
+       depends on HAS_IOMEM
        select MFD_SYSCON
        help
          Reboot support for the KEYSTONE SoCs.
@@ -193,5 +194,19 @@ config POWER_RESET_ZX
        help
          Reboot support for ZTE SoCs.
 
+config REBOOT_MODE
+       tristate
+
+config SYSCON_REBOOT_MODE
+       tristate "Generic SYSCON regmap reboot mode driver"
+       depends on OF
+       select REBOOT_MODE
+       select MFD_SYSCON
+       help
+         Say y here will enable reboot mode driver. This will
+         get reboot mode arguments and store it in SYSCON mapped
+         register, then the bootloader can read it to take different
+         action according to the mode.
+
 endif