devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] gpio-restart restart handler
@ 2014-08-27 19:23 David Riley
  2014-08-27 19:23 ` [PATCH v2 1/1] power: Add simple gpio-restart driver David Riley
  0 siblings, 1 reply; 4+ messages in thread
From: David Riley @ 2014-08-27 19:23 UTC (permalink / raw)
  To: Sebastian Reichel, Dmitry Eremin-Solenikov, David Woodhouse
  Cc: Guenter Roeck, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Grant Likely, David Riley,
	Arnd Bergmann, Anton Vorontsov, Marc Carino, Anders Berg,
	Laxman Dewangan, Ivan Khoronzhuk, Maxime Ripard, Haojian Zhuang,
	Jamie Lentin, Doug Anderson, devicetree, linux-kernel, linux-pm

This driver builds upon Guenter Roeck's kernel restart handler patchset
to add a driver which registers a GPIO-based restart handler which restarts
the system by toggling a GPIO.

Changes are based off 3.17-rc2 with the following patches from v7 of 
Guenter's patchset:
https://patchwork.kernel.org/patch/4746721/
https://patchwork.kernel.org/patch/4746731/
https://patchwork.kernel.org/patch/4747011/
https://patchwork.kernel.org/patch/4746741/
https://patchwork.kernel.org/patch/4746861/

Changes since v1:
v2:
	- Updated devicetree binding to make it less kernel specific
	- Changed priority property from u8 type to standard u32
	- Rename input property to open-source
	- Made delays configurable from binding
	- Removed unneeded BUG_ON
	- Used devm_gpiod_get flags parameter to configure initial direction

David Riley (1):
  power: Add simple gpio-restart driver

 .../devicetree/bindings/gpio/gpio-restart.txt      |  54 ++++++++
 drivers/power/reset/Kconfig                        |   8 ++
 drivers/power/reset/Makefile                       |   1 +
 drivers/power/reset/gpio-restart.c                 | 149 +++++++++++++++++++++
 4 files changed, 212 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-restart.txt
 create mode 100644 drivers/power/reset/gpio-restart.c

-- 
2.0.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-26 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 19:23 [PATCH v2 0/1] gpio-restart restart handler David Riley
2014-08-27 19:23 ` [PATCH v2 1/1] power: Add simple gpio-restart driver David Riley
2014-09-19  4:35   ` Guenter Roeck
2014-09-26 20:23   ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).