Skip to contentSkip to conversation

omap3: pm: Update TRITON power scripts and making it generic

PATCH New Lesly A M 1 participant 1 message Jul 1, 2010

lore
Share & tools
lore

Lesly A M

author
#0 lore raw

v7 cover omap3: pm: Update TRITON power scripts and making it generic

T2 script changes rebased on top of Thara's SmartReflex patches.

This series of patch implements a updated TRITON power scripts.
Also moving the sleep, wakeup & warm_reset sequence to a generic script file, which can be used by different OMAP3 board with the power companion chip TWL4030.

This patch series is based off Kevin's tree remotes/origin/pm-wip-sr branch, which have the SmartReflex changes done by Thara Gopinath.

Changes in v7:
split the first patch in v6
i) fix for twl4030 script load
ii) correct the warning print during script loading

Updated the change logs

This changes are tested on OMAP3430, OMAP3630 SDP & ZOOM3 board with:
enable_off_mode
voltage_off_while_idle
sleep_while_idle (VDD1/VDD2 voltage scaling to 0v) enabled in cpuidle and suspned path.

Lesly A M (8):
omap3: pm: fix for twl4030 script load
omap3: pm: correct the warning print during script loading
omap3: pm: Using separate clk/volt setup_time for RET and OFF states
omap3: pm: re-programing the setup time based on CORE_DOMAIN target
state
omap3: pm: changing vdd0_/vdd1_ to vdd1_/vdd2_ in VC param structure
omap3: pm: Generic TRITON power scripts for OMAP3 based boards
omap3: pm: Use generic TRITON power scripts for 3430SDP board
omap3: pm: Use generic TRITON power scripts for ZOOM[2,3], 3630SDP
board

 arch/arm/mach-omap2/Makefile                 |   12 +-
 arch/arm/mach-omap2/board-3430sdp.c          |  111 +---------------
 arch/arm/mach-omap2/board-zoom-peripherals.c |    6 +
 arch/arm/mach-omap2/pm.h                     |   18 ---
 arch/arm/mach-omap2/pm34xx.c                 |   26 +---
 arch/arm/mach-omap2/twl4030.c                |  185 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/twl4030.h                |   23 +++
 arch/arm/mach-omap2/voltage.c                |  156 +++++++++++++++++-----
 arch/arm/mach-omap2/voltage.h                |   26 ++++
 drivers/mfd/twl4030-power.c                  |    5 +-
 include/linux/i2c/twl.h                      |    4 +
 11 files changed, 380 insertions(+), 192 deletions(-)
 create mode 100644 arch/arm/mach-omap2/twl4030.c
 create mode 100644 arch/arm/mach-omap2/twl4030.h