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

2011-02-21 Thread Peter 'p2' De Schrijver
On Mon, Feb 21, 2011 at 12:25:01PM +0530, ext Manuel, Lesly Arackal wrote: Hi Jean, On Fri, Feb 18, 2011 at 10:57 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Fri, Feb 18, 2011 at 6:08 PM, Lesly A M lesl...@ti.com wrote: Patch series for TWL4030 power scripts and workaround for TWL

Re: [PATCH v4 2/7] OMAP3: PM: Erratum i581 support: dll kick strategy

2010-12-20 Thread Peter 'p2' De Schrijver
On Mon, Dec 20, 2010 at 11:23:27AM +0100, ext Jean Pihet wrote: On Sat, Dec 18, 2010 at 11:53 PM, Nishanth Menon n...@ti.com wrote: From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Erratum i581 impacts OMAP3 platforms. PRCM DPLL control FSM removes SDRC_IDLEREQ before DPLL3

Re: Inventra Highspeed Dual Role Controller on TI OMAP 3503

2010-11-29 Thread Peter 'p2' De Schrijver
that's no official documentation. It's better to check device's datasheet when you have such questions. Besides, imagine the pain it would be to patch that Kconfig entry everytime we have a new release of an OMAP processor. Maybe it would be better to say something like: available on many

Re: [PATCH 02/13] OMAP3: PM: Errata i581 suppport: dll kick strategy

2010-11-25 Thread Peter 'p2' De Schrijver
On Wed, Nov 24, 2010 at 05:51:50PM +0100, ext Sripathy, Vishwanath wrote: Nishant, On Fri, Nov 19, 2010 at 7:24 AM, Nishanth Menon n...@ti.com wrote: From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Errata i581 impacts OMAP3 platforms. PRCM DPLL control FSM removes

Re: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-11-22 Thread Peter 'p2' De Schrijver
On Fri, Nov 19, 2010 at 05:14:15PM +0100, ext Derrick, David wrote: -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Friday, November 19, 2010 9:37 AM On Thu, Nov 18, 2010 at 7:34 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Thu, Nov 18, 2010 at

Re: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-11-22 Thread Peter 'p2' De Schrijver
On Mon, Nov 22, 2010 at 05:03:59PM +0100, ext Kevin Hilman wrote: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com writes: On Fri, Nov 19, 2010 at 05:14:15PM +0100, ext Derrick, David wrote: -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Friday

Re: [PATCH 01/13] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all

2010-11-19 Thread Peter 'p2' De Schrijver
On Fri, Nov 19, 2010 at 10:46:19AM +0100, ext Jean Pihet wrote: On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: From: Richard Woodruff r-woodru...@ti.com Analysis in TI kernel with ETM showed that using cache mapped flush in kernel instead of SO mapped flush cost drops

Re: BeagleBoard not resuming from uart with latest pm-core ?

2010-11-11 Thread Peter 'p2' De Schrijver
On Wed, Nov 10, 2010 at 06:32:53PM +0100, ext Kevin Hilman wrote: Jean Pihet jean.pi...@newoldbits.com writes: l-o is currently broken wrt to suspend and idle. Solutions are being worked on for the moment. Kevin, are there solutions available yet? The solution to your previous

Re: [PATCH] twl4030 reboot workaround

2010-07-28 Thread Peter 'p2' De Schrijver
On Wed, Jul 28, 2010 at 11:41:32AM +0200, Rapeli Mikko (EXT-Ixonos/Oulu) wrote: From: Mikko Rapeli ext-mikko.rap...@nokia.com Original patch: http://marc.info/?l=linux-omapm=126522625032441w=2 Removes TWL4030 sleep script prior to rebooting, only on OMAP3. This is necessary since DPLL3

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

2010-05-17 Thread Peter 'p2' De Schrijver
Hi, Hi Peter, The RES_TYPE field is same for all messages. The resource which can go to low-power mode with clk_req sig de-asserting is configured as RES_TYPE2 = '2'. And the resource which can go to low-power mode with sys_off sig de-asserting is configured as RES_TYPE2 = '1'. The

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

2010-05-11 Thread Peter 'p2' De Schrijver
Hi, Hi Eduardo, The load_twl4030_script() is called from twl4030_power_init() which is again called from twl_probe(), and this is getting called before omap3_idle_init(). So the scripts are loaded before the cpuidle is initialized. Then I don't think the system will hit sys_off before

