diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-22 10:22:49 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-22 12:34:42 (GMT) |
commit | 0ea34b578647e60ad4e06c9ba29829dc07c5264a (patch) | |
tree | a454a1ef105ca99b009cdf74d9a88ccb291662d9 /drivers/regulator/tps51632-regulator.c | |
parent | e31089c608ae8fa323c5f9c3a2fa208d25e052a6 (diff) | |
download | linux-fsl-qoriq-0ea34b578647e60ad4e06c9ba29829dc07c5264a.tar.xz |
regulator: palmas: Fix off-by-one for ramp_delay and register value mapping
Datasheet says:
Time Step (TSTEP) selection, when changing the output voltage, the new value is
reached through successive voltage steps (if not bypassed). The equivalent
programmable slew rate of the output voltage is:
TSTEP[1:0]: 00 Jump (no slope control)
TSTEP[1:0]: 01 10mV/us
TSTEP[1:0]: 10 5mV/us (default)
TSTEP[1:0]: 11 2.5mV/us
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps51632-regulator.c')
0 files changed, 0 insertions, 0 deletions