* Question on "regulator" platform device
@ 2011-03-04 16:41 Bill Gatliff
2011-03-04 16:50 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Bill Gatliff @ 2011-03-04 16:41 UTC (permalink / raw)
To: linux-embedded
Guys:
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?
Thanks!
b.g.
--
Bill Gatliff
bgat@billgatliff.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question on "regulator" platform device
2011-03-04 16:41 Question on "regulator" platform device Bill Gatliff
@ 2011-03-04 16:50 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-03-04 16:50 UTC (permalink / raw)
To: Bill Gatliff; +Cc: linux-embedded, lrg
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-04 16:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 16:41 Question on "regulator" platform device Bill Gatliff
2011-03-04 16:50 ` Mark Brown
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 NNTP newsgroup(s).