All of lore.kernel.org
 help / color / mirror / Atom feed
* Regulator suspend state dt question
@ 2012-12-06  6:25 Abhilash Kesavan
  2012-12-06  6:28 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Abhilash Kesavan @ 2012-12-06  6:25 UTC (permalink / raw)
  To: devicetree-discuss, linux-kernel, grant.likely, lrg, broonie
  Cc: Doug Anderson, Olof Johansson, Thomas Abraham

Hi,

Max77686 PMIC has dt support and I wanted to specify the suspend state of the
regulator via dt. set_suspend_disable and set_suspend_mode call-backs are
already implemented in drivers/regulator/max77686.c.

As of now there is no support in the regulator core to specify the suspend state
(mode, enabled/disabled) using dt. I can add new properties specifying
the intial_state,
mode, enable/disable but I am not too sure if it is appropriate to add
such bindings to
the device tree as they are not actually describing the hardware.

Is calling regulator_suspend_prepare from a machine specific file an option ?

Kindly provide me with suggestions as to how I may proceed with this.

Regards,
Abhilash

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

end of thread, other threads:[~2012-12-06  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06  6:25 Regulator suspend state dt question Abhilash Kesavan
2012-12-06  6:28 ` Mark Brown
2012-12-06  7:02   ` Abhilash Kesavan

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.