Re: [PATCH RFC]OMAP3:PM:Dynamic Calculation of SDRC stall latency during DVFS

2010-03-01 Thread Högander Jouni
ext Reddy, Teerth tee...@ti.com writes: Hi Jouni, -Original Message- From: Högander Jouni [mailto:jouni.hogan...@nokia.com] Sent: Monday, February 15, 2010 2:27 PM To: Reddy, Teerth Cc: linux-omap@vger.kernel.org; Sripathy, Vishwanath; Paul Walmsley; Kevin Hilman Subject: Re

Re: [PATCH RFC]OMAP3:PM:Dynamic Calculation of SDRC stall latency during DVFS

2010-02-15 Thread Högander Jouni
ext Reddy, Teerth tee...@ti.com writes: From: Teerth Reddy tee...@ti.com Dynamic Calculation of SDRC stall latency during DVFS The patch has the changes to calculate the dpll3 clock stabilization delay dynamically. The SRAM delay is calibrated during bootup using the gptimers and used

Re: [PATCH 02/04] OMAP3: PM: Prevent AUTO_RET and AUTO_OFF being enabled simultaneously

2009-06-16 Thread Högander Jouni
ext Rajendra Nayak rna...@ti.com writes: There is a design requirement in OMAP3 that Auto_RET and AUTO_OFF should not be set together. The PRCM FSM has been coded assuming that SW will set either auto_ret or auto_off bit depending on whether the core has been programmed to go into open

Re: [PATCH 01/04] OMAP3: PM: Disable PER DPLL idle before OFF, reduces OFF latency by 20ms

2009-06-16 Thread Högander Jouni
ext Rajendra Nayak rna...@ti.com writes: If autoidle for DPLL4 is enabled in the stored scratchpad value of CM_AUTOIDLE_PLL then there is an added delay by the boot ROM when coming out of OFF mode. The patch disables this bitfield in the stored scratchpad value. This should significantly

Re: [PATCH 02/06] OMAP3: PM: Add PER wakeup dependency on WKUP domain

2009-05-28 Thread Högander Jouni
ext Rajendra Nayak rna...@ti.com writes: This patch adds a Wakeup dependency of PER domain on WKUP domain as a Workaround for a OMAP3430 limitation which causes PER domain GPIO's to drive random values while coming back from OFF mode. This limitation applies to all silicon rev's of OMAP3430.

Re: Problems in cpuidle

2009-03-09 Thread Högander Jouni
ext Premi, Sanjeev pr...@ti.com writes: While working with cpuidle, I have come across these problems. I am also working on the solutions, but would be good to hear more thoughts. 1) The flag 'enable_dyn_sleep' is honoured only in omap3_idle_bm_check() but in the C1 state,

Re: [PATCHv2] PM : cpuidle - Update statistics for correct state

2009-03-09 Thread Högander Jouni
ext Sanjeev Premi pr...@ti.com writes: When 'enable_off_mode' is 0, and (mpu_state PWRDM_POWER_RET) the local variables mpu_state and core_state are modified; but the usage count for the original state selected by the governor are updated. This patch updates the 'last_state' in the cpuidle

Re: [PATCHv2] PM : cpuidle - Update statistics for correct state

2009-03-09 Thread Högander Jouni
ext Premi, Sanjeev pr...@ti.com writes: -Original Message- From: Högander Jouni [mailto:jouni.hogan...@nokia.com] Sent: Monday, March 09, 2009 3:38 PM To: Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: Re: [PATCHv2] PM : cpuidle - Update statistics for correct state

Re: [PATCH PM 1/2] OMAP McSPI: Fix context save/restore

2009-02-05 Thread Högander Jouni
ext Hemanth V heman...@ti.com writes: - Original Message - From: Kevin Hilman khil...@deeprootsystems.com To: Hemanth V heman...@ti.com Cc: Aaro Koskinen aaro.koski...@nokia.com; linux-omap@vger.kernel.org Sent: Thursday, February 05, 2009 7:59 PM Subject: Re: [PATCH PM 1/2] OMAP

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

