Re: [PATCH] I2C: Fix twl4030 timeouts on omap3430

2008-04-01 Thread Peter 'p2' De Schrijver
On Tue, Apr 01, 2008 at 03:43:56PM +0300, ext Tony Lindgren wrote: * Tony Lindgren [EMAIL PROTECTED] [080331 17:30]: * Tony Lindgren [EMAIL PROTECTED] [080331 13:43]: * Tony Lindgren [EMAIL PROTECTED] [080328 10:41]: Hi all, This helps with the annoying I2C timeouts. Does

Re: FW: [PATCH 00/05] 34XX cpu idle patches - core off

2008-06-27 Thread Peter 'p2' De Schrijver
On Fri, Jun 27, 2008 at 05:27:48PM +0530, ext Rajendra Nayak wrote: Hi Peter, I have the CORE off working on top of Jouni's latest patch set posted on l-o. 2 issues which I saw due to which CORE OFF was broken 1) Control module registers were redefined with the same name in control.h

Re: FW: [PATCH 00/05] 34XX cpu idle patches - core off

2008-06-30 Thread Peter 'p2' De Schrijver
Hi Rajendra, The patches still require some amount of cleaning, once Jouni posts his next set of workaround patches taking care of the sleep dependecy for PER, I will rework/clean these patches and then send it to the linux-omap list. I am still seeing some issues with debug uart

Re: FW: [PATCH 00/05] 34XX cpu idle patches - core off

2008-06-30 Thread Peter 'p2' De Schrijver
If by responsiveness it is meant slowness of output (tx path) that' likely good news. It means your hitting interconnect clock stop often and thus getting into first large active mode savings state. This is the biggest step power drop for active states. If your UART looks good you

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-02 Thread Peter 'p2' De Schrijver
Hi Rajendra, Not sure, but you can try with my .config while I try with yours. I was doing some more testing today, and I saw a hang after a while of idle activity with OFF being attempted multiple times. Using lauterbach showed me it being stuck up in prcm_interrupt_handler trying to

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-04 Thread Peter 'p2' De Schrijver
So Rajendra sent his uImage and it works quite ok what comes to off mode on my sdp board. I still see problems with serial console (slow) and on boot I need to generate manually interrupts to get it to boot. Otherwise board hangs at this point: eth0: link up Sending DHCP requests ., OK

Re: [PATCH 00/09] OMAP PM interface implementation using Shared resource f/w

2008-07-11 Thread Peter 'p2' De Schrijver
Hi Rajendra, Hi, The patches which follow implement the API's defined by Paul Walmsley as part of the OMAP PM Interface on OMAP3430sdp. Shared resource f/w is used for the underlying implementation. The following resources are modeled 1) MPU/CORE latency resources 2) Power Domain

Re: [PATCH 04/09] OMAP PM srf implementation

2008-07-14 Thread Peter 'p2' De Schrijver
Hi Rajendra, +void omap_pm_set_min_bus_tput(struct device *dev, struct bus_type *bus, + unsigned long r) According to Paul's prototypes this should be void omap_pm_set_min_bus_tput(struct device *dev, u8 agent_id, unsigned long r)

Re: [PATCH 04/09] OMAP PM srf implementation

2008-07-15 Thread Peter 'p2' De Schrijver
Hi Rajendra, Yes, I probably was using an older omap-pm-noop patch from Paul. I did not refresh it since, the later one sent was again not the final one. I though I would refresh it once the final version is posted. Paul, Would you be posting another version of this with changes as

[PATCH] PROTECT_KEY register is in the PM_MASTER module not in the PM_RECEIVER module

2008-07-16 Thread Peter 'p2' De Schrijver
This patch fixes a write to the wrong address in the triton2 chip. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-usb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/chips/twl4030-usb.c b/drivers/i2c/chips/twl4030

Re: [PATCH 5/9] TWL4030: read and write module ISRs to clear them at init

2008-07-18 Thread Peter 'p2' De Schrijver
On Thu, Jul 17, 2008 at 07:34:52PM -0600, ext Paul Walmsley wrote: TWL4030 interrupt status register bits can be cleared in one of two ways: either by reading from the register, or by writing a 1 to the appropriate bit(s) in the register. This behavior can be altered at any time by the

[PATCH] Set correct off mode polarity

