public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Question on how to best access a chip on init that needs VAUX1 power?
@ 2009-01-16 19:31 Peter Barada
  2009-01-16 20:17 ` Woodruff, Richard
  2009-01-16 21:10 ` David Brownell
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Barada @ 2009-01-16 19:31 UTC (permalink / raw)
  To: linux-omap

On the OMAP board I have, I want to access production information
(model, serial number, MAC addresses, etc), and the part requires 3v
which is powered off of VAUX1.

I need to pull this out at initialization time, but I have to wait until
the twl4030 driver is running or I get "twl4030: client 3 is not
initialized" when I try to turn on the power.   Looking at the
twl4030-core.c code, I see its invoked via initcall_subsys().  I'd like
to have my code invoked before the other devices come up (so I can
provide a MAC address to the ethernet, etc).  I'm trying
initcall_sysbys_sync() to have my code called after the twl4040
initializes, but before the devices come up.

Is the the right way to approach this?

-- 
Peter Barada <peterb@logicpd.com>

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

end of thread, other threads:[~2009-01-16 21:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 19:31 Question on how to best access a chip on init that needs VAUX1 power? Peter Barada
2009-01-16 20:17 ` Woodruff, Richard
2009-01-16 21:05   ` Peter Barada
2009-01-16 21:10     ` Woodruff, Richard
2009-01-16 21:11     ` David Brownell
2009-01-16 21:10 ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox