public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/4] Regulator: OMAP: Removing common code for TWL4030 from OMAP3- board-evms
@ 2010-01-12  9:13 Anuj Aggarwal
  2010-01-13 16:55 ` Aggarwal, Anuj
  2010-01-15 11:12 ` Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Anuj Aggarwal @ 2010-01-12  9:13 UTC (permalink / raw)
  To: linux-omap; +Cc: broonie, lrg, Anuj Aggarwal

Sending version 2 of this patch set after taking all those comments. First
series can be found at:
  http://marc.info/?l=linux-omap&m=126297346131188&w=2

This patch set is created to clean up various OMAP3-board-evm files
and remove common TWL4030 specific regulator suplies and init data
structs. These structures are instead placed in a new generic file -
twl4030-pmic.c - and are referenced from the OMAP3 board-evm
files depending on the platform requirements. Regulator having specific
supplies or init data structs are not changed in their respective
board-evms.

The main advantages of having one common file for these structures
are redundant code removal, easy maintainability and single copy of 
common structure(s) in case uImage for multiple platforms is built.

Anuj Aggarwal (4):
  Regulator: OMAP: Creating TWL4030 file having supplies & init data
  Regulator: OMAP:Modifying Kconfig/Makefile to choose from available
    PMICs
  Regulator: OMAP: Kconfig modified to select TWL4030 for
    OMAP3-platforms
  Regulator: OMAP: Use common regulator supplies and init data structs

 arch/arm/mach-omap2/Kconfig                  |   20 +++
 arch/arm/mach-omap2/Makefile                 |    1 +
 arch/arm/mach-omap2/board-3430sdp.c          |  135 ++------------------
 arch/arm/mach-omap2/board-cm-t35.c           |   47 +------
 arch/arm/mach-omap2/board-igep0020.c         |   24 +---
 arch/arm/mach-omap2/board-ldp.c              |   24 +---
 arch/arm/mach-omap2/board-omap3beagle.c      |   47 +------
 arch/arm/mach-omap2/board-omap3evm.c         |   47 +------
 arch/arm/mach-omap2/board-omap3touchbook.c   |   47 +------
 arch/arm/mach-omap2/board-overo.c            |   23 +---
 arch/arm/mach-omap2/board-zoom-peripherals.c |   71 +----------
 arch/arm/mach-omap2/twl4030-pmic.c           |  175 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/twl4030-pmic.h           |   34 +++++
 13 files changed, 277 insertions(+), 418 deletions(-)
 mode change 100755 => 100644 arch/arm/mach-omap2/board-zoom-peripherals.c
 create mode 100644 arch/arm/mach-omap2/twl4030-pmic.c
 create mode 100644 arch/arm/mach-omap2/twl4030-pmic.h


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-29 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12  9:13 [PATCHv2 0/4] Regulator: OMAP: Removing common code for TWL4030 from OMAP3- board-evms Anuj Aggarwal
2010-01-13 16:55 ` Aggarwal, Anuj
2010-01-14 19:47   ` Liam Girdwood
2010-01-15 11:12 ` Mark Brown
2010-01-29 13:07   ` Aggarwal, Anuj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox