[PATCH v10 0/7] MFD: TWL4030: power script and workaround for erratum 27

2011-05-06 Thread Lesly A M
: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- Lesly A M (7): MFD: TWL4030: Fix for the TWL4030 sleep/wakeup sequence MFD: TWL4030: Correct the warning print during script loading MFD: TWL4030: Modifying the macro name Main_Ref to all caps MFD: TWL4030: power

[PATCH v10 1/7] MFD: TWL4030: Fix for the TWL4030 sleep/wakeup sequence

2011-05-06 Thread Lesly A M
Only configure sleep script when the flag is TWL4030_SLEEP_SCRIPT. Adding the missing brackets for fixing the issue. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c

[PATCH v10 2/7] MFD: TWL4030: Correct the warning print during script loading

2011-05-06 Thread Lesly A M
if wakeup script is not updated before updating the sleep script) Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH v10 3/7] MFD: TWL4030: Modifying the macro name Main_Ref to all caps

2011-05-06 Thread Lesly A M
Modifying the macro name Main_Ref to all caps(MAIN_REF). Suggested by Nishanth Menon n...@ti.com Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/board-rx51-peripherals.c

[PATCH v10 4/7] MFD: TWL4030: power scripts for OMAP3 boards

2011-05-06 Thread Lesly A M
. Since the TWL4030 power script has dependency with APIs in twl4030-power.c removing the __init for these APIs. For more information please see: http://omapedia.org/wiki/TWL4030_power_scripts Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr

[PATCH v10 7/7] MFD: TWL4030: optimizing resource configuration

2011-05-06 Thread Lesly A M
Skip the i2c register writes in twl4030_configure_resource() if the new value is same as the old value, for devgrp/type/remap regs. Suggested by David Derrick dderr...@ti.com Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz

[PATCH v10 6/7] MFD: TWL4030: workaround changes for Erratum 27

2011-05-06 Thread Lesly A M
-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c | 79 +++ drivers/mfd/twl4030-script-omap.c | 150 + include/linux/i2c/twl.h

[PATCH v10 5/7] MFD: TWL4030: TWL version checking

2011-05-06 Thread Lesly A M
Added API to get the TWL5030 Si version from the IDCODE register. It is used for enabling the workaround for TWL erratum 27. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl-core.c

[PATCH v9 1/9] OMAP3: PM: Fix for the TWL4030 sleep/wakeup sequence

2011-04-14 Thread Lesly A M
Only configure sleep script when the flag is TWL4030_SLEEP_SCRIPT. Adding the missing brackets for fixing the issue. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c

[PATCH v9 2/9] OMAP3: PM: Correct the warning print during script loading

2011-04-14 Thread Lesly A M
if wakeup script is not updated before updating the sleep script) Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1

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

2011-04-14 Thread Lesly A M
reboot command. Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- 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

[PATCH v9 7/9] OMAP3430: Updating the board file to use TWL4030 scripts

2011-04-14 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile|1

[PATCH v9 8/9] OMAP3630: Updating the board file to use TWL4030 scripts

2011-04-14 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/board-zoom-peripherals.c

[PATCH v9 5/9] OMAP3: PM: TWL5030 version checking

2011-04-14 Thread Lesly A M
Added API to get the TWL5030 Si version from the IDCODE register. It is used for enabling the workaround for TWL erratum 27. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl-core.c

[PATCH v9 9/9] OMAP3: PM: TWL4030 optimizing resource configuration

2011-04-14 Thread Lesly A M
Skip the i2c register writes in twl4030_configure_resource() if the new value is same as the old value, for devgrp/type/remap regs. Suggested by David Derrick dderr...@ti.com Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz

[PATCH v9 6/9] MFD: TWL4030: workaround changes for TWL4030 Erratum 27

2011-04-14 Thread Lesly A M
is required for TWL5030 Silicon version less than ES1.2 The power script setup time changes are recommended by TI HW team. http://omapedia.org/wiki/TWL4030_power_scripts Changes taken from TWL4030 Erratum 27 workaround patch by Nishanth Menon. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth

[PATCH v9 4/9] OMAP3: PM: TWL4030 power scripts for OMAP3 boards

2011-04-14 Thread Lesly A M
. http://omapedia.org/wiki/TWL4030_power_scripts Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030-script.c | 331 ++ arch/arm/mach-omap2

[PATCH v9 3/9] OMAP3: PM: Modifying the macro name Main_Ref to all caps

2011-04-14 Thread Lesly A M
Modifying the macro name Main_Ref to all caps(MAIN_REF). Suggested by Nishanth Menon n...@ti.com Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/board-rx51-peripherals.c

[PATCH v8 2/7] omap3: pm: Correct the warning print during script loading

2011-03-02 Thread Lesly A M
if wakeup script is not updated before updating the sleep script) Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH v8 1/7] omap3: pm: Fix for the TRITON sleep/wakeup sequence

2011-03-02 Thread Lesly A M
Only configure sleep script when the flag is TWL4030_SLEEP_SCRIPT. Adding the missing brackets for fixing the issue. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c

[PATCH v8 0/8] omap3: pm: TWL4030 power scripts and workaround for TWL errata 27

2011-03-02 Thread Lesly A M
1000 iterations. Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- Lesly A M (7): omap3: pm: Fix for the TRITON sleep/wakeup sequence omap3: pm: Correct the warning print during script loading omap3: pm: TWL4030 power scripts for OMAP3

[PATCH v8 3/7] omap3: pm: TWL4030 power scripts for OMAP3 boards

2011-03-02 Thread Lesly A M
in twl4030_platform_data. http://omapedia.org/wiki/TWL4030_power_scripts Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030.c | 145

[PATCH v8 7/7] omap3630: Updating the board file to use TWL4030 scripts

2011-03-02 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile

[PATCH v8 6/7] omap3430: Updating the board file to use TWL4030 scripts

2011-03-02 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile|3

[PATCH v8 4/7] omap3: pm: TWL5030 version checking

2011-03-02 Thread Lesly A M
Added api to get the TWL5030 Si version from the IDCODE register. It is used for enabling the workaround for TWL errata 27. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl-core.c

[PATCH v8 5/7] mfd: TWL4030: changes for TRITON Errata 27 workaround

2011-03-02 Thread Lesly A M
is required for TWL5030 Silicon version less than ES1.2 The power script setup time changes are recommended by TI HW team. http://omapedia.org/wiki/TWL4030_power_scripts Changes taken from TRITON Errata27 workaround patch by Nishanth Menon. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n

[PATCH v7 0/8] omap3: pm: TWL4030 power scripts and workaround for TWL errata 27

2011-02-26 Thread Lesly A M
dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- Lesly A M (8): omap3: pm: Fix for the TRITON sleep/wakeup sequence omap3: pm: Correct the warning print during script loading omap3: pm: Correcting the sys_offmode signal polarity omap3: pm: TWL4030 power scripts for OMAP3 boards

[PATCH 1/8] omap3: pm: Fix for the TRITON sleep/wakeup sequence

2011-02-26 Thread Lesly A M
Since the function to populate the sleep script is getting called always irrespective of the flag TWL4030_SLEEP_SCRIPT, other scripts data is getting over written by the sleep script. Adding the missing brackets for if statement to fix the issue. Signed-off-by: Lesly A M lesl...@ti.com Cc

[PATCH 2/8] omap3: pm: Correct the warning print during script loading

2011-02-26 Thread Lesly A M
if wakeup script is not updated before updating the sleep script) Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 3/8] omap3: pm: Correcting the sys_offmode signal polarity

2011-02-26 Thread Lesly A M
there is transition form High to Low. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/pm34xx.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH 4/8] omap3: pm: TWL4030 power scripts for OMAP3 boards

2011-02-26 Thread Lesly A M
in twl4030_platform_data. http://omapedia.org/wiki/TWL4030_power_scripts Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030.c | 145

[PATCH 5/8] omap3: pm: TWL5030 version checking

2011-02-26 Thread Lesly A M
Added api to get the TWL5030 Si version from the IDCODE register. It is used for enabling the workaround for TWL errata 27. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl-core.c

[PATCH 6/8] mfd: TWL4030: changes for TRITON Errata 27 workaround

2011-02-26 Thread Lesly A M
is required for TWL5030 Silicon version less than ES1.2 The power script setup time changes are recommended by TI HW team. http://omapedia.org/wiki/TWL4030_power_scripts Changes taken from TRITON Errata27 workaround patch by Nishanth Menon. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n

[PATCH 7/8] omap3430: Updating the board file to use TWL4030 scripts

2011-02-26 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile|3

[PATCH 8/8] omap3630: Updating the board file to use TWL4030 scripts

2011-02-26 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile

[PATCH v7 00/12] omap3: pm: TWL4030 power scripts and workaround for TWL errata 27

2011-02-18 Thread Lesly A M
1000 iterations. Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- Lesly A M (12): omap3: pm: Fix for the TRITON sleep/wakeup sequence omap3: pm: Correct the warning print during script loading omap3: pm: cleanup pmic_info structure

[PATCH 01/12] omap3: pm: Fix for the TRITON sleep/wakeup sequence

2011-02-18 Thread Lesly A M
Since the function to populate the sleep script is getting called always irrespective of the flag TWL4030_SLEEP_SCRIPT, other scripts data is getting over written by the sleep script. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc

[PATCH 02/12] omap3: pm: Correct the warning print during script loading

2011-02-18 Thread Lesly A M
if wakeup script is not updated before updating the sleep script) Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 03/12] omap3: pm: cleanup pmic_info structure

2011-02-18 Thread Lesly A M
Removing the hard coded values, rearranging the elements based on OMAP, PMIC board specific. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/omap_twl.c| 99

[PATCH 04/12] omap3: pm: Using separate clk/volt setup_time for RET and OFF states

2011-02-18 Thread Lesly A M
Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/omap_twl.c| 147 - arch/arm/mach-omap2/voltage.c | 16 +++- arch/arm/plat

[PATCH 05/12] omap3630: pm: Adding voltage controller data

2011-02-18 Thread Lesly A M
Since voltage controller command values(ON/RET) for OMAP3630 Si is different. Using the new voltage values specified in the Operating Condition Addendum for OMAP3630. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH 06/12] omap3: pm: Correcting the sys_offmode signal polarity

2011-02-18 Thread Lesly A M
there is transition form High to Low. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/pm34xx.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH 08/12] omap3: pm: TWL4030 power scripts for OMAP3 boards

2011-02-18 Thread Lesly A M
in twl4030_platform_data. http://omapedia.org/wiki/TWL4030_power_scripts Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030.c | 146

[PATCH 10/12] mfd: TWL4030: changes for TRITON Errata 27 workaround

2011-02-18 Thread Lesly A M
. This workaround is required for TWL5030 Silicon version less than ES1.2 The power script setup time changes are recommended by TI HW team. http://omapedia.org/wiki/TWL4030_power_scripts Changes taken from TRITON Errata27 workaround patch by Nishanth Menon. Signed-off-by: Lesly A M lesl...@ti.com Cc

[PATCH 07/12] omap3: pm: Re-programing the setup time based on CORE target state

2011-02-18 Thread Lesly A M
. Also added a flag to optimize the sleep latency. This flag is checked before calling the vc_update, and is ignored if it is already configured for the same target state. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH 11/12] omap3430: Updating the board file to use TWL4030 scripts

2011-02-18 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile|3

[PATCH 12/12] omap3630: Updating the board file to use TWL4030 scripts

2011-02-18 Thread Lesly A M
Using TWL4030 power scripts to control the LDOs and DCDC regulators while going to low power mode. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile

RE: OMAP3 - PM - Question - Disabling CLKEN and HFCLKOUT signals from TWL4030 scripts

2011-01-23 Thread Lesly A M
) ? Regards, Lesly A M -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: OMAP3 - PM - Question - Disabling CLKEN and HFCLKOUT signals from TWL4030 scripts

