diff options
author | Axel Lin <[email protected]> | 2013-04-22 18:22:49 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-04-22 13:34:42 +0100 |
commit | 0ea34b578647e60ad4e06c9ba29829dc07c5264a (patch) | |
tree | a454a1ef105ca99b009cdf74d9a88ccb291662d9 /lib/mpi/mpi-internal.h | |
parent | e31089c608ae8fa323c5f9c3a2fa208d25e052a6 (diff) |
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 <[email protected]>
Acked-by: Laxman Dewangan <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions