MFD: twl4030: add twl4030_codec MFD as a new child to the core
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 22 Oct 2009 10:26:45 +0000 (13:26 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 25 Oct 2009 17:15:08 +0000 (17:15 +0000)
commit0b83ddebc6e884dc0221358cf68c461520fbdd8e
tree7c57a54fe8b0f02448597df3f7f81ea87a8b96b2
parent0ffc11800cb2a74b05c2f5b28966ebd50b27f70c
MFD: twl4030: add twl4030_codec MFD as a new child to the core

New MFD child to twl4030 MFD device.

Reason for the twl4030_codec MFD: the vibra control is actually in the codec
part of the twl4030. If both the vibra and the audio functionality is needed
from the twl4030 at the same time, than they need to control the codec power
and APLL at the same time without breaking the other driver.
Also these two has to be able to work without the need for the other driver.

This MFD device will be used by the drivers, which needs resources
from the twl4030 codec like audio and vibra.

The platform specific configuration data is passed along to the
child drivers (audio, vibra).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/twl4030-codec.c [new file with mode: 0644]
drivers/mfd/twl4030-core.c
include/linux/i2c/twl4030.h
include/linux/mfd/twl4030-codec.h [new file with mode: 0644]