regulator: ab8500-ext: Add HW request support
authorBengt Jonsson <bengt.g.jonsson@stericsson.com>
Thu, 28 Mar 2013 16:11:06 +0000 (16:11 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 29 Mar 2013 17:49:09 +0000 (17:49 +0000)
commit18bc2b39307b45527efc6c84836953c7a8f2181e
tree29062ff9e05ed3a8afaff67fafbdfceda81d7fa3
parente0c44686c3e22b2b7f0441a31db411b1c70b47c3
regulator: ab8500-ext: Add HW request support

Support for HW request is added in the external regulator
driver. A flag in the board configuration can be set to
let HW control the regulator when there is no SW request.
This means that the regulator will be put in high power
mode when there is a SW request and in HW-request mode
otherwise.

Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500-ext.c
include/linux/regulator/ab8500.h