2011-01-21 Thread Lesly A M
/OFF command in singular msg? Also check the HFCLKOUT_REMAP register for SLEEP_STATE[3:0], if using SLEEP cmd. Regards, Lesly A M Part number of TPS used in our board is TPS65950 BZXNR with regards, - Nagendra. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

[PATCH v7 0/8] omap3: pm: Update TRITON power scripts and making it generic

2010-07-01 Thread Lesly A M
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

[PATCH v7 1/8] omap3: pm: fix for twl4030 script load

2010-07-01 Thread Lesly A M
This patch will fix the TRITON sleep/wakeup sequence. Since the function to populate the sleep script is getting called always irrespective of the flag TWL4030_SLEEP_SCRIPT, other scripts data is getting over written by the sleep script. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon

[PATCH v7 2/8] omap3: pm: correct the warning print during script loading

2010-07-01 Thread Lesly A M
if wakeup script is not updated before updating the sleep script) Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH v7 3/8] omap3: pm: Using separate clk/volt setup_time for RET and OFF states

2010-07-01 Thread Lesly A M
. Updates the VC setuptime struct during init based on the OMAP Si. Removes the VC setuptime struct from board files. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/board

[PATCH v7 5/8] omap3: pm: changing vdd0_/vdd1_ to vdd1_/vdd2_ in VC param structure

2010-07-01 Thread Lesly A M
in PRM_VC_CMD_VAL_1 register. PRM_VC_CMD_VAL_n (n = 0/1 for VDD1/VDD2): ON_voltage[31:24], ONLP_voltage[23:16], RET_voltage[15:8], OFF_voltage[14:0] Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach

[PATCH v7 4/8] omap3: pm: re-programing the setup time based on CORE_DOMAIN target state

2010-07-01 Thread Lesly A M
-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/pm34xx.c | 26 +++--- arch/arm/mach-omap2/voltage.c | 40 arch/arm/mach

[PATCH v7 6/8] omap3: pm: Generic TRITON power scripts for OMAP3 based boards

2010-07-01 Thread Lesly A M
in the board file. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030.c | 185 + arch/arm/mach-omap2/twl4030.h | 23 + arch

[PATCH v7 7/8] omap3: pm: Use generic TRITON power scripts for 3430SDP board

2010-07-01 Thread Lesly A M
This patch has the changes to remove the sleep/wakeup/warm_rest sequence resource configuration from the 3430SDP board file and use the generic script. Updating the sleep/wakeup/warm_rest sequence resource configuration in the board file from generic script file. Signed-off-by: Lesly A M lesl

[PATCH v7 8/8] omap3: pm: Use generic TRITON power scripts for ZOOM[2,3], 3630SDP board

2010-07-01 Thread Lesly A M
Adding the power script data for zoom board to TWL4030 platform data. Updating the sleep/wakeup/warm_reset sequence resource configuration from generic script file. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH v6 0/7] omap3: pm: Update TRITON power scripts and making it generic

2010-05-18 Thread Lesly A M
sleep_while_idle (VDD1/VDD2 voltage scaling to 0v) enabled in cpuidle and suspned path. Lesly A M (7): omap3: pm: fix for twl4030 script load 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

[PATCH v6 1/7] omap3: pm: fix for twl4030 script load

2010-05-18 Thread Lesly A M
script. Because there is a chance that the Power chip may go to sleep before the wakeup script is completely loaded, which can cause a system hang. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com

[PATCH v6 2/7] omap3: pm: Using separate clk/volt setup_time for RET and OFF states

2010-05-18 Thread Lesly A M
This patch will have the changes to use separate clk/volt setup_time for RET and OFF state. Create separate copies of VC parameters for each Si in voltage.c. Updates the VC setuptime struct during init based on the OMAP Si. Removes the VC setuptime struct from board files. Signed-off-by: Lesly

[PATCH v6 3/7] omap3: pm: re-programing the setup time based on CORE_DOMAIN target state