2009-02-03 Thread Högander 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 : Unfortuately this breaks

Re: new PM branch available

2009-01-23 Thread Högander Jouni
ext Nayak, Rajendra rna...@ti.com writes: I did some testing today on my 3.0GP 3430SDP. This is with the omap_3430sdp_min_defconfig. 1) Idle. echo -n 1 /sys/power/clocks_off_while_idle echo -n 1 /sys/power/enable_off Could not hit RET. something seems to be still active. Not sure if it

Re: Bug in linux omap clock framework?

2008-12-11 Thread Högander Jouni
ext Tomi Valkeinen [EMAIL PROTECTED] writes: Hi, On Mon, 2008-12-08 at 02:24 -0700, ext Paul Walmsley wrote: Hi Tomi, On Mon, 8 Dec 2008, Tomi Valkeinen wrote: On Sat, 2008-12-06 at 16:51 -0700, ext Paul Walmsley wrote: Hi Tomi, nice test case. On Fri, 5 Dec 2008,

Re: Bug in linux omap clock framework?

2008-12-10 Thread Högander Jouni
Tomi Valkeinen [EMAIL PROTECTED] writes: On Wed, 2008-12-10 at 09:37 +0200, Högander Jouni wrote: ext Tomi Valkeinen [EMAIL PROTECTED] writes: Hi, On Mon, 2008-12-08 at 02:24 -0700, ext Paul Walmsley wrote: Hi Tomi, On Mon, 8 Dec 2008, Tomi Valkeinen wrote: On Sat, 2008-12

Re: Bug in linux omap clock framework?

2008-12-10 Thread Högander Jouni
Tomi Valkeinen [EMAIL PROTECTED] writes: On Wed, 2008-12-10 at 10:44 +0200, Högander Jouni wrote: Tomi Valkeinen [EMAIL PROTECTED] writes: On Wed, 2008-12-10 at 09:37 +0200, Högander Jouni wrote: ext Tomi Valkeinen [EMAIL PROTECTED] writes: Hi, On Mon, 2008-12-08 at 02:24

Re: Bug in linux omap clock framework?

2008-12-09 Thread Högander Jouni
ext Tomi Valkeinen [EMAIL PROTECTED] writes: Hi, On Mon, 2008-12-08 at 02:24 -0700, ext Paul Walmsley wrote: Hi Tomi, On Mon, 8 Dec 2008, Tomi Valkeinen wrote: On Sat, 2008-12-06 at 16:51 -0700, ext Paul Walmsley wrote: Hi Tomi, nice test case. On Fri, 5 Dec 2008,

Re: Oops in MMC

2008-12-02 Thread Högander Jouni
ext Premi, Sanjeev [EMAIL PROTECTED] writes: Hi, I was trying to mount the filesystem from MMC card on OMAP3EVM. Came across this oops. However, when I boot via ramdisk/NFS and mount /dev/mmcblk0p2; there is no oops. Anything missing in the configuration? Here is my snapshot

Re: [PATCH 1/1] OMAP3: DMA: Enable idlemodes for DMA OCP

2008-12-01 Thread Högander Jouni
ext Kalle Jokiniemi [EMAIL PROTECTED] writes: This patch enables MStandby smart-idle mode, autoidle smartidle mode, and the autoidle bit for DMA4_OCP_SYSCONFIG. Signed-off-by: Kalle Jokiniemi [EMAIL PROTECTED] --- arch/arm/plat-omap/dma.c | 13 +

[PATCH PM-20081106 0/3] Build fixes into pm-20081106 branch

2008-11-18 Thread Högander Jouni
This patch set fixes miscellaneous build problems in pm-20081106 branch. -- Jouni Högander -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] OMAP: MCSPI: Enable mcspi wake-up

2008-11-18 Thread Högander Jouni
Felipe Balbi [EMAIL PROTECTED] writes: On Tue, Nov 18, 2008 at 03:00:37PM +0200, Jouni Högander wrote: Currently mcspi wake-ups are not enabled. This might cause case where OMAP is not waking up on mcspi events. Signed-off-by: Jouni Hogander [EMAIL PROTECTED] ---

