lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 7 Jun 2011 17:18:05 +0300
From:	Peter Ujfalusi <peter.ujfalusi@...com>
To:	Liam Girdwood <lrg@...com>, Tony Lindgren <tony@...mide.com>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	Samuel Ortiz <sameo@...ux.intel.com>,
	Dmitry Torokhov <dmitry.torokhov@...il.com>
CC:	linux-input@...r.kernel.org, linux-omap@...r.kernel.org,
	linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
	Peter Ujfalusi <peter.ujfalusi@...com>
Subject: [PATCH v2 00/12] MFD/ASoC/Input: TWL4030/TWL60X0 changes

Hello,

The second version gowned a bit since v1...

Changes since v1:
- Common pmic related configuration moved out from board files
- Rest of the series has been rebased on top of this change

Not changed since v1:
- TWL6040 MFD driver has not been converted to i2c driver
I have looked at this, and while it can be done, I feel that the changes needed
in twl-core will be not accepted, since IMHO the twl-core need to be cleaned
first. The solution, which can be done with the current code might look a bit
hackish.

Updated intro message from the v1 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 pmic-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.

The series has been tested on top of merged omap-next, asoc-next, and mfd-next.
It applies on top of linux-next as well.

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 pmic-common for common TWL configuration
  OMAP4: Move common twl6030 configuration to pmic-common
  OMAP3: Move common pmic configuration to pmic-common
  OMAP3: Move common regulator configuration to pmic-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/pmic-common.c            |  304 +++++++++++++
 arch/arm/mach-omap2/pmic-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                  |  278 ++++++++++++
 drivers/mfd/twl4030-codec.c                  |  277 ------------
 drivers/mfd/twl6040-core.c                   |  588 ++++++++++++++++++++++++++
 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                  |  260 ++++++++++++
 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, 2716 insertions(+), 2011 deletions(-)
 create mode 100644 arch/arm/mach-omap2/pmic-common.c
 create mode 100644 arch/arm/mach-omap2/pmic-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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