Revision 780dc9ba4eb682a89be48d5b814feae6722a19e0 authored by Afzal Mohammed on 08 November 2011, 13:24:10 UTC, committed by Mark Brown on 23 November 2011, 14:03:52 UTC
Count of selector voltage is required for regulator_set_voltage
to work via set_voltage_sel. VDD1/2 currently have it as zero,
so regulator_set_voltage won't work for VDD1/2.
Update count (n_voltages) for VDD1/2.

Output Voltage = (step value * 12.5 mV + 562.5 mV) * gain

With above expr, number of voltages that can be selected is
step value count * gain count

constant for gain count will be called VDD1_2_NUM_VOLT_COARSE

existing constant for step value count is VDD1_2_NUM_VOLTS,
use VDD1_2_NUM_VOLT_FINE instead to make clear that step value
is not the only component in deciding selectable voltage count

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent cfcfc9e
History
File Mode Size
00-INDEX -rw-r--r-- 2.3 KB
arkfb.txt -rw-r--r-- 2.0 KB
aty128fb.txt -rw-r--r-- 2.1 KB
cirrusfb.txt -rw-r--r-- 1.9 KB
cmap_xfbdev.txt -rw-r--r-- 1.9 KB
deferred_io.txt -rw-r--r-- 3.0 KB
efifb.txt -rw-r--r-- 593 bytes
ep93xx-fb.txt -rw-r--r-- 4.2 KB
fbcon.txt -rw-r--r-- 11.5 KB
framebuffer.txt -rw-r--r-- 14.0 KB
gxfb.txt -rw-r--r-- 1.2 KB
intel810.txt -rw-r--r-- 8.3 KB
intelfb.txt -rw-r--r-- 3.6 KB
internals.txt -rw-r--r-- 2.6 KB
lxfb.txt -rw-r--r-- 1.2 KB
matroxfb.txt -rw-r--r-- 19.1 KB
metronomefb.txt -rw-r--r-- 2.0 KB
modedb.txt -rw-r--r-- 6.7 KB
pvr2fb.txt -rw-r--r-- 2.2 KB
pxafb.txt -rw-r--r-- 4.6 KB
s3fb.txt -rw-r--r-- 2.5 KB
sa1100fb.txt -rw-r--r-- 1.3 KB
sh7760fb.txt -rw-r--r-- 4.4 KB
sisfb.txt -rw-r--r-- 6.3 KB
sm501.txt -rw-r--r-- 291 bytes
sstfb.txt -rw-r--r-- 6.7 KB
tgafb.txt -rw-r--r-- 2.4 KB
tridentfb.txt -rw-r--r-- 2.6 KB
udlfb.txt -rw-r--r-- 7.0 KB
uvesafb.txt -rw-r--r-- 6.9 KB
vesafb.txt -rw-r--r-- 6.1 KB
viafb.modes -rw-r--r-- 30.8 KB
viafb.txt -rw-r--r-- 9.6 KB
vt8623fb.txt -rw-r--r-- 1.8 KB

back to top