]> 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)
commitb52df1219a809528437d6f8afbb2079220366047
tree5301b3741f32dd96796187ad566c06aea745e1f6
parentf352b98711597d184234d7b38fe319c523c23bcd
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]