[PATCHv2 0/4] Regulator: OMAP: Removing common code for TWL4030 from OMAP3- board-evms

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

 



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

--
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