summaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorJamie Lentin <jm@lentin.co.uk>2012-11-17 09:51:04 +0100
committerJason Cooper <jason@lakedaemon.net>2012-11-24 02:56:38 +0000
commit96ff0f5c7efd4a2205c48a76a6a1fcd2731e6128 (patch)
treed928f8f738dcc2736d19a6920e5b73bc158f3ae7 /drivers/power/Kconfig
parentf4a00139b7cbeff538e616a21f6b57249a9d3ed8 (diff)
power: Add simple poweroff-gpio driver
Given appropriate devicetree bindings, this driver registers a pm_power_off function to set a GPIO line high/low to power down your board. Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by:Simon Baatz <gmbnomis@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 49a89397231..b1d956d81f0 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -335,6 +335,9 @@ config AB8500_BATTERY_THERM_ON_BATCTRL
help
Say Y to enable battery temperature measurements using
thermistor connected on BATCTRL ADC.
+
+source "drivers/power/reset/Kconfig"
+
endif # POWER_SUPPLY
source "drivers/power/avs/Kconfig"