omap3: pm: Update TRITON power scripts and making it generic
v5 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 origin/pm-wip-opp branch, and also depends on the SmartReflex changes(v3) done by Thara Gopinath.
Changes to fix Kevins comments.
This changes are tested on OMAP3430 SDP 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 (5):
omap3: pm: fix for twl4030 script load
omap3: pm: Using separate clk/volt setup_time for RET and OFF states
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 | 129 +++++----------------- arch/arm/mach-omap2/board-3630sdp.c | 4 +- arch/arm/mach-omap2/board-zoom-peripherals.c | 36 ++++++ arch/arm/mach-omap2/board-zoom2.c | 4 +- arch/arm/mach-omap2/board-zoom3.c | 4 +- arch/arm/mach-omap2/pm.h | 18 --- arch/arm/mach-omap2/pm34xx.c | 26 +---- arch/arm/mach-omap2/twl4030.c | 154 +++++++++++++++++++++++++ arch/arm/mach-omap2/twl4030.h | 15 +++ arch/arm/mach-omap2/voltage.c | 156 ++++++++++++++++++++------ arch/arm/mach-omap2/voltage.h | 31 +++++ drivers/mfd/twl4030-power.c | 6 - include/linux/i2c/twl.h | 4 + 14 files changed, 407 insertions(+), 192 deletions(-) create mode 100644 arch/arm/mach-omap2/twl4030.c create mode 100644 arch/arm/mach-omap2/twl4030.h