power: Add simple poweroff-gpio driver
authorJamie Lentin <jm@lentin.co.uk>
Sat, 17 Nov 2012 08:51:04 +0000 (09:51 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sat, 24 Nov 2012 02:56:38 +0000 (02:56 +0000)
commit96ff0f5c7efd4a2205c48a76a6a1fcd2731e6128
treed928f8f738dcc2736d19a6920e5b73bc158f3ae7
parentf4a00139b7cbeff538e616a21f6b57249a9d3ed8
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>
Documentation/devicetree/bindings/gpio/gpio-poweroff.txt [new file with mode: 0644]
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/reset/Kconfig [new file with mode: 0644]
drivers/power/reset/Makefile [new file with mode: 0644]
drivers/power/reset/gpio-poweroff.c [new file with mode: 0644]