All of lore.kernel.org
 help / color / mirror / Atom feed
* [REPOST RFC PATCH 0/3] New "gpio-poweroff" driver to turn off platform devices with GPIOs
@ 2011-12-13 18:23 ` Kyle Moffett
  0 siblings, 0 replies; 24+ messages in thread
From: Kyle Moffett @ 2011-12-13 18:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: Grant Likely, Linus Walleij, devicetree-discuss

Hello again,

I posted this patch series a few weeks ago and saw no responses, so I
tweaked the CC list and am reposting it again for review.

I'm working on support for some custom hardware of ours, and part of
the support code is the ability for the software to shutdown the power
supply using GPIOs (via an I2C GPIO controller).

I previously had this in my platform code, but it seemed generically
useful, so I split it out into a separate module for others to use.

The first two patches are generic of_gpio enhancements, providing some
new library functions for requesting lots of GPIOs at once.

The third patch is the actual driver itself.  The driver can be used to
instantiate a platform device as a whole-machine-poweroff device as we
use it on our hardware.  Alternatively it can instantiate multiple
platform devs at specific locations on the device tree which trigger
from the platform_driver->shutdown() callback.

For architectures which are still stuck in the dark ages, this driver
also supports being instantiated via legacy platform_data.

The OpenFirmware binding documentation is added in the third patch.
Since this is my first cut, it's a little rough, so please be gentle.

I'm interested to know what you all think.

Cheers,
Kyle Moffett

--
Interested in my work on the Debian "powerpcspe" port?
I'm keeping a blog here: http://pureperl.blogspot.com/


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

end of thread, other threads:[~2012-01-04 19:06 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-13 18:23 [REPOST RFC PATCH 0/3] New "gpio-poweroff" driver to turn off platform devices with GPIOs Kyle Moffett
2011-12-13 18:23 ` Kyle Moffett
2011-12-13 18:23 ` [REPOST RFC PATCH 1/3] of_gpio: Extend of_gpio_count() to support other property names Kyle Moffett
2011-12-13 18:23 ` [REPOST RFC PATCH 2/3] of_gpio: Add new helpers for easily requesting lots of GPIOs Kyle Moffett
2012-01-04 18:49   ` Grant Likely
2011-12-13 18:23 ` [REPOST RFC PATCH 3/3] New "gpio-poweroff" driver to turn off platform devices with GPIOs Kyle Moffett
2011-12-13 19:10 ` [REPOST RFC PATCH 0/3] " Rob Herring
2011-12-13 20:44   ` Moffett, Kyle D
2011-12-13 20:44     ` Moffett, Kyle D
2011-12-14 12:02     ` Mark Brown
2011-12-14 12:02       ` Mark Brown
2011-12-14 20:34       ` Moffett, Kyle D
2011-12-14 20:34         ` Moffett, Kyle D
2011-12-17  9:20         ` Mark Brown
2011-12-17  9:20           ` Mark Brown
2011-12-19 16:56           ` Moffett, Kyle D
2011-12-19 16:56             ` Moffett, Kyle D
2011-12-20  1:38             ` Mark Brown
2011-12-20  1:38               ` Mark Brown
2011-12-20  1:53               ` Moffett, Kyle D
2011-12-20  1:53                 ` Moffett, Kyle D
2011-12-20 14:38                 ` Mark Brown
2011-12-20 14:38                   ` Mark Brown
2011-12-14 11:59 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.