Re: [PATCH] OMAP: MCSPI: Enable mcspi wake-up

2008-11-18 Thread Högander Jouni
ext David Brownell [EMAIL PROTECTED] writes: On Tuesday 18 November 2008, Felipe Balbi wrote: +#define OMAP2_MCSPI_SYSCONFIG_SMARTIDLE  (0x2 3) +#define OMAP2_MCSPI_SYSCONFIG_ENAWAKEUP  (0x1 2) could you follow the convention below and use (1 offset) ?? Or even BIT(offset).

Re: [PATCH 1/1] ARM: OMAP3: PM: Add feature to wake from suspend on timer

2008-11-17 Thread Högander Jouni
ext David Brownell [EMAIL PROTECTED] writes: On Friday 14 November 2008, Timo-Pekka Launonen wrote: If a non-zero value is written to /sys/power/wakeup_timer_seconds, A timer wakeup event will wake the system and resume after the configured number of seconds. /sys/class/rtc/rtc0/wakealarm

Re: [PATCH] OMAP3 powerdomains: remove RET from SGX power states list

2008-11-12 Thread Högander Jouni
ext Kevin Hilman [EMAIL PROTECTED] writes: Högander Jouni wrote: ext Paul Walmsley [EMAIL PROTECTED] writes: Hi Jouni, On Fri, 7 Nov 2008, Högander Jouni wrote: What do you Paul think about patch below: I'm okay with it, but one potential problem: won't this prevent the chip from

Re: [PATCH PM-20081106] OMAP3: UART: Make sure that uart clocks are enabled when needed

2008-11-12 Thread Högander Jouni
ext Jouni Hogander [EMAIL PROTECTED] writes: Current implementation makes it possible that printouts are written into UART while its clocks are disabled. This causes freeze. Now I got how this new uart clock handling works. Event thought this fix is not too sensible it actually does what is

Re: new PM branch: pm-20081106

2008-11-12 Thread Högander Jouni
ext Kevin Hilman [EMAIL PROTECTED] writes: Rajendra Nayak [EMAIL PROTECTED] writes: I am seeing a couple of issues on the 3430sdp with this latest pm branch. With the omap_3430sdp_min_defconfig I see a system freeze after bootup after the debug UART inactivity. Also system wide suspend

Re: [PATCH PM-20081106] OMAP3: UART: Make sure that uart clocks are enabled when needed

2008-11-12 Thread Högander Jouni
On Wed, Nov 12, 2008 at 6:43 PM, Högander Jouni [EMAIL PROTECTED] wrote: ext Jouni Hogander [EMAIL PROTECTED] writes: Current implementation makes it possible that printouts are written into UART while its clocks are disabled. This causes freeze. Now I got how this new uart clock handling works

Re: [PATCH] OMAP3 powerdomains: remove RET from SGX power states list

2008-11-10 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hi Jouni, On Fri, 7 Nov 2008, Högander Jouni wrote: What do you Paul think about patch below: I'm okay with it, but one potential problem: won't this prevent the chip from entering retention, since SGX will be set to ON? Yes, you are right

Re: [PATCH] OMAP3 powerdomains: remove RET from SGX power states list

2008-11-07 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: On Wed, 5 Nov 2008, Tony Lindgren wrote: * Paul Walmsley [EMAIL PROTECTED] [081105 11:39]: The SGX device on OMAP3 does not support retention, so remove RET from the list of possible SGX power states. Problem debugged by Richard Woodruff

Re: [PATCH 2/3] Add pm-debug counters

2008-10-15 Thread Högander Jouni
ext Peter 'p2' De Schrijver [EMAIL PROTECTED] writes: 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. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm-debug.c

Re: [PATCH 1/3] clk: introduce omap_clk_associate

