mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
c63a1a6aa7
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) |
||
---|---|---|
.. | ||
88pm8607.c | ||
aat2870-regulator.c | ||
ab3100.c | ||
ab8500.c | ||
ad5398.c | ||
anatop-regulator.c | ||
core.c | ||
da903x.c | ||
da9052-regulator.c | ||
db8500-prcmu.c | ||
dbx500-prcmu.c | ||
dbx500-prcmu.h | ||
dummy.c | ||
dummy.h | ||
fixed-helper.c | ||
fixed.c | ||
gpio-regulator.c | ||
isl6271a-regulator.c | ||
Kconfig | ||
lp3971.c | ||
lp3972.c | ||
Makefile | ||
max1586.c | ||
max8649.c | ||
max8660.c | ||
max8925-regulator.c | ||
max8952.c | ||
max8997.c | ||
max8998.c | ||
mc13xxx-regulator-core.c | ||
mc13xxx.h | ||
mc13783-regulator.c | ||
mc13892-regulator.c | ||
msm-gpio-regulator.c | ||
of_regulator.c | ||
pcap-regulator.c | ||
pcf50633-regulator.c | ||
pm8xxx-regulator.c | ||
pm8058-xo.c | ||
pmic8058-regulator.c | ||
pmic8901-regulator.c | ||
qpnp-regulator.c | ||
s5m8767.c | ||
stub-regulator.c | ||
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 | ||
wm831x-isink.c | ||
wm831x-ldo.c | ||
wm8350-regulator.c | ||
wm8400-regulator.c | ||
wm8994-regulator.c |