summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset/Kconfig
diff options
context:
space:
mode:
authorMichael Klein <michael@fossekall.de>2020-12-11 16:14:43 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-12-13 00:14:15 +0100
commitec66096b7696d40c8d321d2b1c6cdb856a9767be (patch)
tree1027ae5f88e931f2e44ce6c00ec8d898ae3f9982 /drivers/power/reset/Kconfig
parentpower: supply: ab8500: Use dev_err_probe() for IIO channels (diff)
downloadlinux-ec66096b7696d40c8d321d2b1c6cdb856a9767be.tar.xz
linux-ec66096b7696d40c8d321d2b1c6cdb856a9767be.zip
power: reset: new driver regulator-poweroff
This driver registers a pm_power_off function to turn off the board by force-disabling a devicetree-defined regulator. Signed-off-by: Michael Klein <michael@fossekall.de> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r--drivers/power/reset/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index d55b3727e00e..b22c4fdb2561 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -177,6 +177,13 @@ config POWER_RESET_QNAP
Say Y if you have a QNAP NAS.
+config POWER_RESET_REGULATOR
+ bool "Regulator subsystem power-off driver"
+ depends on OF && REGULATOR
+ help
+ This driver supports turning off your board by disabling a
+ power regulator defined in the devicetree.
+
config POWER_RESET_RESTART
bool "Restart power-off driver"
help