2008-10-15 Thread Högander Jouni
ext Tony Lindgren [EMAIL PROTECTED] writes: * Igor Stoppa [EMAIL PROTECTED] [081014 14:12]: On Tue, 2008-10-14 at 13:59 -0700, ext Tony Lindgren wrote: And that we can use same naming in the driver no matter which omap :) Wasn't that one of the main features of the clock FW, when it was

Re: [PATCH 15/16] OMAP3: Dynamic enable/disable of OFF support

2008-09-30 Thread Högander Jouni
ext Kevin Hilman [EMAIL PROTECTED] writes: Rajendra Nayak [EMAIL PROTECTED] writes: I just managed to see that this patch seems to break suspend functionality. If after bootup I enable OFF mode the subsequent suspend tries to put a few power domains to OFF which are currently in RET, and

Re: [PATCH PM-0] ARM: OMAP3: HSMMC: Ensure HSMMC is fully reset on boot

2008-09-18 Thread Högander Jouni
ext Felipe Balbi [EMAIL PROTECTED] writes: On Thu, Sep 18, 2008 at 03:22:32PM +0300, ext Kevin Hilman wrote: This ensures that an unused HSMMC block will not interfere with sleep. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] It was observed that bootrom code initializes mmc in such a way

Re: [PATCH 04/12] I2C re-init for every cmd

2008-09-12 Thread Högander Jouni
ext chandra shekhar [EMAIL PROTECTED] writes: agreed..but i guess it will not compile for 2430 and prev. platforms. omap3_i2c_save_context and restore definition is under macro while call is not. let me know if i am missing something. also is SYSC register restore needed?? Here is the

Re: [PATCH 04/12] I2C re-init for every cmd

2008-09-11 Thread Högander Jouni
ext shekhar, chandra [EMAIL PROTECTED] writes: Hi, Few comments inlined. Regards, Chandra - Original Message - From: Högander Jouni [EMAIL PROTECTED] To: ext Rajendra Nayak [EMAIL PROTECTED] Cc: linux-omap@vger.kernel.org Sent: Thursday, September 11, 2008 3:34 PM Subject: Re

Re: [PATCH 4/4] Sysfs interface for controlling suspend states + set_pwrdm_state fix

2008-09-08 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello Tero, On Wed, 27 Aug 2008, Tero Kristo wrote: Target states for each powerdomain can now be set via sysfs interface. E.g. echo 0 /sys/power/suspend/mpu_pwrdm will program MPU suspend state to be OFF. Is this all debugging code, or is

Re: [PATCH 09/12] CORE OFF support in omap_sram_idle

2008-09-08 Thread Högander Jouni
Hello Rajendra, one more comment from me... ext Rajendra Nayak [EMAIL PROTECTED] writes: struct omap3_processor_cx omap3_power_states[OMAP3_MAX_STATES]; Index: linux-omap-2.6/arch/arm/mach-omap2/pm34xx.c === ---

Re: [PATCH 1/4] PM: Dynamic GPIO clock handling

2008-09-05 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello Tero, Jouni, so is this basically a workaround patch? Yes in new format. Please do not use word workaround;) a few comments: On Wed, 27 Aug 2008, Tero Kristo wrote: From: ext Jouni Hogander [EMAIL PROTECTED] In omap3 gpios 2-6 are in

Re: [PATCH 12/12] CORE OFF macro added, disabled by default

2008-09-03 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: WARNING: Enabling this option may cause your device to hang! +config OMAP_CPUIDLE_CORE_OFF + bool CORE OFF support in CPUIdle + depends on ARCH_OMAP34XX + default n + help + Say Y if you want to enable CORE OFF

Re: [PATCH 01/16] ARM: OMAP2 Provide function to enable/disable uart clocks

2008-08-19 Thread Högander Jouni
ext Russell King - ARM Linux [EMAIL PROTECTED] writes: On Fri, Jun 06, 2008 at 06:47:42PM -0700, Tony Lindgren wrote: This patch adds common function to enable/disable omap2/3 uart clocks. Enabled uarts are passed by bootloader in atags and clocks for these enabled uarts are touched. In