FYI: DLL workaround patch for 3630

2010-04-21 Thread Peter 'p2' De Schrijver
3749c16b10892e6cdfd7370f4c483ecac734f577 Mon Sep 17 00:00:00 2001 From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Date: Thu, 25 Mar 2010 15:04:15 +0200 Subject: [PATCH] OMAP3 PM workaround for 3630 dll locking issue Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach

Re: [PATCH] OMAP3 PM export chip IDCODE, Production ID and Die ID

2009-10-14 Thread Peter 'p2' De Schrijver
On Tue, Oct 13, 2009 at 09:51:30PM +0200, ext Kevin Hilman wrote: On Tue, Oct 13, 2009 at 12:48 PM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@deeprootsystems.com [091013 12:09]: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com writes: From: De-Schrijver Peter

[PATCH] OMAP3 PM Add sysfs entry for EFuse values

2009-10-12 Thread Peter 'p2' De Schrijver
This patch exports the smartreflex efuse values for all 5 OPPs via sysfs. This can be useful to track down silicon specific problems. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/smartreflex.c | 22 ++ 1 files changed, 22

[PATCH] OMAP3 PM export chip IDCODE, Production ID and Die ID

2009-10-12 Thread Peter 'p2' De Schrijver
this in corematic dumps. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/id.c | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 2c5e0a3..97670e2

[PATCH] OMAP3 PM restore observability settings after off mode

2009-10-12 Thread Peter 'p2' De Schrijver
This patch restores the observability settings after resuming from off mode. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/debobs.c |9 + arch/arm/mach-omap2/pm34xx.c |4 arch/arm/plat-omap/include/mach

Re: [PATCH] Fix the size of twl4030 script

2009-05-14 Thread Peter 'p2' De Schrijver
On Thu, May 14, 2009 at 01:40:14AM +0200, ext Tony Lindgren wrote: * Kim Kyuwon chamm...@gmail.com [090506 18:36]: Hi All, I sent this patch about 1 month ago. Can anybody check I'm sending correct patch? Peter, care to ack? Any news on sending the scripts part of twl driver

Re: [PATCH] twl4030: Add some error checking to twl4030 init

2009-04-22 Thread Peter 'p2' De Schrijver
Hi, Whitespace-fixed version and passed through checkpatch.pl Check for return values of i2c read/write operations and size of scripts being uploaded to TWL4030 Signed-off-by: Amit Kucheria amit.kuche...@verdurent.com Acked-by: Peter De Schrijver peter.de-schrij...@nokia.com -- goa

[PATCH] TWL4030: add function to send PB messages

2009-04-22 Thread Peter 'p2' De Schrijver
This patch moves sending of powerbus messages to a separate function. It also makes sure I2C access to the powerbus is enabled. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/regulator/twl4030-regulator.c | 72 +--- 1 files changed

[PATCH] TWL4030: Make sure the regulator is active after calling twl4030reg_enable

2009-04-22 Thread Peter 'p2' De Schrijver
This patch makes sure a regulator is active when enabled. After a warm reboot, only adding a regulator to a power group is not enough to activate it. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/regulator/twl4030-regulator.c | 11 +-- 1 files changed

[PATCH] TWL4030: Make sure the regulator is active after calling twl4030reg_enable

2009-04-22 Thread Peter 'p2' De Schrijver
This patch makes sure a regulator is active when enabled. After a warm reboot, only adding a regulator to a power group is not enough to activate it. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/regulator/twl4030-regulator.c | 11 +-- 1 files changed

[PATCH] TWL4030: add function to send PB messages

2009-04-22 Thread Peter 'p2' De Schrijver
And now with fix to make it compile. This patch moves sending of powerbus messages to a separate function. It also makes sure I2C access to the powerbus is enabled. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/regulator/twl4030-regulator.c | 72

[PATCH 1/1] Activate VDD1, VDD2 and VPLL1 at startup

2009-04-22 Thread Peter 'p2' De Schrijver
This patch activates VDD1, VDD2 and VPLL1 when booting. This is necessary because these resources are in warm reset state after a reboot. This means their voltage levels cannot be modified so DVFS and smartreflex don't work. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com

[PATCH] OMAP: Make sure all resources used by the gpio-switch IRQ handler are initialized before use.

2009-04-17 Thread Peter 'p2' De Schrijver
Initialize the workqueue and timer used by the gpio-switch IRQ handler before we register the IRQ handler itself. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/plat-omap/gpio-switch.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff

[PATCH] Add new lower-latency C1 state

2009-03-13 Thread Peter 'p2' De Schrijver
This patch introduces a new C state which allows MPU to go to WFI but keeps the core domain active. This offers a much better wakeup latency (3us vs 10s of us for the current C1) at the cost of a higher power consumption. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com

[PATCH 0/1] Group and resource assignments for TWL4030

2009-03-13 Thread Peter 'p2' De Schrijver
This patch introduces support for board specific group assignments of TWL4030 resources. The resource type and type2 fields can also be specified. Peter 'p2' De Schrijver (1): Group and resource assignments for TWL4030 drivers/mfd/twl4030-power.c | 96

[PATCH 1/1] Group and resource assignments for TWL4030

2009-03-13 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/mfd/twl4030-power.c | 96 ++- include/linux/i2c/twl4030.h | 41 ++- 2 files changed, 135 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/twl4030

[PATCH] Add new lower-latency C1 state take #2

2009-03-13 Thread Peter 'p2' De Schrijver
This patch introduces a new C state which allows MPU to go to WFI but keeps the core domain active. This offers a much better wakeup latency (3us vs 10s of us for the current C1) at the cost of a higher power consumption. Fixed the comments. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij

[PATCH] Add new C state

2009-03-10 Thread Peter 'p2' De Schrijver
This patch introduces a new C state which allows MPU to go to WFI but keeps the core domain active. This offers a much better wakeup latency (3us vs 10s of us for the current C1) at the cost of a higher power consumption. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com

[PATCH] Remove fclk check for cpuidle

2009-03-10 Thread Peter 'p2' De Schrijver
This patch removes the check to see if some functional clocks are still enabled before entering sleep. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/pm34xx.c | 46 -- 1 files changed, 0 insertions(+), 46

Re: [PATCH 0/1] Group and resource assignments for TWL4030

2009-03-04 Thread Peter 'p2' De Schrijver
On Wed, Mar 04, 2009 at 12:38:16AM +0100, ext David Brownell wrote: On Friday 27 February 2009, Tony Lindgren wrote: * Peter 'p2' De Schrijver peter.de-schrij...@nokia.com [090215 08:49]: On Fri, Feb 13, 2009 at 09:55:21PM +0100, ext David Brownell wrote: On Tuesday 10 February 2009

Re: [PATCH 0/1] OMAP3 PM Add C0 state

2009-02-24 Thread Peter 'p2' De Schrijver
On Mon, Feb 23, 2009 at 07:24:24PM +0100, ext Kevin Hilman wrote: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com writes: This patch introduces a new C state C0 which keeps both core and mpu powerdomains in ON state. This gives us low latency at a cost of higher power consumption

[PATCH 1/1] OMAP3 PM Add C0 state

2009-02-18 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/cpuidle34xx.c | 53 ++--- 1 files changed, 43 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index

[PATCH 0/1] OMAP3 PM Add C0 state

2009-02-18 Thread Peter 'p2' De Schrijver
This patch introduces a new C state C0 which keeps both core and mpu powerdomains in ON state. This gives us low latency at a cost of higher power consumption. Peter 'p2' De Schrijver (1): OMAP3 PM Add C0 state arch/arm/mach-omap2/cpuidle34xx.c | 53 ++--- 1

Re: [PATCH 0/1] Group and resource assignments for TWL4030

2009-02-15 Thread Peter 'p2' De Schrijver
On Fri, Feb 13, 2009 at 09:55:21PM +0100, ext David Brownell wrote: On Tuesday 10 February 2009, Peter 'p2' De Schrijver wrote: This patch introduces support for board specific group assignments of TWL4030 resources. The resource type and type2 fields can also be specified. Do we have

Re: [PATCH 1/1] per board prm timings

2009-02-13 Thread Peter 'p2' De Schrijver
Hi Kevin, Peter, I like this approach much better than what we currently have. Pushing to PM branch. The next thing I would like to see is all the register value defines removed from prm-regbits-34xx.h. That header is supposed to be for the bitfield definitions, not for values.

[PATCH 0/1] Group and resource assignments for TWL4030

2009-02-10 Thread Peter 'p2' De Schrijver
This patch introduces support for board specific group assignments of TWL4030 resources. The resource type and type2 fields can also be specified. Peter 'p2' De Schrijver (1): Group and resource assignments for TWL4030 drivers/mfd/twl4030-power.c | 95

[PATCH 1/1] Group and resource assignments for TWL4030

2009-02-10 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/mfd/twl4030-power.c | 95 ++- include/linux/i2c/twl4030.h | 41 ++- 2 files changed, 134 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/twl4030

[PATCH 0/1] Board specific prm timings

2009-02-10 Thread Peter 'p2' De Schrijver
This is an updated version which removes a useless printk. This patch allows for boardspecific prm timings such as voltage and clock setup delays. By default it will use the very conservative timings which were used previously. Peter 'p2' De Schrijver (1): per board prm timings arch/arm/mach

[PATCH 1/1] per board prm timings

2009-02-10 Thread Peter 'p2' De Schrijver
API definition to set prm setup times. Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/pm.h |9 + arch/arm/mach-omap2/pm34xx.c | 31 +-- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/arch

[PATCH 1/1] per board prm timings

2009-02-05 Thread Peter 'p2' De Schrijver
API definition to set prm setup times Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/pm.h |9 + arch/arm/mach-omap2/pm34xx.c | 39 +-- 2 files changed, 42 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 0/1] Do a warm reboot instead of a cold reboot

2009-02-03 Thread Peter 'p2' De Schrijver
Hi Jouni, De-Schrijver Peter (Nokia-D/Helsinki) peter.de-schrij...@nokia.com writes: This patch makes arch_reset do a warm reboot instead of a cold reboot. This is necessary because otherwise the system does not reboot reliably when disabling CLKEN in retention. Note :

Re: new PM branch available

2009-02-03 Thread Peter 'p2' De Schrijver
Hi Kevin, Hi Peter, Peter 'p2' De Schrijver peter.de-schrij...@nokia.com writes: A first guess: this sounds like CONFIG_OMAP_RESET_CLOCKS=y is missing from your .config. The MPU/NEON going active but not RET is an indication to me that some fclk is active so that the fclk check

[PATCH 0/1] Do a warm reboot instead of a cold reboot

2009-02-02 Thread Peter 'p2' De Schrijver
This patch makes arch_reset do a warm reboot instead of a cold reboot. This is necessary because otherwise the system does not reboot reliably when disabling CLKEN in retention. Note : Unfortuately this breaks retention :( IVA2, PER and CORE don't go to retention after reboot. Peter 'p2

[PATCH 1/1] Do a warm reboot instead of a cold boot

2009-02-02 Thread Peter 'p2' De Schrijver
This patch makes omap_prcm_arch_reset do a warm reboot instead of a cold boot Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/prcm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach

Re: new PM branch available

2009-02-02 Thread Peter 'p2' De Schrijver
Hi Kevin, Hello, The latest PM branch is now available[1]. I've done basic testing of retention and off-mode (suspend and dynamic idle) on Beagle and custom HW. My SDP has something still keeping CORE active that others have not seen, but I have yet to debug. Any other reports from

[PATCH] Wait for SDRC ready iso a blind delay

2009-01-16 Thread Peter 'p2' De Schrijver
This patch improves the wakeup SRAM code polling the SDRC to become ready instead of just waiting for a fixed amount of time. Now with signoff :) Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/sleep34xx.S | 51

[PATCH] Wait for SDRC ready iso a blind delay

2009-01-14 Thread Peter 'p2' De Schrijver
This patch improves the wakeup SRAM code polling the SDRC to become ready instead of just waiting for a fixed amount of time. --- arch/arm/mach-omap2/sleep34xx.S | 50 -- 1 files changed, 37 insertions(+), 13 deletions(-) diff --git

[PATCH] Don't scale voltage in C1 state

2009-01-14 Thread Peter 'p2' De Schrijver
This patch prevents VDD1 and VDD2 to go to the lowest OPP when entering C1. It improves wakeup latency from 600us to about 50us. Now with signoff :) Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- arch/arm/mach-omap2/pm34xx.c |2 +- 1 files changed, 1 insertions

Re: [PATCH 1/1] Save sram context after changing MPU, DSP or core clocks

