regulator: regulator framework core
authorLiam Girdwood <lg@opensource.wolfsonmicro.com>
Wed, 30 Apr 2008 14:59:04 +0000 (15:59 +0100)
committerLiam Girdwood <lg@opensource.wolfsonmicro.com>
Wed, 30 Jul 2008 09:10:21 +0000 (10:10 +0100)
commit414c70cb91c445ec813b61e16fe4882807e40240
tree077c3416e8366df8827dd1aee128dfcbbef27aea
parent48d335ba3164ce99cb8847513d0e3b6ee604eb20
regulator: regulator framework core

This adds the regulator framework core.

This framework is designed to provide a generic interface to voltage
and current regulators within the Linux kernel. It's intended to
provide voltage and current control to client or consumer drivers and
also provide status information to user space applications through a
sysfs interface.

The intention is to allow systems to dynamically control regulator
output in order to save power and prolong battery life. This applies
to both voltage regulators (where voltage output is controllable) and
current sinks (where current output is controllable).

This framework safely compiles out if not selected so that client
drivers can still be used in systems with no software controllable
regulators.

Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c [new file with mode: 0644]