[PATCH v3 00/12] MFD/ASoC/Input: TWL4030/TWL60X0 changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Changes since v2:
 - TWL_COMMON_PDATA_AUDIO is used from the beginning, reducing changes later
 - twl6040 thermal shutdown handling added
 - pmic-common.c/h renamed as twl-common.c/h. This will allows new twl related
   features to be added, not directly related to pmic.
 - Rebased on top of linux-3.0-rc2 (l-o next, asoc next, mfd next)

Updated intro message from the v2 series:
The series will do four major things, and they are in one series, because they
pretty much depending on each other, so it is easier to handle them together.

0. Move the common pmic related configurations out from the board files.
New twl-common.c/h file has been created for this purpose.
OMAP3 board files received two patches (pdata, and regualtor changes), OMAP4
board files has been changed with one patch.

1. Rename the twl4030-codec MFD driver to twl4030-audio
Since the ASoC multicomponent introduction (2.6.37) the twl4030-codec MFD dirver
had been using twl4030-audio to register (twl4030-codec is the ASoC codec
driver). The documentation refers to this part of twl as audio block, so it is
better to rename the driver as well to avoid confusion.

2. Introduction of MFD driver for twl6040.
The TWL6040 audio IC has codec and vibra functionality.
Convert the existing ASoC codec driver to use the new MFD driver's interface.

3. Vibrator driver for TWL6040 (Input/ForceFeedback driver)
The driver itself, and support for the vibrators in SDP4430 board.

Regards,
Peter

---
Misael Lopez Cruz (3):
  mfd: twl6040: Add initial support
  ASoC: twl6040: Convert into TWL6040 MFD child
  input: Add initial support for TWL6040 vibrator

Peter Ujfalusi (9):
  OMAP: New twl-common for common TWL configuration
  OMAP4: Move common twl6030 configuration to twl-common
  OMAP3: Move common twl configuration to twl-common
  OMAP3: Move common regulator configuration to twl-common
  MFD: twl4030-codec: Rename internals from codec to audio
  MFD: twl4030-codec -> twl4030-audio: Rename the driver
  MFD: twl4030-audio: Rename platform data
  MFD: twl6040: Change platform data for soc codec driver
  OMAP4: SDP4430: Add twl6040 vibrator platform support

 arch/arm/mach-omap2/Makefile                 |    2 +-
 arch/arm/mach-omap2/board-3430sdp.c          |   89 +----
 arch/arm/mach-omap2/board-4430sdp.c          |  183 +++------
 arch/arm/mach-omap2/board-cm-t35.c           |   48 +--
 arch/arm/mach-omap2/board-devkit8000.c       |   37 +--
 arch/arm/mach-omap2/board-igep0020.c         |   44 +--
 arch/arm/mach-omap2/board-ldp.c              |   15 +-
 arch/arm/mach-omap2/board-omap3beagle.c      |   60 +---
 arch/arm/mach-omap2/board-omap3evm.c         |   67 +---
 arch/arm/mach-omap2/board-omap3pandora.c     |   59 +---
 arch/arm/mach-omap2/board-omap3stalker.c     |   70 +---
 arch/arm/mach-omap2/board-omap3touchbook.c   |   57 +--
 arch/arm/mach-omap2/board-omap4panda.c       |  149 +------
 arch/arm/mach-omap2/board-overo.c            |   59 +---
 arch/arm/mach-omap2/board-rm680.c            |    8 +-
 arch/arm/mach-omap2/board-rx51-peripherals.c |   44 +--
 arch/arm/mach-omap2/board-zoom-peripherals.c |   88 +----
 arch/arm/mach-omap2/common-board-devices.c   |   21 -
 arch/arm/mach-omap2/common-board-devices.h   |   26 +-
 arch/arm/mach-omap2/twl-common.c             |  304 +++++++++++++
 arch/arm/mach-omap2/twl-common.h             |   59 +++
 arch/arm/plat-omap/include/plat/irqs.h       |   12 +-
 drivers/input/misc/Kconfig                   |   13 +-
 drivers/input/misc/Makefile                  |    1 +
 drivers/input/misc/twl4030-vibra.c           |   12 +-
 drivers/input/misc/twl6040-vibra.c           |  428 ++++++++++++++++++
 drivers/mfd/Kconfig                          |    8 +-
 drivers/mfd/Makefile                         |    3 +-
 drivers/mfd/twl-core.c                       |   13 +-
 drivers/mfd/twl4030-audio.c                  |  277 ++++++++++++
 drivers/mfd/twl4030-codec.c                  |  277 ------------
 drivers/mfd/twl6040-core.c                   |  601 ++++++++++++++++++++++++++
 drivers/mfd/twl6040-irq.c                    |  205 +++++++++
 include/linux/i2c/twl.h                      |   21 +-
 include/linux/mfd/twl4030-audio.h            |  272 ++++++++++++
 include/linux/mfd/twl4030-codec.h            |  272 ------------
 include/linux/mfd/twl6040.h                  |  261 +++++++++++
 sound/soc/codecs/Kconfig                     |    3 +-
 sound/soc/codecs/twl4030.c                   |   22 +-
 sound/soc/codecs/twl6040.c                   |  426 ++++---------------
 sound/soc/codecs/twl6040.h                   |  118 -----
 sound/soc/omap/sdp3430.c                     |    2 +-
 sound/soc/omap/sdp4430.c                     |    2 +
 sound/soc/omap/zoom2.c                       |    2 +-
 44 files changed, 2729 insertions(+), 2011 deletions(-)
 create mode 100644 arch/arm/mach-omap2/twl-common.c
 create mode 100644 arch/arm/mach-omap2/twl-common.h
 create mode 100644 drivers/input/misc/twl6040-vibra.c
 create mode 100644 drivers/mfd/twl4030-audio.c
 delete mode 100644 drivers/mfd/twl4030-codec.c
 create mode 100644 drivers/mfd/twl6040-core.c
 create mode 100644 drivers/mfd/twl6040-irq.c
 create mode 100644 include/linux/mfd/twl4030-audio.h
 delete mode 100644 include/linux/mfd/twl4030-codec.h
 create mode 100644 include/linux/mfd/twl6040.h

-- 
1.7.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux