[PATCH v9 0/9] OMAP3: PM: TWL4030 power scripts and workaround for TWL erratum 27

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

 



Patch series for TWL4030 power scripts and workaround for TWL erratum 27.

Changes for implementing TWL4030 power scripts recommended by hardware team.
Introduced a new TWL4030 power script file, which can be used by different
OMAP3 board with the power companion chip TWL4030.

Updated the changes for TWL4030 errata 27 & 28, and modified
the TWL4030 power script.
Workaround for TWL4030 erratum 27 is required for Si version less than or
equal to TWL5030 ES1.1.

TWL4030 script changes re-based on Kevin's PM tree in pm branch.

Changes in v7:
	changes to fix Nishanth Menon's comments
		i) Added the workaround for TWL4030 Erratum 27
  
	split the first patch in v6
		i)  fix for twl4030 script load
		ii) correct the warning print during script loading

	Added new patch files
		i) changing sys_off signal polarity

Changes in v8:
	updated the change logs
	moving the TWL IDCODE checking to twl-core.c

Changes in V9:
	changes to fix David Derrick's comments
		i) turn OFF the NRES_PWRON resource in warm reset sequence
		ii) optimize the i2c writes during resource configuration

Since the voltage layer is evolving to a new design, the voltage dependant
changes required for the TWL4030 script are not incorporated in the patch series.
So this TWL4030 script patch series can be tested with a separate patch for
voltage layer changes.

	link: http://pastebin.mozilla.org/1204011

This changes are tested on OMAP3430 & OMAP3630 SDP with off mode enabled in suspend path.
	Tested with suspend/resume script, which will test system suspend in a loop.
	Tested for more than 1000 iterations.
	Also tested the reboot with WRM_RST button & reboot command.

Cc: Nishanth Menon <nm@xxxxxx>
Cc: David Derrick <dderrick@xxxxxx>
Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
---
Lesly A M (9):
  OMAP3: PM: Fix for the TWL4030 sleep/wakeup sequence
  OMAP3: PM: Correct the warning print during script loading
  OMAP3: PM: Modifying the macro name Main_Ref to all caps
  OMAP3: PM: TWL4030 power scripts for OMAP3 boards
  OMAP3: PM: TWL5030 version checking
  MFD: TWL4030: workaround changes for TWL4030 Erratum 27
  OMAP3430: Updating the board file to use TWL4030 scripts
  OMAP3630: Updating the board file to use TWL4030 scripts
  OMAP3: PM: TWL4030 optimizing resource configuration

 arch/arm/mach-omap2/Makefile                 |    1 +
 arch/arm/mach-omap2/board-3430sdp.c          |    2 +
 arch/arm/mach-omap2/board-rx51-peripherals.c |    2 +-
 arch/arm/mach-omap2/board-zoom-peripherals.c |    2 +
 arch/arm/mach-omap2/twl4030-script.c         |  481 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/twl4030-script.h         |   23 ++
 drivers/mfd/twl-core.c                       |   62 ++++
 drivers/mfd/twl4030-power.c                  |  211 ++++++++---
 include/linux/i2c/twl.h                      |   53 +++-
 9 files changed, 774 insertions(+), 63 deletions(-)
 create mode 100644 arch/arm/mach-omap2/twl4030-script.c
 create mode 100644 arch/arm/mach-omap2/twl4030-script.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