Thread (1 message) 1 message, 1 author, 2012-11-16

[PATCH 1/4] mfd: tps65217: Set PMIC to shutdowm on PWR_EN toggle

From: AnilKumar, Chimata <hidden>
Date: 2012-11-16 06:16:02
Also in: linux-devicetree, linux-omap

On Wed, Nov 14, 2012 at 15:54:53, Mark Brown wrote:
On Wed, Nov 14, 2012 at 11:08:49AM +0100, Benoit Cousson wrote:
quoted
I was wondering that, because exposing a pin to control the whole PMIC
low power mode seems to be something that should be generic enough to be
handled by the regulator framework.
Having something that's controlled by software is really not at all
generic - suspending a PMIC from a GPIO is generally tied in very
closely with the CPU power sequencing which means it's typically some
combination of very hard coded things that we can't control or part of
much wider control of sequencing.
quoted
In the current situation we do have a pwr_en pin that can be controlled
by a GPIO or whatever signal from the SoC.
That's very similar, at PMIC level, to the fixedregulator that allow a
GPIO binding to enable it.
quoted
Don't you think that should deserve a support in the fmwk?
I'm not seeing a coherent description of a feature here - what exactly
are you proposing that we do?  When and how would this GPIO be set for
example?
It would be better if these patches are going in like this till the
framework exists. We can change/move this portion once the framework
is defined for this kind.

Thanks
AnilKumar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help