android_kernel_google_msm/drivers/regulator
David Collins c63a1a6aa7 regulator: qpnp-regulator: Add support for rev 1 N1200 and N600 LDOs
The mapping between voltage control register set point values and
physical output voltage changes for range 1 of N1200 and N600
LDOs between PM8941 v1 and PM8941 v2.  LDOs with the previous
mapping have digital major revision equal to 0.  LDOs with the
new mapping have digital major revision equal to 1.  Modify the
qpnp-regulator driver so that the digital major revision register
value is taken into account when deciding which voltage mapping
to utilize.  N1200 and N600 regulators have identical
(range, voltage set point) --> output voltage mapping.

N1200 LDO range 1 hardware set points (rev=0):
375 mV to 768.75 mV with 6.25 mV step size

N1200 LDO range 1 hardware set points (rev=1):
375 mV to 1537.5 mV with 12.5 mV step size

Configure qpnp-regulator to use only range 0 for N1200 rev 1.
Range 0 is used because there is no benefit to using ranges 1 or
2 given that they have the same maximum voltage and step size
and their minimum voltage is greater than or equal to that of
range 0.

Change-Id: Icac6a1d8fccc014a754843d61c1fa40f550f9c77
Signed-off-by: David Collins <collinsd@codeaurora.org>
(cherry picked from commit bad606a7739aae9f79d45a394b39d6d321ee793e)
2013-03-07 15:19:44 -08:00
..
88pm8607.c
aat2870-regulator.c
ab3100.c
ab8500.c
ad5398.c
anatop-regulator.c regulator: Fix a build warning in the anatop driver for 3.4 2012-04-10 10:26:41 -07:00
core.c regulator: Fix recursive mutex lockdep warning 2013-02-27 18:15:33 -08:00
da903x.c
da9052-regulator.c
db8500-prcmu.c
dbx500-prcmu.c
dbx500-prcmu.h
dummy.c
dummy.h
fixed-helper.c regulator: Remove non-existent parameter from fixed-helper.c kernel doc 2012-03-31 19:41:20 +01:00
fixed.c
gpio-regulator.c
isl6271a-regulator.c
Kconfig spmi: Rename qpnp library to be part of the spmi framework 2013-02-27 18:13:11 -08:00
lp3971.c
lp3972.c
Makefile regulator: Add qpnp-regulator driver 2013-02-25 11:33:44 -08:00
max1586.c
max8649.c
max8660.c
max8925-regulator.c
max8952.c
max8997.c regulator: Fix the logic to ensure new voltage setting in valid range 2012-04-17 15:17:11 +01:00
max8998.c
mc13xxx-regulator-core.c
mc13xxx.h
mc13783-regulator.c
mc13892-regulator.c
msm-gpio-regulator.c regulator: msm-gpio-regulator: Correct gpio_request error handling 2013-02-27 18:10:42 -08:00
of_regulator.c regulator: Extend of_get_regulator_init_data to support non-DT consumers 2013-02-25 11:33:46 -08:00
pcap-regulator.c
pcf50633-regulator.c
pm8xxx-regulator.c regulator: pm8xxx-regulator: add PM8XXX regulator driver 2013-02-25 11:33:41 -08:00
pm8058-xo.c regulator: add pm8058 xo buffer driver 2013-02-25 11:33:43 -08:00
pmic8058-regulator.c regulator: pmic8058-regulator: add support for PMIC8058 regulator 2013-02-25 11:33:39 -08:00
pmic8901-regulator.c regulator: pmic8901-regulator: Add support for PMIC8901 regulator 2013-02-25 11:33:40 -08:00
qpnp-regulator.c regulator: qpnp-regulator: Add support for rev 1 N1200 and N600 LDOs 2013-03-07 15:19:44 -08:00
s5m8767.c regulator: Fix setting new voltage in s5m8767_set_voltage 2012-03-31 11:26:19 +01:00
stub-regulator.c regulator: Add stub regulator support 2013-02-25 11:33:44 -08:00
tps6105x-regulator.c
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c
tps62360-regulator.c
tps65023-regulator.c
tps65217-regulator.c
tps65910-regulator.c
tps65912-regulator.c
twl-regulator.c
userspace-consumer.c
virtual.c
wm831x-dcdc.c regulator: wm831x-dcdc: Fix the logic to choose best current limit setting 2012-03-28 12:44:07 +01:00
wm831x-isink.c regulator: wm831x-isink: Fix the logic to choose best current limit setting 2012-03-28 12:44:07 +01:00
wm831x-ldo.c regulator: Fix setting low power mode for wm831x aldo 2012-03-29 12:06:24 +01:00
wm8350-regulator.c regulator: Only update [LDOx|DCx]_HIB_MODE bits in wm8350_[ldo|dcdc]_set_suspend_disable 2012-03-29 12:06:24 +01:00
wm8400-regulator.c
wm8994-regulator.c