Messages in this thread | | | Date | Wed, 14 Dec 2011 11:59:54 +0000 | From | Mark Brown <> | Subject | Re: [REPOST RFC PATCH 0/3] New "gpio-poweroff" driver to turn off platform devices with GPIOs |
| |
On Tue, Dec 13, 2011 at 01:23:31PM -0500, Kyle Moffett wrote:
> 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).
We already have the regulator API for controlling power to devices, simple GPIO supplies are supported using fixed voltage regulators. The drivers that are being turned off should have regulator support added to them. If we have a separate method for doing GPIOs then drivers would have to support multiple methods of controlling their power.
| |