]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: wm8350: correct the max_uV of LDO
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 19 Sep 2013 12:39:55 +0000 (18:09 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 19 Sep 2013 13:15:57 +0000 (14:15 +0100)
commitee732bc136b5b19a6943600796f4038e54d84ce5
treeff8528f221f33c92b7ea62f18161e35b9aeb5ee4
parent8d77f31568220a8293f2e30959e7772efe92c198
regulator: wm8350: correct the max_uV of LDO

As per datasheet, voltage range for LDOs are as follows:

0000 = 0.9V
...(50mV steps)
01111 = 1.65V
10000 = 1.8V
... (100mV stepns)
11111 = 3.3V

So, there is no  selector for 1.65V to 1.8V.
Correcting the range for max_uV for selector between 0 to 15.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/wm8350-regulator.c