power: Add simple gpio-restart driver

This driver registers a restart handler to set a GPIO line high/low
to reset a board based on devicetree bindings.

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
David Riley 2014-08-27 12:23:51 -07:00 • committed by Sebastian Reichel
commit 371bb20d69
4 changed files with 212 additions and 0 deletions