From: Peter Barada <peterb@logicpd.com>
To: linux-omap <linux-omap@vger.kernel.org>
Subject: Question on how to best access a chip on init that needs VAUX1 power?
Date: Fri, 16 Jan 2009 14:31:27 -0500 [thread overview]
Message-ID: <1232134287.347.44.camel@blackhole> (raw)
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>
next reply other threads:[~2009-01-16 19:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-16 19:31 Peter Barada [this message]
2009-01-16 20:17 ` Question on how to best access a chip on init that needs VAUX1 power? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1232134287.347.44.camel@blackhole \
--to=peterb@logicpd.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.