From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Bill Gatliff <bgat@billgatliff.com>
Cc: linux-embedded@vger.kernel.org, lrg@slimlogic.co.uk
Subject: Re: Question on "regulator" platform device
Date: Fri, 4 Mar 2011 16:50:52 +0000 [thread overview]
Message-ID: <20110304165052.GF17653@sirena.org.uk> (raw)
In-Reply-To: <AANLkTinHgEeF6o1xkNvQFydqwfUJ1vAt-xsrXTSG2DaO@mail.gmail.com>
On Fri, Mar 04, 2011 at 08:41:00AM -0800, Bill Gatliff wrote:
> Guys:
As ever please remember to CC maintainers so they see your mails,
especially if you're going to mail a different list to the one usually
used for development of the subsystem you're working on.
> The text in Documentation/power/regulator/machine.txt describes how to
> place regulator_init_data and regulator_consumer_supply structures
> into the .dev.platform_data field of a platform_device structure. The
> platform_device.name field equals "regulator".
> Trouble is, I can't find anywhere in the drivers/regulator code that
> registers a platform_driver named "regulator". Am I just going blind?
This is just an example of how to supply platform data to a device.
You need to pass things into the driver for whatever regulator you are
using. There are quite a few systems in the tree using regulators
which you can use for reference...
prev parent reply other threads:[~2011-03-04 16:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-04 16:41 Question on "regulator" platform device Bill Gatliff
2011-03-04 16:50 ` Mark Brown [this message]
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=20110304165052.GF17653@sirena.org.uk \
--to=broonie@opensource.wolfsonmicro.com \
--cc=bgat@billgatliff.com \
--cc=linux-embedded@vger.kernel.org \
--cc=lrg@slimlogic.co.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).