[PATCH 0/4] Refreshed PM workaround patches 2.

2008-08-15 Thread Högander Jouni
Refreshed PM workaround set without coding style errors and 24xx build fixed. Here are instructions how to test them: To get Omap into retention, this patch set still depends on: 1. ARCH: OMAP: MUSB: Do not block sleep (Felipe Balbi) Test: 1. Apply dependency patch and workaround set on top of

Re: getnstimeofday() and suspend

2008-08-15 Thread Högander Jouni
ext Igor Stoppa [EMAIL PROTECTED] writes: On Fri, 2008-08-15 at 12:32 +0300, ext [EMAIL PROTECTED] wrote: This behavior of the getnstimeofday() is breaking pm-debug and the serial console wakeup hack if we use suspend. Enabling RTC module seems to fix some of the issues in some cases, but we

Re: getnstimeofday() and suspend

2008-08-15 Thread Högander Jouni
Igor Stoppa [EMAIL PROTECTED] writes: On Fri, 2008-08-15 at 12:55 +0300, Högander Jouni wrote: Using them both would also generate more complexity. What would be the benefit in using them both? The RTC should be used during suspend since it's supposed to keep track of time regardless

Re: [PATCH 00/11] OMAP3 CPUidle patches - ver 2

2008-08-13 Thread Högander Jouni
://vger.kernel.org/majordomo-info.html -- Jouni Högander -- Jouni Högander -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 03/10] OMAP3 SRF: omap3 srf driver

2008-08-13 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: +int set_pd_latency(struct shared_resource *resp, u32 latency) +{ + u32 pd_lat_level, ind, i; + struct pd_latency_db *pd_lat_db; + struct powerdomain *pwrdm; + + pd_lat_db = resp-resource_data; + pwrdm = pd_lat_db-pd; +

Re: [PATCH 04/10] OMAP3 SRF: OMAP PM srf implementation

2008-08-13 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 12:47 PM To: ext Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH 04/10] OMAP3 SRF: OMAP PM srf implementation

Re: [PATCH 00/11] OMAP3 CPUidle patches - ver 2

2008-08-13 Thread Högander Jouni
Hi Richard, ext Woodruff, Richard [EMAIL PROTECTED] writes: Doing this would make serial console to work faster. Yes, I removed these in my patches and put in the changes suggested by Richard in 8250.c I doubt that your changes to 8250.c will be applied. I have understood that omap

Re: [RFC] OMAP3: CPUIDLE PM: Modifications and fixes

2008-08-11 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello Jouni, a couple of questions about these patches On Tue, 8 Jul 2008, Jouni Hogander wrote: With this patch cpuidle boot problem with cpuidle doesn't exist. Also hang on wake-up seems to disappear (haven't seen this far). Main

Re: [RFC] OMAP3: CPUIDLE PM: Modifications and fixes

2008-08-11 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello Jouni, On Mon, 11 Aug 2008, Högander Jouni wrote: ext Paul Walmsley [EMAIL PROTECTED] writes: Could you explain a little further why PER would have a wakeup dependency on CORE? Is this something that we should only enable under certain

Re: [PATCH] OMAP3: CPUIDLE PM: check_bm fix.

2008-07-11 Thread Högander Jouni
ext Woodruff, Richard [EMAIL PROTECTED] writes: The current check will: On activity raise a cpuidle bus master activity failure for some number of seconds. This allows normal typing for extended periods. It does this by marking UART function IRQs with a time stamp and it checks internal

Re: [PATCH] OMAP3: CPUIDLE PM: check_bm fix.

2008-07-10 Thread Högander Jouni
Hi, ext Woodruff, Richard [EMAIL PROTECTED] writes: Hi, I think we have now all the pieces here to get stable cpuidle + pm_idle + suspend + off mode with minimal configuration on SDP board. Could you Rajendra now gather these together and prepare new patch set in sensible format?

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-09 Thread Högander Jouni
ext Woodruff, Richard [EMAIL PROTECTED] writes: [x] Has anyone fixed the broken gpio wakeup enable code? Right now this might even kill you as it will clear you wakeup enable register. This could stop you from waking from a partially idle/clock stop

