[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111214115954.GB25088@sirena.org.uk>
Date: Wed, 14 Dec 2011 11:59:54 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Kyle Moffett <Kyle.D.Moffett@...ing.com>
Cc: linux-kernel@...r.kernel.org,
Grant Likely <grant.likely@...retlab.ca>,
Linus Walleij <linus.walleij@...aro.org>,
devicetree-discuss@...ts.ozlabs.org
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists