Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 10:54:10PM +0200, Tomasz Figa wrote: > > The reason this isn't in device tree at the minute is that suspend to > > disk and suspend to RAM are somewhat Linux specific concepts and the > > whole thing gets more and more dynamic as time moves forwards with the > > suspend sta

Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-26 Thread Tomasz Figa
On Thursday 25 of July 2013 21:03:43 Mark Brown wrote: > On Thu, Jul 25, 2013 at 12:42:00PM -0700, Vincent Palatin wrote: > > +- regulator-suspend-disk-microvolt: voltage applied when entering S2D > > +- regulator-suspend-disk-disabled: turn off when entering S2D > > +- regulator-suspend-mem-microv

Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 09:06:56AM -0700, Vincent Palatin wrote: > > The reason this isn't in device tree at the minute is that suspend to > > disk and suspend to RAM are somewhat Linux specific concepts and the > > whole thing gets more and more dynamic as time moves forwards with the > > suspend

Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-26 Thread Vincent Palatin
On Thu, Jul 25, 2013 at 1:03 PM, Mark Brown wrote: > On Thu, Jul 25, 2013 at 12:42:00PM -0700, Vincent Palatin wrote: > >> +- regulator-suspend-disk-microvolt: voltage applied when entering S2D >> +- regulator-suspend-disk-disabled: turn off when entering S2D >> +- regulator-suspend-mem-microvolt:

Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-25 Thread Mark Brown
On Thu, Jul 25, 2013 at 12:42:00PM -0700, Vincent Palatin wrote: > +- regulator-suspend-disk-microvolt: voltage applied when entering S2D > +- regulator-suspend-disk-disabled: turn off when entering S2D > +- regulator-suspend-mem-microvolt: voltage applied when entering S2M > +- regulator-suspend-

[PATCH] regulator: read low power states configuration from device tree

2013-07-25 Thread Vincent Palatin
The regulators state during a system wide low power state can currently only be described in platform data. Add the option to configure them from the device tree. Signed-off-by: Vincent Palatin --- .../devicetree/bindings/regulator/regulator.txt| 6 + drivers/regulator/of_regulator.c