2008-07-21 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock34xx.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 6bb25cf..b0bc1b9 100644 --- a/arch/arm/mach-omap2

[PATCH] Load triton2 scripts.

2008-07-21 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/Makefile|2 +- drivers/i2c/chips/twl4030-power.c | 337 + 2 files changed, 338 insertions(+), 1 deletions(-) create mode 100644 drivers/i2c/chips/twl4030-power.c diff

[PATCH] Add SYSOFFMODE option.

2008-07-21 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/plat-omap/Kconfig |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index d7b34ff..6f891b7 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch

[PATCH] Set correct off mode polarity

2008-07-21 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock34xx.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 6bb25cf..b0bc1b9 100644 --- a/arch/arm/mach-omap2

RFC: OMAP3 SYS_OFF_MODE support

2008-07-21 Thread Peter 'p2' De Schrijver
The following patch set introduces support for the OMAP3 SYS_OFF_MODE signal. This will cause a properly programmed triton2 to shutdown the VDD1 and VDD2 regulators when both core and MPU powerdomain are in off state. The patches includes programming triton2 with the appropriate scripts for the

Re: [PATCH] Set correct off mode polarity

2008-07-23 Thread Peter 'p2' De Schrijver
On Mon, Jul 21, 2008 at 08:22:31PM +0300, ext Felipe Balbi wrote: Hi, style comments inlined. On Mon, Jul 21, 2008 at 07:02:02PM +0300, Peter 'p2' De Schrijver wrote: +#define OFFMODE_POL(13) add spaces after 1 and before 3 (1 3) - unnecessary change

Re: OMAP3 SYS_OFF_MODE support

2008-07-23 Thread Peter 'p2' De Schrijver
On Tue, Jul 22, 2008 at 07:56:10PM +0530, ext Rangasamy, Devaraj wrote: Currently sr_configure_vc() is the only dedicated API to configure Voltage controller parameter. But still SYSOFF specific configuration shall be moved to prcm init. Do you suggest to move all the voltage control

[PATCH 2/3] power off on state counter infrastructure

2008-07-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 48 +- include/asm-arm/arch-omap/powerdomain.h |9 +- 2 files changed, 54 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/powerdomain.c b

[PATCH 3/3] Add hooks for counting off on power transitions

2008-07-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clockdomain.c | 10 ++ arch/arm/mach-omap2/pm34xx.c |6 +- 2 files changed, 15 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2

[PATCH 1/3] Power off on state counter debugging

2008-07-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/off-state-counter-debug.c | 50 + 2 files changed, 51 insertions(+), 1 deletions(-) create mode 100644 arch/arm/mach-omap2/off

Re: [PATCH 0/3] Implement powerdomain off on state counters

2008-07-24 Thread Peter 'p2' De Schrijver
On Thu, Jul 24, 2008 at 04:00:31PM +0300, Peter 'p2' De Schrijver wrote: This patchset implement counters to count the number of off to on state transitions in a powerdomain. These counters will be made available to drivers in a later patchset to allow them to make a better informed decision

[PATCH 0/2] Add PM early init

2008-07-31 Thread Peter 'p2' De Schrijver
This patchset add an early init function to initialize the voltage controller and the off mode polarity before the drivers depending on these features are enabled. Peter 'p2' De Schrijver (2): Move voltage controller configuration to pm34xx.c Add early init for voltage controller

[PATCH 2/2] Add early init for voltage controller configuration and off mode polarity.

2008-07-31 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm34xx.c | 71 ++ 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 8b6b09e..06eae7e 100644

[PATCH 1/2] Move voltage controller configuration to pm34xx.c