Re: [PATCH] OMAP3: CPUIDLE PM: check_bm fix.

2008-07-09 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Jouni Hogander [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 12:00 PM To: linux-omap@vger.kernel.org; [EMAIL PROTECTED] Subject: [PATCH] OMAP3: CPUIDLE PM: check_bm fix. This patch fixes problems

Re: [PATCH] OMAP3: CPUIDLE PM: check_bm fix.

2008-07-09 Thread Högander Jouni
: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 12:29 PM To: ext Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH] OMAP3: CPUIDLE PM: check_bm fix. ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-08 Thread Högander Jouni
ext Woodruff, Richard [EMAIL PROTECTED] writes: I am still trying to find my way thru the codebase in GIT; but here is what I can suggest based on similar problem diagnosed (still under test) on the OMAP3EVM: 1) Save/restore the GPIO_IRQENABLE1, GPIO_IRQENABLE2 2) Save/restore the

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-08 Thread Högander Jouni
ext Woodruff, Richard [EMAIL PROTECTED] writes: For sure save/restore of IRQENABLE is needed. Our Labrador board which has Ethernet on per-gpio would stop to function after an OFF mode transition with out this save and restore (using CDP reference code). I think this is not related

Re: Kernel hang on OMAP3 based Beagle board, RTC issue?

2008-07-07 Thread Högander Jouni
Hi, ext Gadiyar, Anand [EMAIL PROTECTED] writes: Hi All, snip Tried that and I get the same hang, so I don't think the RTC is to blame. Short update just in case anybody has an idea: Gadiyar spent some time with git-bisect (thanks!): It seems that the bad commit is

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-07 Thread Högander Jouni
Kalle Jokiniemi [EMAIL PROTECTED] writes: On pe, 2008-07-04 at 15:15 +0530, ext Rajendra Nayak wrote: ... ext Högander Jouni [EMAIL PROTECTED] writes: ... 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

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-04 Thread Högander Jouni
Hi Rajendra, ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Peter 'p2' De Schrijver [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 9:13 PM To: ext Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH 00/11] OMAP3 CPUidle patches Hi

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-04 Thread Högander Jouni
Let's continue this discussion in here to make sure that everybody sees it. ext Högander Jouni [EMAIL PROTECTED] writes: Hi Rajendra, ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Peter 'p2' De Schrijver [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-04 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 3:02 PM To: ext Rajendra Nayak Cc: 'Peter 'p2' De Schrijver'; linux-omap@vger.kernel.org Subject: Re: [PATCH 00/11] OMAP3 CPUidle patches

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-04 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 3:02 PM To: ext Rajendra Nayak Cc: 'Peter 'p2' De Schrijver'; linux-omap@vger.kernel.org Subject: Re: [PATCH 00/11] OMAP3 CPUidle patches

Re: [PATCH 00/11] OMAP3 CPUidle patches

2008-07-03 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: Hi, The following patches define and enable all of the below mentioned C states for OMAP3. These are tested with a minimal kernel config on OMAP3430sdp as most drivers today don't have context save/restore in place and some even lack

Re: 34xx off-mode support fixes

2008-07-03 Thread Högander Jouni
Hi Tero, ext Tero Kristo [EMAIL PROTECTED] writes: Hi, This patch set contains some experimental fixes for the cpu-idle support from Rajendra Nayak. With this patch set, all power domains enter OFF mode and recover from it, at least while using suspend and/or dynamic idle. If you are using

Re: [PATCH 01/11] Basic cpuidle driver

2008-07-02 Thread Högander Jouni
Hi, General comment on this patch using top posting. There is no irq disabling at all in cpuidle loop now. That might cause problems. If you don't want to add that global irq disable you can still add it to omap3 enter function. Do you think this is not needed? ext Rajendra Nayak [EMAIL

Re: [PATCH 02/11] per/neon and core handling in idle

