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)
commit01ed260f22c429337272bf9d25d393a4efd37d51
tree5301b3741f32dd96796187ad566c06aea745e1f6
parent4de45284d3927b5068de6ed972b11627a3428427
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]