2008-07-31 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/smartreflex.c | 60 - 1 files changed, 0 insertions(+), 60 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index b41fe96

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 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: [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 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: 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 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

[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 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/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

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] 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

[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 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

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 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

[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

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.

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

[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] 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

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

[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

[PATCH] Implement powerdomain off on state counters

2008-09-05 Thread Peter 'p2' De Schrijver
This patchset implement counters to count the number of off to on state transitions in a powerdomain. These counters will be made available to drivers in a later patchset to allow them to make a better informed decision wether to restore the hardware registers or not. Peter 'p2' De Schrijver (3

[PATCH] Powerdomain off mode counters

2008-09-05 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 48 +++- arch/arm/plat-omap/include/mach/powerdomain.h |9 - 2 files changed, 54 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH] PM and clock domain hooks for off mode counters

2008-09-05 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clockdomain.c | 10 ++ arch/arm/mach-omap2/pm34xx.c |9 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2

[PATCH] Powerdomain debugging

2008-09-05 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|2 +- arch/arm/mach-omap2/powerdomain-debug.c | 50 +++ 2 files changed, 51 insertions(+), 1 deletions(-) create mode 100644 arch/arm/mach-omap2/powerdomain

[PATCH] Fix build for beagleboard

2008-09-11 Thread Peter 'p2' De Schrijver
--- drivers/i2c/chips/twl4030-power.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/chips/twl4030-power.c b/drivers/i2c/chips/twl4030-power.c index 195c3c4..04a13aa 100644 --- a/drivers/i2c/chips/twl4030-power.c +++ b/drivers/i2c/chips/twl4030-power.c

[PATCH] Fix for twl4030-power.c build failure for beagleboard

2008-09-11 Thread Peter 'p2' De Schrijver
This patch should fix the twl4030-power.c build failure for beagleboard. Peter 'p2' De Schrijver (1): Fix build for beagleboard drivers/i2c/chips/twl4030-power.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux

[PATCH] *** SUBJECT HERE ***

2008-09-12 Thread Peter 'p2' De Schrijver
*** BLURB HERE *** Peter 'p2' De Schrijver (1): Fix build for beagleboard drivers/i2c/chips/twl4030-power.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More

[PATCH] Fix build for beagleboard

2008-09-12 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-power.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/chips/twl4030-power.c b/drivers/i2c/chips/twl4030-power.c index 195c3c4..04a13aa 100644 --- a/drivers/i2c/chips

[PATCH] Debobs and ETK padconf implementation

2008-09-17 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/debobs.c | 214 ++ 1 files changed, 214 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/debobs.c diff --git a/arch/arm/mach-omap2/debobs.c b/arch/arm

[PATCH] Add definitions for ETK pads and debobs registers

2008-09-17 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/plat-omap/include/mach/control.h | 34 + 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/mach/control.h b/arch/arm/plat-omap/include/mach/control.h index

[PATCH] Add debobs Kconfig item

2008-09-17 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Kconfig | 10 +- arch/arm/mach-omap2/Makefile |3 +++ 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index d0bbbf8..639af08

[PATCH] debobs support for OMAP3430.

2008-09-17 Thread Peter 'p2' De Schrijver
This patch adds support for debug observability on OMAP3430 using the ETK lines. Fixes some potential issues with the OMAP343X_CONTROL_DEBOBS, OMAP343X_PADCONF_ETK and OMAP343X_CONTROL_WKUP_DEBOBSMUX macros. Peter 'p2' De Schrijver (3): Add definitions for ETK pads and debobs registers

[PATCH] Move some counter functions to powerdomain.c

2008-09-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm-debug.c | 107 ++-- 1 files changed, 16 insertions(+), 91 deletions(-) diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 380a2a0..a375312

[PATCH] Move PM debug counters to normal PM code. Preview.

2008-09-24 Thread Peter 'p2' De Schrijver
This patchset makes the PM counters no longer debug only. This will allow drivers to decide if they need to reinitialize the hardware due to an off to on transition. This probably needs some more work/thinking. Peter 'p2' De Schrijver (5): Move some counter functions to powerdomain.c Adapt

[PATCH] Adapt prototypes for counter functions

2008-09-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm.h | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index aad4aeb..16212c1 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch

[PATCH] Add hooks to PM layer and clock tree for PM counters

2008-09-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |3 ++- arch/arm/mach-omap2/clockdomain.c |4 ++-- arch/arm/mach-omap2/pm34xx.c | 10 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH 0/5] Move PM debug counters to normal PM code. Preview with sequence numbers

2008-09-24 Thread Peter 'p2' De Schrijver
This patchset makes the PM counters no longer debug only. This will allow drivers to decide if they need to reinitialize the hardware due to an off to on transition. Patchset was made against the pm-0 branch. Peter 'p2' De Schrijver (5): Move some counter functions to powerdomain.c Adapt

[PATCH 1/5] Move some counter functions to powerdomain.c

2008-09-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm-debug.c | 107 ++-- 1 files changed, 16 insertions(+), 91 deletions(-) diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 380a2a0..a375312

[PATCH 2/5] Adapt prototypes for counter functions

2008-09-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm.h | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index aad4aeb..16212c1 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch

[PATCH 4/5] Make counter types unsigned, add closure pointer to pwrdm_for_each, add prototypes

2008-09-24 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/plat-omap/include/mach/powerdomain.h | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/include/mach/powerdomain.h b/arch/arm/plat-omap/include/mach/powerdomain.h index

Re: [PATCH] Debobs and ETK padconf implementation

2008-09-25 Thread Peter 'p2' De Schrijver
The cross-platform gpiolib calls should be used here. + snprintf(name, sizeof(name), hw_dbg%d, i); + err = _new_debobs_pad(debobs_pads[i], name, i, + debobs_root); + if (err) { +

Re: [PATCH] Debobs and ETK padconf implementation

2008-09-25 Thread Peter 'p2' De Schrijver
On Thu, Sep 25, 2008 at 02:40:19PM +0300, ext Kevin Hilman wrote: Peter 'p2' De Schrijver [EMAIL PROTECTED] writes: The cross-platform gpiolib calls should be used here. +snprintf(name, sizeof(name), hw_dbg%d, i); +err

Re: [PATCH] Debobs and ETK padconf implementation

2008-09-25 Thread Peter 'p2' De Schrijver
In that case, what is the proposed method for other kernel code to use the debobs lines? Hmm, good point :) My idea was to use the gpiolib calls on GPIO12 - GPIO29, but then there is no way for a user to know if the GPIO was assigned to debobs or not... Maybe debobs should register as

[PATCH 0/2] PM counters

2008-09-26 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 1/2] PM counter infrastructure.

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

[PATCH 1/1] Hook into PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock.c b

[PATCH 2/2] Hook into PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock.c b

Re: [PATCH 1/1] Hook into PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
This seems to be duplicate. You can ignore it. Cheers, Peter. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12

Re: does twl3040-pwrirq.c need to be a separate file?

2008-09-30 Thread Peter 'p2' De Schrijver
Hi David, On Mon, Sep 29, 2008 at 02:17:12PM -0700, ext David Brownell wrote: Hi Peter, I see your patch 68d7477caca19c0b52b5d4e85700cd3e6115577f created pwrirq.c as a separate file and thread. I guess choose this solution because it was similar to the GPIO IRQs. Originally, this was 1

[PATCH 0/3] debobs support for OMAP3430.

2008-10-01 Thread Peter 'p2' De Schrijver
This patch adds support for debug observability on OMAP3430 using the ETK lines. A new interface for using debug GPIOs is provided. This interface makes sure the debobs subsystem is initialized before actual gpiolib calls are made. Peter 'p2' De Schrijver (3): Add definitions for ETK pads

[PATCH 3/3] Add debobs Kconfig item

2008-10-01 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile |3 +++ arch/arm/plat-omap/Kconfig |7 +++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index e18da0c..a30d5ff

[PATCH 1/3] Add definitions for ETK pads and debobs registers

2008-10-01 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/plat-omap/include/mach/control.h | 34 + 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/mach/control.h b/arch/arm/plat-omap/include/mach/control.h

[PATCH 2/3] Debobs and ETK padconf implementation

2008-10-01 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/debobs.c | 239 ++ arch/arm/plat-omap/include/mach/debobs.h |7 + 2 files changed, 246 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/debobs.c

[PATCH 0/2] PM counters

2008-10-01 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-01 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock.c b

[PATCH 1/2] PM counter infrastructure.

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

[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

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

2008-10-07 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-power.c | 290 +++-- include/linux/i2c/twl4030.h | 64 2 files changed, 181 insertions(+), 173 deletions(-) diff --git a/drivers/i2c/chips/twl4030-power.c b

[PATCH 2/3] Add pm-debug counters

2008-10-07 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm-debug.c| 153 - arch/arm/mach-omap2/pm.h | 19 +--- arch/arm/plat-omap/include/mach/powerdomain.h | 14 ++- 3 files changed, 87 insertions(+), 99

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/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

  1   2   >