diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-03-07 16:39:05 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-07 19:28:37 +0000 |
commit | c4632aed3e5b134c55b54af19db49662959384c1 (patch) | |
tree | ccf9f4aee9a57f52536aab2db929494c32d63b5a /drivers/md/dm-raid.c | |
parent | 4adf9beda58364497889c06c1badf129a71d48be (diff) | |
download | linux-stable-c4632aed3e5b134c55b54af19db49662959384c1.tar.gz linux-stable-c4632aed3e5b134c55b54af19db49662959384c1.tar.bz2 linux-stable-c4632aed3e5b134c55b54af19db49662959384c1.zip |
regulator: tps65910: Configure correct value for VDDCTRL vout reg
As per datasheet, the voltage output is defined as
from SEL[6:0] = 3 to 64 (dec)
Vout= (SEL[6:0] × 12.5 mV + 562.5 mV)
The list_voltage returns the vout as
600mV + selector * 12.5mV
and so equivalent VSEL is selector + 3.
Adding 3 on selector when configuring VSEL register for
VDDCTRL output.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions