regulator: Support voltage offsets to compensate for drops in system
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 8 May 2011 21:13:37 +0000 (22:13 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:37 +0000 (10:34 +0100)
commitbf5892a8167e4aa5a9a6d72f803fde850e0c5753
tree41670ff93a8441ce155ba99cbfb684e5c52df4e7
parent492c826b9facefa84995f4dea917e301b5ee0884
regulator: Support voltage offsets to compensate for drops in system

Some systems, particularly physically large systems used for early
prototyping, may experience substantial voltage drops between the regulator
and the consumers as a result of long traces in the system. With these
systems voltages may need to be set higher than requested in order to
ensure reliable system operation.

Allow systems to work around such hardware issues by allowing constraints
to supply an offset to be applied to any requested and reported voltages.
This is not ideal, especially since the voltage drop may be load dependant,
but is sufficient for most affected systems, it is not expected to be used
in production hardware. The offset is applied after all constraint
processing so constraints should be specified in terms of consumer values
not physically configured values.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c
include/linux/regulator/machine.h
This page took 0.028264 seconds and 5 git commands to generate.