2010-05-18 Thread Lesly A M
of PRM_VOLTCTRL register bits, because this will be used only when it goes to low power mode next time. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/pm34xx.c | 26

[PATCH v6 4/7] omap3: pm: changing vdd0_/vdd1_ to vdd1_/vdd2_ in VC param structure

2010-05-18 Thread Lesly A M
Rename vdd0_/vdd1_ to vdd1_/vdd2_ in VC param structure. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/voltage.c | 34 +- arch/arm/mach

[PATCH v6 5/7] omap3: pm: Generic TRITON power scripts for OMAP3 based boards

2010-05-18 Thread Lesly A M
in the board file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030.c | 185 + arch/arm/mach-omap2/twl4030.h | 15 arch

[PATCH v6 6/7] omap3: pm: Use generic TRITON power scripts for 3430SDP board

2010-05-18 Thread Lesly A M
This patch will removed the sleep/wakeup/warm_rest sequence resource configuration from the 3430SDP board file and use the generic script. Updating the sleep/wakeup/warm_rest sequence resource configuration in the board file from generic script file. Signed-off-by: Lesly A M x0080...@ti.com

[PATCH v6 7/7] omap3: pm: Use generic TRITON power scripts for ZOOM[2,3], 3630SDP board

2010-05-18 Thread Lesly A M
Adding the power script data for zoom board to TWL4030 platform data. Updating the sleep/wakeup/warm_rest sequence resource configuration from generic script file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH/RFC v3] MFD: TWL4030: changes for TRITON Errata 27 workaround

2010-04-30 Thread Lesly A M
some i2c_read calls to check the TRITON version the i2c will not be initialized in the early stage. Changes taken from Nishanth Menons TRITON Errata27 workaround patch. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH v5 3/5] omap3: pm: Generic TRITON power scripts for OMAP3 based boards

2010-04-19 Thread Lesly A M
. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030.c | 154 + arch/arm/mach-omap2/twl4030.h | 15 arch/arm/mach-omap2/voltage.c

[PATCH v5 4/5] omap3: pm: Use generic TRITON power scripts for 3430SDP board

2010-04-19 Thread Lesly A M
file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile|3 +- arch/arm/mach-omap2/board-3430sdp.c | 108 -- include/linux

[PATCH v5 5/5] omap3: pm: Use generic TRITON power scripts for ZOOM[2,3], 3630SDP board

2010-04-19 Thread Lesly A M
Adding the power script data for zoom board to TWL4030 platform data. Updating the sleep/wakeup/warm_rest sequence voltsetup_time from generic script file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH] MFD: TWL4030: changes for TRITON glitch fix

2010-04-09 Thread Lesly A M
gaia glitch fix patch. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- This patch series is based off Kevin's tree origin/pm branch. This patch has dependency on: SmartReflex patch series

[PATCH v4 0/5] omap3: pm: Update TRITON power scripts and making it generic

2010-03-31 Thread Lesly A M
. 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. Also tested for reboot and dvfs. Changes to fix Kevins Nishanths comments. Lesly A M (5): omap3: pm

[PATCH] [PATCH v4 1/5] omap3: pm: fix for twl4030 script load

2010-03-31 Thread Lesly A M
, since the order doesn't matter. Only the values configured in the register, which is pointing to the starting address of each sequence should be correct. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH] [PATCH v4 2/5] omap3: pm: Using separate clk/volt setup_time for RET and OFF states

2010-03-31 Thread Lesly A M
to the target state of CORE power domain. The voltsetup2 is used only when the device exits sys_off mode (with PRM_VOLTCTRL[3]SEL_OFF set to 1). Changed vdd0_/vdd1_ to vdd1_/vdd2_ in prcm vc setuptime structure. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr

[PATCH] [PATCH v4 3/5] omap3: pm: Generic TRITON power scripts for OMAP3 based boards

2010-03-31 Thread Lesly A M
. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/twl4030-script.c | 154 ++ arch/arm/mach-omap2/twl4030-script.h | 15 arch/arm/mach-omap2