2008-12-05 Thread Peter 'p2' De Schrijver
On Fri, Dec 05, 2008 at 11:49:03AM +0200, Kristo Tero (Nokia-D/Tampere) wrote: Hi Peter, This patch causes linker error without CONFIG_PM option, should add #ifdef:s around the call to omap3_save_scratchpad_contents(); That looks a bit ugly though :( Cheers, Peter -- goa is a state of

[PATCH 1/2] Fix omap_getspeed.

2008-12-02 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock34xx.c |1 + arch/arm/plat-omap/cpu-omap.c |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index f771b56

[PATCH 0/2] Bug fixes for DVFS

2008-12-02 Thread Peter 'p2' De Schrijver
The following patchset fixes some smaal bugs in cpufreq for OMAP3. The first patch fixes omap_getspeed to return meaningful values. The second patch makes sure the omap cpufreq driver is initialized after the cpufreq frameworks and governors are initialized. Peter 'p2' De Schrijver (2): Fix

[PATCH 1/1] Debobs control macro fix

2008-11-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/plat-omap/include/mach/control.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/include/mach/control.h b/arch/arm/plat-omap/include/mach/control.h index 9b06365..759fb71 100644

[PATCH 1/1] Save sram context after changing MPU, DSP or core clocks

2008-11-19 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock34xx.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index d97d5a9..962ce56 100644 --- a/arch/arm/mach-omap2

[PATCH 0/1] Save sram context after changing MPU, DSP or core clocks

2008-11-19 Thread Peter 'p2' De Schrijver
. Peter 'p2' De Schrijver (1): Save sram context after changing MPU, DSP or core clocks arch/arm/mach-omap2/clock34xx.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED

[PATCH] Wait until DPLL1 is relocked.

2008-11-12 Thread Peter 'p2' De Schrijver
This patch causes _omap3_noncore_dpll_lock to wait for clocks marked as WAIT_READY to be ready before continuing. This is necessary for MPU/DSP DVFS to work correctly. Cheers, Peter. --- arch/arm/mach-omap2/clock34xx.c | 19 --- arch/arm/mach-omap2/clock34xx.h |2 +- 2

[Resending PATCH] Wait until DPLL1 is relocked. Re

2008-11-12 Thread Peter 'p2' De Schrijver
I forgot the signoff. Fixed now. This patch causes _omap3_noncore_dpll_lock to wait for clocks marked as WAIT_READY to be ready before continuing. This is necessary for MPU/DSP DVFS to work correctly. Cheers, Peter. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach

Re: [PATCH 0/6] Integrate the twl4030 power code into new twl4030 mfd

2008-10-24 Thread Peter 'p2' De Schrijver
On Mon, Oct 20, 2008 at 02:02:16AM -0700, ext David Brownell wrote: On Monday 20 October 2008, Peter 'p2' De Schrijver wrote: This patchset integrates the twl4030 power code into the new twl4030 mfd framework. The scripts will be moved to the board specific data. Peter 'p2' De

[PATCH 5/6] Generic twl4030 power script for 3430 based boards.

2008-10-20 Thread Peter 'p2' De Schrijver
, then the voltage regulators will be woken up and finally the RC resources will be woken up. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/twl4030-generic-scripts.c | 78 + arch/arm/mach-omap2/twl4030-generic-scripts.h |8 +++ 2

[PATCH 3/6] Hook twl4030 power code into twl4030 core.

2008-10-20 Thread Peter 'p2' De Schrijver
This patch makes twl4030 core call the power code in case the scripts are present in the platform data. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/mfd/Kconfig|9 + drivers/mfd/Makefile |1 + drivers/mfd/twl4030-core.c | 11 +++ 3

[PATCH 0/6] Integrate the twl4030 power code into new twl4030 mfd

2008-10-20 Thread Peter 'p2' De Schrijver
This patchset integrates the twl4030 power code into the new twl4030 mfd framework. The scripts will be moved to the board specific data. Peter 'p2' De Schrijver (6): Add defines and data types for twl4030. Move existing TWL4030 code to drivers/mfd Hook twl4030 power code into twl4030 core

[PATCH 1/6] Add defines and data types for twl4030.

2008-10-20 Thread Peter 'p2' De Schrijver
This patch adds a bunch of data types and defines to handle the twl4030 power sequence scripts. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- include/linux/i2c/twl4030.h | 64 +++ 1 files changed, 64 insertions(+), 0 deletions(-) diff

[PATCH 4/6] 3430sdp and ldp use custom twl4030 power scripts.

2008-10-20 Thread Peter 'p2' De Schrijver
The TI 3430dsp and ldp boards have a custom power script to handle sleep and off modes. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c | 84 +++ arch/arm/mach-omap2/board-ldp.c | 84

Re: [PATCH 5/6] Generic twl4030 power script for 3430 based boards.

2008-10-17 Thread Peter 'p2' De Schrijver
On Thu, Oct 16, 2008 at 04:09:47PM -0700, ext David Brownell wrote: On Wednesday 15 October 2008, Peter 'p2' De Schrijver wrote: --- /dev/null +++ b/arch/arm/mach-omap2/twl4030-generic-scripts.h @@ -0,0 +1,8 @@ +#ifndef __TWL4030_GENERIC_SCRIPTS_H +#define __TWL4030_GENERIC_SCRIPTS_H

[PATCH 0/6] Integrate the twl4030 power code into new twl4030 mfd

2008-10-15 Thread Peter 'p2' De Schrijver
This patchset integrates the twl4030 power code into the new twl4030 mfd framework. The scripts will be moved to the board specific data. Peter 'p2' De Schrijver (6): Add defines and data types for twl4030. Move existing TWL4030 code to drivers/mfd Hook twl4030 power code into twl4030 core

[PATCH 5/6] Generic twl4030 power script for 3430 based boards.

2008-10-15 Thread Peter 'p2' De Schrijver
, then the voltage regulators will be woken up and finally the RC resources will be woken up. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/twl4030-generic-scripts.c | 78 + arch/arm/mach-omap2/twl4030-generic-scripts.h |8 +++ 2

[PATCH 3/6] Hook twl4030 power code into twl4030 core.

2008-10-15 Thread Peter 'p2' De Schrijver
This patch makes twl4030 core call the power code in case the scripts are present in the platform data. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/mfd/Kconfig|9 + drivers/mfd/Makefile |1 + drivers/mfd/twl4030-core.c | 11 +++ 3

[PATCH 6/6] omap3 evm, beagle and overo use the generic twl4030 script

2008-10-15 Thread Peter 'p2' De Schrijver
Make omap3 evm, beagle and overo use the generic twl4030 script. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|9 ++--- arch/arm/mach-omap2/board-omap3beagle.c |4 ++-- arch/arm/mach-omap2/board-omap3evm.c|4 ++-- arch

[PATCH 4/6] 3430sdp and ldp use custom twl4030 power scripts.

2008-10-15 Thread Peter 'p2' De Schrijver
The TI 3430dsp and ldp boards have a custom power script to handle sleep and off modes. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c | 84 +++ arch/arm/mach-omap2/board-ldp.c | 84

[PATCH 2/6] Move existing TWL4030 code to drivers/mfd

2008-10-15 Thread Peter 'p2' De Schrijver
, processor group 3 sleep, wakeup or warm reset). Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/Makefile|2 +- drivers/i2c/chips/twl4030-power.c | 343 - drivers/mfd/twl4030-power.c | 270

Re: [PATCH 3/3] Hook into powerdomain code

