]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Add wm8994 register access and default information
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 19 Aug 2011 09:37:58 +0000 (18:37 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 12 Dec 2011 16:10:15 +0000 (00:10 +0800)
commita06a775471bc180815bbc79b8b88547804d25ec7
tree5301b3741f32dd96796187ad566c06aea745e1f6
parente9192a799469c7d01819d82440da880d488b345e
mfd: Add wm8994 register access and default information

Describe the register map to the regmap core so that we can use its
diagnostic features and cache support.  This is split out from the patch
using it due to the size so that the actual code change is a bit clearer.

As the various devices are supersets of each other the access maps are
built up by layering the functions on top of each other, though the
interface for specifying the register defaults isn't currently amenable
to this.

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