[alsa-devel] [PATCH v4 0/2] MFD: twl6040: Conversion to i2c driver

Peter Ujfalusi peter.ujfalusi at ti.com
Tue Feb 28 09:34:50 CET 2012


Changes since v3:
- Combined the main patch (conversion to i2c driver) with changes in Kconfig
  files to avoid build breakage on other platforms
- Added the received Acks from maintainers

Samuel: is it possible for you to stop carrying the twl6040 changes you have at
the moment in your for-next branch (can you drop the patches)?
This series will make sure I will not brake x86_64 allmodconfig build.

As we agreed this series will go via the audio tree (Liam) since it has
dependency on earlier work of mine going through ASoC tree.

Thank you.

Intro mail from the original series:

This series will convert the twl6040 MFD driver to an i2c driver.
Compared to older twl4030/5030/TPS the twl6040 is a standalone audio IC. It is
better if the twl6040-core (and all of it's child devices) does not depend on
the twl-core since it has nothing to with it.

With this conversion the dependency on twl can be dropped from the twl6040
driver stack (core, vibra, audio).

Between the first and second patch the audio will not probe on OMAP4, but I felt
it is better this way at least for the first RFC series to not have too big
change within one patch. The two patch can be squashed together later if no

Peter Ujfalusi (2):
  MFD: twl-core: Detach twl6040 from the pmic mfd driver
  MFD: twl6040: Convert to i2c driver, and separate it from twl core

 arch/arm/mach-omap2/board-4430sdp.c    |   12 ++--
 arch/arm/mach-omap2/board-generic.c    |    2 +-
 arch/arm/mach-omap2/board-omap4panda.c |   13 ++--
 arch/arm/mach-omap2/twl-common.c       |   37 +++++++++--
 arch/arm/mach-omap2/twl-common.h       |   10 +--
 drivers/input/misc/Kconfig             |    3 +-
 drivers/input/misc/twl6040-vibra.c     |    4 +-
 drivers/mfd/Kconfig                    |   11 +++-
 drivers/mfd/twl-core.c                 |   58 +++++++++-------
 drivers/mfd/twl6040-core.c             |  114 +++++++++++++++++++-------------
 include/linux/i2c/twl.h                |   12 ----
 include/linux/mfd/twl6040.h            |   27 ++++++++
 sound/soc/codecs/Kconfig               |    3 +-
 sound/soc/codecs/twl6040.c             |    3 +-
 sound/soc/omap/Kconfig                 |    2 +-
 15 files changed, 192 insertions(+), 119 deletions(-)


More information about the Alsa-devel mailing list