History log of /drivers/regulator/helpers.c
Revision Date Author Comments
ca5d1b3524b4d90a2e2f1f71583c1dca6b96fd92 05-Mar-2014 Carlo Caione <carlo@caione.org> regulator: helpers: Modify helpers enabling multi-bit control

This patch extends the regulator helpers to account for device that use
multiple bits for control when using regmap enable/disable/bypass ops.

The actual regulator helpers wrongly assume that the regulator control
is always performed using single bits, using in the regulator_desc
struct only two parameters *_reg and *_mask defining register and mask
for control.

This patch extends this struct and introduces the helpers to take into
account devices where control is performed using multiple bits and
specific multi-bit values are used for enabling/disabling/bypassing the
regulator.

Signed-off-by: Carlo Caione <carlo@caione.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
e277e656804c85a0729d4fd8cdd3c8ab3e6b3b86 11-Oct-2013 Axel Lin <axel.lin@ingics.com> regulator: Remove max_uV from struct regulator_linear_range

linear ranges means each range has linear voltage settings.
So we can calculate max_uV for each linear range in regulator core rather than
set the max_uV field in drivers.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
d295f7670127eb241d81e96e003b380c77c2b254 09-Aug-2013 Axel Lin <axel.lin@ingics.com> regulator: core: Move list_voltage_{linear,linear_range,table} to helpers.c

Move regulator_list_voltage_{linear,linear_range,table} helper functions to
helpers.c.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
c4a54b8d54218a75b94ab9947449e688869df00d 06-Aug-2013 Mark Brown <broonie@linaro.org> regulator: core: Move helpers for drivers out into a separate file

Reduce the size of core.c a bit.

Signed-off-by: Mark Brown <broonie@linaro.org>