2008-07-02 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: This patches adds handling of PER/NEON and CORE domain in idle. Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/cpuidle34xx.c | 98 +++--- arch/arm/mach-omap2/cpuidle34xx.h |6 +-

Re: [PATCH 05/11] scratchpad contents

2008-07-02 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: This patch populates the scratchpad Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm.h|7 + arch/arm/mach-omap2/pm34xx.c| 170 +++-

Re: [PATCH 06/11] mpu off state enabled

2008-07-02 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: This patch updates the CPUidle code to handle MPU OFF related C states Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/cpuidle34xx.c | 19 +++ arch/arm/mach-omap2/cpuidle34xx.h |5 + 2 files

Re: [PATCH 11/11] CORE context save/restore

2008-07-02 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: This patch adds the CORE context save/restore routines - save/restores the following 1) PRCM registers 2) INTC context 3) System Control module context 4) Padconf Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] ---

Re: [PATCH 02/11] per/neon and core handling in idle

2008-07-02 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:19 PM To: ext Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH 02/11] per/neon and core handling in idle ext

Re: [PATCH 11/11] CORE context save/restore

2008-07-02 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 6:06 PM To: ext Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH 11/11] CORE context save/restore ext Rajendra Nayak

[PATCH 0/6] 34XX: PM: Workarounds to get omap3 to retention 4th.

2008-06-30 Thread Högander Jouni
Hi, This patch set contains all workarounds that are needed to get omap3 to retention. Also patch from Tero Kristo to get PM to work if using serial console is included in this set. Basically all patches in this set should be reverted one by one as correct fixes are implemented and applied. This

Re: [PATCH 01/02] OMAP3 CPUidle driver

2008-06-27 Thread Högander Jouni
ext Kevin Hilman [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Högander Jouni) writes: ext Kevin Hilman [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Högander Jouni) writes: ext Kevin Hilman [EMAIL PROTECTED] writes: Rajendra Nayak [EMAIL PROTECTED] writes: Rajendra Nayak [EMAIL

Re: [PATCH 6/7] 34XX: PM: Workaround for taking care of gpio clocks

2008-06-26 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jouni Hogander Sent: Wednesday, June 25, 2008 2:44 PM To: linux-omap@vger.kernel.org Subject: [PATCH 6/7] 34XX: PM: Workaround for taking care of

Re: [PATCH 6/7] 34XX: PM: Workaround for taking care of gpio clocks

2008-06-26 Thread Högander Jouni
ext Rajendra Nayak [EMAIL PROTECTED] writes: -Original Message- From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2008 5:46 PM To: ext Rajendra Nayak Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH 6/7] 34XX: PM: Workaround for taking care of gpio

Re: [PATCH 2/8] PRCM: Workaround for pwrdn_x control

2008-06-24 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello Jouni, On Tue, 17 Jun 2008, Jouni Hogander wrote: Clock path should be powered down only after all it's clients are properly disabled. Generally we don't have working implementation for checking wether some clock is enabled or disabled.

Re: [PATCH 01/02] OMAP3 CPUidle driver

2008-06-23 Thread Högander Jouni
ext Kevin Hilman [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Högander Jouni) writes: ext Kevin Hilman [EMAIL PROTECTED] writes: Rajendra Nayak [EMAIL PROTECTED] writes: Rajendra Nayak [EMAIL PROTECTED] writes: This patch adds the OMAP3 cpuidle driver. Irq enable/disable is done

Re: [PATCH v2] OMAP3 clock: fix omap2_clk_wait_ready for OMAP3430ES2 DSS