[PATCH] [PATCH v4 4/5] omap3: pm: Use generic TRITON power scripts for 3430SDP board

2010-03-31 Thread Lesly A M
file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/Makefile|3 +- arch/arm/mach-omap2/board-3430sdp.c | 109 +-- include/linux

[PATCH] [PATCH v4 5/5] omap3: pm: Use generic TRITON power scripts for ZOOM[2,3], 3630SDP board

2010-03-31 Thread Lesly A M
Adding the power script data for zoom board to TWL4030 platform data. Updating the sleep/wakeup/warm_rest sequence voltsetup_time from generic script file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa

[PATCH v3 0/5] omap3: pm: Update TRITON power scripts and making it generic.

2010-03-12 Thread Lesly A M
. 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. Also tested for reboot and dvfs. Lesly A M (5): omap3: pm: fix for twl4030 script load omap3: pm

[PATCH v3 1/5] omap3: pm: fix for twl4030 script load

2010-03-12 Thread Lesly A M
in the register, which is pointing to the starting address of each sequence should be correct. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- drivers/mfd/twl4030-power.c |6 -- 1 files changed

[PATCH v3 2/5] omap3: pm: Using separate clk/volt setup_time for RET and OFF states

2010-03-12 Thread Lesly A M
is used only when the device exits sys_off mode (with PRM_VOLTCTRL[3]SEL_OFF set to 1). Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- arch/arm/mach-omap2/board-3430sdp.c | 27

[PATCH v3 4/5] omap3: pm: Use generic TRITON power scripts for 3430SDP board

2010-03-12 Thread Lesly A M
Removed the sleep/wakeup/warm_rest sequence from the board file. Modified the resource config structure in the board file. Updating the sleep/wakeup/warm_rest sequence voltsetup_time in the board file from generic script file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n

[PATCH v3 5/5] omap3: pm: Use generic TRITON power scripts for ZOOM[2,3], 3630SDP board

2010-03-12 Thread Lesly A M
Adding the power script data for zoom board to TWL4030 platform data. Updating the sleep/wakeup/warm_rest sequence voltsetup_time in the board file from generic script file. Signed-off-by: Lesly A M x0080...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz

[no subject]

2010-03-12 Thread Lesly A M
the IDCODE register on TWL5030 Si is not updated correctly. Updated the TWL resource settings and volt, clock setuptime. Changes taken from Nishanth Menons gaia glitch fix patch. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz

[PATCH] MFD: TWL4030: changes for TRITON glitch fix

2010-03-12 Thread Lesly A M
. Updated the TWL resource settings and volt, clock setuptime. Changes taken from Nishanth Menons gaia glitch fix patch. Signed-off-by: Lesly A M lesl...@ti.com Cc: Nishanth Menon n...@ti.com Cc: David Derrick dderr...@ti.com Cc: Samuel Ortiz sa...@linux.intel.com --- This patch has dependency

[PATCH v2 0/6] omap3: pm: Update TRITON power scripts and making it generic

2010-01-19 Thread Lesly A M
map3: pm: Update TRITON power scripts and making it generic 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. V1: Initial

[PATCH] omap3: pm: Add T2 Keypad as a wakeup source

2010-01-07 Thread Lesly A M
Changes for setting the padconf value for sys_nirq line which is connected to T2 INTR1. This will fix the T2 keypad wakeup. Signed-off-by: Lesly A M x0080...@ti.com Signed-off-by: Teerth Reddy tee...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |9 + 1 files changed, 9

[PATCH] Update Triton2 scripts

2010-01-07 Thread Lesly A M
of VPLL1, VDD1, VDD2, REGEN, NRESPWRON SYSEN to '1' and VINTANA1, VINTANA2, VINTDIG, VIO, CLKEN HFCLKOUT to '2' HFCLKOUT is attached to P3, to dissable HFCLK when clk_req signal is toggled. Modified the clksetup, volsetup_time for RET OFF states. Signed-off-by: Lesly A M x0080...@ti.com Cc: n