[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-embedded
Subject:    Re: Question on "regulator" platform device
From:       Mark Brown <broonie () opensource ! wolfsonmicro ! com>
Date:       2011-03-04 16:50:52
Message-ID: 20110304165052.GF17653 () sirena ! org ! uk
[Download RAW message or body]

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...
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic