From: Axel Lin Date: Mon, 22 Apr 2013 10:22:49 +0000 (+0800) Subject: regulator: palmas: Fix off-by-one for ramp_delay and register value mapping X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ea34b578647e60ad4e06c9ba29829dc07c5264a;p=pandora-kernel.git 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 Acked-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-diff-tree failed