regulator: ab8500: Added get_optimum_mode on regulators with idle mode
authorBengt Jonsson <bengt.g.jonsson@stericsson.com>
Thu, 21 Mar 2013 15:59:00 +0000 (15:59 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 22 Mar 2013 11:03:16 +0000 (12:03 +0100)
commit7ce4669c8feefe0c772e9d5f3ae65160e20d8458
tree246400dd3a3a841d8c3fd40f361c76eccea7c225
parentbd28a15733df2f3e66e6abc073cdf300df0f01e6
regulator: ab8500: Added get_optimum_mode on regulators with idle mode

With this change, Vtvout, Vintcore12, Vaux1, 2 and 3 regulators
support DRMS (Dynamic Regulator Mode Switching) which will
dynamically handle requests for max current consumption from
several consumers and select a suitable regulator mode.

Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c