mfd: Export ISEL values from WM831x core
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Jul 2009 13:45:57 +0000 (14:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:00 +0000 (09:47 +0200)
commit698659d5f78606c698781574773f433c60176e40
tree11a8355b3e3a2aa6b912cd4b7966c5fa49b9c91c
parent6704e5171ba9053ba173bcd807c7392d2076bdb4
mfd: Export ISEL values from WM831x core

The current settings which can be used with the WM831x current sinks
can't easily be mapped between register values and currents at run
time without a lookup table since the values scale logarithmically
to match the way the human eye interprets brightness. This lookup
table is inclided in the core since several drivers need to use it.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c
include/linux/mfd/wm831x/regulator.h [new file with mode: 0644]