All of lore.kernel.org
 help / color / mirror / Atom feed
* OMAP PM late init with DT blob
@ 2012-07-17 11:24 Bedia, Vaibhav
  2012-07-17 20:33 ` Paul Walmsley
  0 siblings, 1 reply; 5+ messages in thread
From: Bedia, Vaibhav @ 2012-07-17 11:24 UTC (permalink / raw)
  To: Cousson, Benoit, Hilman, Kevin, Paul Walmsley; +Cc: linux-omap

Hi,

I am looking at adding PM support for AM335x based on l-o/master.
arch/arm/mach-omap2/pm.c has the following comment:

/*
 * In the case of DT, the PMIC and SR initialization will be done using
 * a completely different mechanism.
 * Disable this part if a DT blob is available.
 */
if (of_have_populated_dt())
        return 0;

Basic DT support for AM335x is already in mainline so this check causes
various PM related inits and also the registration of the suspend ops to be
skipped.

I tried searching the list archives for any discussion on this but could not
find anything. Can someone shed some light on the how the device tree is to
be used for PMIC and SR initialization. 

Any objections to moving the suspend ops registration before the DT blob check?

Regards,
Vaibhav B.



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

end of thread, other threads:[~2012-07-19 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-17 11:24 OMAP PM late init with DT blob Bedia, Vaibhav
2012-07-17 20:33 ` Paul Walmsley
2012-07-18 11:03   ` Bedia, Vaibhav
2012-07-18 16:22     ` Paul Walmsley
2012-07-19 12:26       ` Bedia, Vaibhav

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.