2008-10-15 Thread Peter 'p2' De Schrijver
On Tue, Oct 14, 2008 at 01:55:07PM -0600, ext Paul Walmsley wrote: On Tue, 14 Oct 2008, Peter 'p2' De Schrijver wrote: @@ -179,9 +183,12 @@ void pwrdm_init(struct powerdomain **pwrdm_list) { struct powerdomain **p = NULL; - if (pwrdm_list) - for (p = pwrdm_list

[PATCH 1/2] PM counter infrastructure.

2008-10-15 Thread Peter 'p2' De Schrijver
-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 101 - arch/arm/plat-omap/include/mach/powerdomain.h |7 ++ 2 files changed, 106 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch

[PATCH 0/2] PM counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patch introduces counters for the various PM states in OMAP3. Peter 'p2' De Schrijver (2): PM counter infrastructure. Hook into PM counters arch/arm/mach-omap2/clock.c |2 + arch/arm/mach-omap2/clockdomain.c |4 + arch/arm/mach-omap2/pm34xx.c

[PATCH 2/2] Hook into PM counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patch modifies the clock, clockdomain and OMAP3 specific powerdomain code to call the PM counter infrastructure whenever one or more powerdomains might have changed state. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach

[PATCH 1/3] Add closures to clkdm_for_each and pwrdm_for_each.

2008-10-15 Thread Peter 'p2' De Schrijver
First add some infrastructure to easily iterate over clock and power domains. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clockdomain.c |5 +++-- arch/arm/mach-omap2/pm34xx.c |8 arch/arm/plat-omap/include/mach

[PATCH 2/3] Add pm-debug counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patch provides the debugfs entries and a function which will be called by the PM code to register the time spent per domain per state. Also some new fields are added to the powerdomain struct to keep the time information. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm

[PATCH 0/3] debugfs entries for PM counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patchset adds 2 debugfs entries for power management counters. pm_debug/count indicates how many times each powerdomain entered each state (On, Inactive, Retention, Off). pm_debug/time indicates how much time each powerdomain spent per state. Peter 'p2' De Schrijver (3): Add closures

[PATCH 3/3] Hook into powerdomain code

2008-10-15 Thread Peter 'p2' De Schrijver
Make the powerdomain code call the new hook for updating the time. Also implement the updated pwrdm_for_each. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git

[PATCH 3/3] Hook into powerdomain code

2008-10-14 Thread Peter 'p2' De Schrijver
Make the powerdomain code call the new hook for updating the time. Also implement the updated pwrdm_for_each. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff

[PATCH 1/3] Add closures to clkdm_for_each and pwrdm_for_each.

2008-10-14 Thread Peter 'p2' De Schrijver
First add some infrastructure to easily iterate over clock and power domains. Also add extra fields to the powerdomain struct to keep the time info. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clockdomain.c |5 +++-- arch/arm/mach-omap2

[PATCH 0/3] debugfs entries for PM counters

2008-10-14 Thread Peter 'p2' De Schrijver
This patchset adds 2 debugfs entries for power management counters. pm_debug/count indicates how many times each powerdomain entered each state (On, Inactive, Retention, Off). pm_debug/time indicates how much time each powerdomain spent per state. Peter 'p2' De Schrijver (3): Add closures

Re: [PATCH 7/7] omap3 evm, beagle and overo use the generic twl4030 script

2008-10-13 Thread Peter 'p2' De Schrijver
On Fri, Oct 10, 2008 at 10:50:29AM -0700, ext David Brownell wrote: On Friday 10 October 2008, Peter 'p2' De Schrijver wrote: +extern struct twl4030_power_data generic3430_t2scripts_data; Such extern decls should as a rule be in header files... In this case the rule is appropriate, since

[PATCH 0/7] Integrate the twl4030 power code into new twl4030 mfd

2008-10-13 Thread Peter 'p2' De Schrijver
This patchset integrates the twl4030 power code into the new twl4030 mfd framework. The scripts will be moved to the board specific data. Peter 'p2' De Schrijver (7): Remove existing twl4030 power script code. Add defines and data types for twl4030. Twl4030 power code updated for new

[PATCH 2/7] Add defines and data types for twl4030.

2008-10-13 Thread Peter 'p2' De Schrijver
This patch adds a bunch of data types and defines to handle the twl4030 power sequence scripts. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- include/linux/i2c/twl4030.h | 64 +++ 1 files changed, 64 insertions(+), 0 deletions(-) diff

[PATCH 3/7] Twl4030 power code updated for new twl4030 core

2008-10-13 Thread Peter 'p2' De Schrijver
This patch adds the twl4030 power handling. It downloads the scripts provided by the board configuration to the twl4030 and configures the chip to call the relevant script for each event (processor group 1 and 2 sleep, processor group 3 sleep, wakeup or warm reset). Signed-off-by: Peter 'p2' De

[PATCH 5/7] 3430sdp and ldp use custom twl4030 power scripts.

2008-10-13 Thread Peter 'p2' De Schrijver
The TI 3430dsp and ldp boards have a custom power script to handle sleep and off modes. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c | 84 +++ arch/arm/mach-omap2/board-ldp.c | 84

[PATCH 7/7] omap3 evm, beagle and overo use the generic twl4030 script

2008-10-13 Thread Peter 'p2' De Schrijver
Make omap3 evm, beagle and overo use the generic twl4030 script. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|9 ++--- arch/arm/mach-omap2/board-omap3beagle.c |4 ++-- arch/arm/mach-omap2/board-omap3evm.c|4 ++-- arch

[PATCH 4/7] Hook twl4030 power code into twl4030 core.

2008-10-13 Thread Peter 'p2' De Schrijver
This patch makes twl4030 core call the power code in case the scripts are present in the platform data. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/mfd/Kconfig|7 +++ drivers/mfd/Makefile |1 + drivers/mfd/twl4030-core.c | 11 +++ 3

[PATCH 6/7] Generic twl4030 power script for 3430 based boards.

2008-10-13 Thread Peter 'p2' De Schrijver
, then the voltage regulators will be woken up and finally the RC resources will be woken up. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/twl4030-generic-scripts.c | 78 + arch/arm/mach-omap2/twl4030-generic-scripts.h |8 +++ 2

[PATCH 1/7] Remove existing twl4030 power script code.

2008-10-13 Thread Peter 'p2' De Schrijver
First we remove the existing twl4030 power sequencer code. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/Makefile|2 +- drivers/i2c/chips/twl4030-power.c | 343 - 2 files changed, 1 insertions(+), 344 deletions

[PATCH 3/7] Twl4030 power code updated for new twl4030 core

2008-10-10 Thread Peter 'p2' De Schrijver
This patch adds the twl4030 power handling. It downloads the scripts provided by the board configuration to the twl4030 and configures the chip to call the relevant script for each event (processor group 1 and 2 sleep, processor group 3 sleep, wakeup or warm reset). Signed-off-by: Peter 'p2' De

[PATCH 7/7] omap3 evm, beagle and overo use the generic twl4030 script

2008-10-10 Thread Peter 'p2' De Schrijver
Make omap3 evm, beagle and overo use the generic twl4030 script. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|9 ++--- arch/arm/mach-omap2/board-omap3beagle.c |3 +++ arch/arm/mach-omap2/board-omap3evm.c|3 +++ arch/arm

[PATCH 6/7] Generic twl4030 power script for 3430 based boards.

2008-10-10 Thread Peter 'p2' De Schrijver
, then the voltage regulators will be woken up and finally the RC resources will be woken up. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/twl4030-generic-scripts.c | 78 + 1 files changed, 78 insertions(+), 0 deletions(-) create mode

[PATCH 2/7] Add defines and data types for twl4030.

2008-10-10 Thread Peter 'p2' De Schrijver
This patch adds a bunch of data types and defines to handle the twl4030 power sequence scripts. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- include/linux/i2c/twl4030.h | 64 +++ 1 files changed, 64 insertions(+), 0 deletions(-) diff

[PATCH 4/7] Hook twl4030 power code into twl4030 core.

2008-10-10 Thread Peter 'p2' De Schrijver
This patch makes twl4030 core call the power code in case the scripts are present in the platform data. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/mfd/twl4030-core.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/twl4030

[PATCH 1/7] Remove existing twl4030 power script code.

2008-10-10 Thread Peter 'p2' De Schrijver
First we remove the existing twl4030 power sequencer code. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-power.c | 343 - 1 files changed, 0 insertions(+), 343 deletions(-) delete mode 100644 drivers/i2c/chips/twl4030

[PATCH 0/7] Integrate the twl4030 power code into new twl4030 mfd

2008-10-10 Thread Peter 'p2' De Schrijver
This patchset integrates the twl4030 power code into the new twl4030 mfd framework. The scripts will be moved to the board specific data. Peter 'p2' De Schrijver (7): Remove existing twl4030 power script code. Add defines and data types for twl4030. Twl4030 power code updated for new

[PATCH 5/7] 3430sdp and ldp use custom twl4030 power scripts.

2008-10-10 Thread Peter 'p2' De Schrijver
The TI 3430dsp and ldp boards have a custom power script. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c | 61 ++ arch/arm/mach-omap2/board-ldp.c | 62 +++ 2 files changed

Re: [PATCH 2/3] Adapt twl4030 power code to new twl4030 code

2008-10-08 Thread Peter 'p2' De Schrijver
Hi David, Your set of patches seems to have discarded support for quite a few platforms. I don't quite know the details of what these PM scripts are doing ... could they be misbehaving on Beagle, so that they explain why reboot on RC8 fails? It might. At least the warmreset script

[PATCH 3/3] Add twl4030 power platform device

2008-10-07 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-core.c | 41 ++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/chips/twl4030-core.c b/drivers/i2c/chips/twl4030-core.c index 9debab4..42d9e4f

  1   2   >