2008-06-23 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hi Jouni On Mon, 23 Jun 2008, Högander Jouni wrote: Hello Paul, It should actually wait for SSI also. Read my comments below. ... And add this part + if (cpu_is_omap34xx() +prcm_mod == OMAP34XX_CM_REGADDR(CORE_MOD, 0

Re: [PATCH] OMAP PM interface, version 2

2008-06-19 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello Jouni, On Wed, 18 Jun 2008, Högander Jouni wrote: ext Paul Walmsley [EMAIL PROTECTED] writes: Major changes since the first version: 1. Jouni Hogander suggested that the set_max_cpu_lat() function be merged

Re: [PATCH 7/8] 34XX: PM: Workaround to disable mmc

2008-06-18 Thread Högander Jouni
ext Madhusudhan Chikkature [EMAIL PROTECTED] writes: - Original Message - From: Högander Jouni [EMAIL PROTECTED] To: ext Felipe Balbi [EMAIL PROTECTED] Cc: linux-omap@vger.kernel.org Sent: Tuesday, June 17, 2008 5:39 PM Subject: Re: [PATCH 7/8] 34XX: PM: Workaround to disable mmc

Re: [PATCH] OMAP PM interface, version 2

2008-06-18 Thread Högander Jouni
ext Paul Walmsley [EMAIL PROTECTED] writes: Hello everyone, this is the second version of the OMAP PM interface patch. Major changes since the first version: 1. Jouni Hogander suggested that the set_max_cpu_lat() function be merged into set_max_dev_wakeup_lat(), when

[PATCH 0/8] 34XX: PM: Workarounds to get omap3 to retention 2nd.

2008-06-17 Thread Högander Jouni
This patch set contains all workarounds that are needed to get omap3 to retention. Also patch from Tero Kristo to get PM to work if using serial console is included in this set. Basically all patches in this set should be reverted one by one as correct fixes are implemented and applied. This

Re: [PATCH 7/8] 34XX: PM: Workaround to disable mmc

2008-06-17 Thread Högander Jouni
ext Felipe Balbi [EMAIL PROTECTED] writes: On Tue, 17 Jun 2008 10:31:11 +0300, Jouni Hogander [EMAIL PROTECTED] wrote: Current hsmmc is not pm friendly. Disable it because it prevents omap3 retention Disabling will just hide the bug. Better making it modular and let mmc guys dig on it.

Re: [PATCH 4/9] OMAP: Add new function to check wether there is irq pending

2008-05-20 Thread Högander Jouni
ext Tony Lindgren [EMAIL PROTECTED] writes: * Högander Jouni [EMAIL PROTECTED] [080519 01:05]: ext Tony Lindgren [EMAIL PROTECTED] writes: Hi, * Jouni Hogander [EMAIL PROTECTED] [080516 03:57]: Add common omap2/3 function to check wether there is irq pending. Switch to use

Re: [PATCH 4/9] OMAP: Add new function to check wether there is irq pending

2008-05-19 Thread Högander Jouni
ext Tony Lindgren [EMAIL PROTECTED] writes: Hi, * Jouni Hogander [EMAIL PROTECTED] [080516 03:57]: Add common omap2/3 function to check wether there is irq pending. Switch to use it in omap2 pm code instead of its own. Signed-off-by: Jouni Hogander [EMAIL PROTECTED] ---

[PATCH 0/9] 34XX: PM: Support for retention on suspend and idle

2008-05-16 Thread Högander Jouni
This patch set adds suspend and pm idle support for omap3. There are still lots of missing stuff so omap doesn't enter full retention without workaround patches. Workaround patches are sent in separate set. You can try these by applying this set and workaround set. Then boot the device and do

34XX: PM: Workarounds to get omap3 to retention

2008-05-16 Thread Högander Jouni
This patch set contains all workarounds that are needed to get omap3 to retention. Basically all patches in this set should be reverted one by one as correct fixes are implemented and applied. This set should be applied on top of 34XX: PM: Workarounds to get omap3 to retention set. -- Jouni

Re: [PATCH] PRCM: Combine 34xx l3_icks and l4_icks

2008-04-29 Thread Högander Jouni
ext Felipe Balbi [EMAIL PROTECTED] writes: On Mon, 28 Apr 2008 11:29:53 +0300, [EMAIL PROTECTED] (Högander Jouni) wrote: E.g dss_l3_ick and dss_l4_ick have same gating control. Having own clock for both of them causes race condition between enable / disable. This patch combines this kind