Re: [PATCH 1/1] OMAP: I2C: Add mpu wake up latency constraint in i2c

2009-10-01 Thread Jarkko Nikula
Hi Kalle Few minor comments below. On Thu, 17 Sep 2009 19:28:43 +0300 Kalle Jokiniemi kalle.jokini...@digia.com wrote: -static u32 i2c_rate[ARRAY_SIZE(i2c_resources)]; +static struct omap_i2c_bus_platform_data i2c_pdata[ARRAY_SIZE(i2c_resources)]; static struct platform_device

[PATCH] OMAP3: PM: introduce a new powerdomain walk helper

2009-10-01 Thread Artem Bityutskiy
From: Artem Bityutskiy artem.bityuts...@nokia.com The 'pwrdm_for_each()' function walks powerdomains with a spinlock locked, so the the callbacks cannot do anything which may sleep. This patch introduces a 'pwrdm_for_each_nolock()' helper which does the same, but without the spinlock locked. This

Re: linux-omap git tree updated to v2.6.32-rc1, important changes, please read

2009-10-01 Thread Roger Quadros
ext Tony Lindgren wrote: * Gadiyar, Anand gadi...@ti.com [090930 10:05]: Anyway, I haven't been able to make 2.6.31 boot on beagleboard, and other people report similar issues: http://www.spinics.net/lists/linux-omap/msg17968.html Have you got 2.6.32-rc1 (+fixes) to boot? Hmm, looks like it's

Re: [PATCH 1/1] OMAP: I2C: Add mpu wake up latency constraint in i2c

2009-10-01 Thread Kalle Jokiniemi
On Thu, 2009-10-01 at 09:10 +0300, Jarkko Nikula wrote: Hi Kalle Few minor comments below. On Thu, 17 Sep 2009 19:28:43 +0300 Kalle Jokiniemi kalle.jokini...@digia.com wrote: -static u32 i2c_rate[ARRAY_SIZE(i2c_resources)]; +static struct omap_i2c_bus_platform_data

Re: linux-omap git tree updated to v2.6.32-rc1, important changes, please read

2009-10-01 Thread Alexander Shishkin
2009/10/1 Roger Quadros ext-roger.quad...@nokia.com: ext Tony Lindgren wrote: * Gadiyar, Anand gadi...@ti.com [090930 10:05]: Anyway, I haven't been able to make 2.6.31 boot on beagleboard, and other people report similar issues: http://www.spinics.net/lists/linux-omap/msg17968.html Have

Re: linux-omap git tree updated to v2.6.32-rc1, important changes, please read

2009-10-01 Thread Roger Quadros
ext Tony Lindgren wrote: * Gadiyar, Anand gadi...@ti.com [090930 10:05]: Anyway, I haven't been able to make 2.6.31 boot on beagleboard, and other people report similar issues: http://www.spinics.net/lists/linux-omap/msg17968.html Have you got 2.6.32-rc1 (+fixes) to boot? Hmm, looks like it's

Re: linux-omap git tree updated to v2.6.32-rc1, important changes, please read

2009-10-01 Thread Roger Quadros
ext Alexander Shishkin wrote: 2009/10/1 Roger Quadros ext-roger.quad...@nokia.com: ext Tony Lindgren wrote: * Gadiyar, Anand gadi...@ti.com [090930 10:05]: Anyway, I haven't been able to make 2.6.31 boot on beagleboard, and other people report similar issues:

[PATCH v2] twl4030: Fix boot with twl4030 usb transceiver enabled

2009-10-01 Thread Roger Quadros
The usb regulator supplies (usb1v5, usb1v8 usb3v1) must be available before adding the twl4030_usb child, else twl4030_usb_ldo_init() will always fail thus causing boot lock-up. This patch fixes boot on OMAP systems using the twl4030 usb transceiver. CONFIG_TWL4030_USB=y Signed-off-by: Roger

Re: linux-omap git tree updated to v2.6.32-rc1, important changes, please read

2009-10-01 Thread Roger Quadros
Roger Quadros wrote: ext Alexander Shishkin wrote: 2009/10/1 Roger Quadros ext-roger.quad...@nokia.com: ext Tony Lindgren wrote: * Gadiyar, Anand gadi...@ti.com [090930 10:05]: Anyway, I haven't been able to make 2.6.31 boot on beagleboard, and other people report similar issues:

Re: linux-omap git tree updated to v2.6.32-rc1, important changes, please read

2009-10-01 Thread Roger Quadros
Roger Quadros wrote: ext Alexander Shishkin wrote: 2009/10/1 Roger Quadros ext-roger.quad...@nokia.com: ext Tony Lindgren wrote: * Gadiyar, Anand gadi...@ti.com [090930 10:05]: Anyway, I haven't been able to make 2.6.31 boot on beagleboard, and other people report similar issues:

Re: [PATCH v2] twl4030: Fix boot with twl4030 usb transceiver enabled

2009-10-01 Thread Artem Bityutskiy
On Thu, 2009-10-01 at 11:25 +0300, Roger Quadros wrote: if (twl_has_bci() pdata-bci !(features TPS_SUBSET)) { child = add_child(3, twl4030_bci, @@ -532,16 +531,61 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features) } if

Re: [PATCH v2] twl4030: Fix boot with twl4030 usb transceiver enabled

2009-10-01 Thread Roger Quadros
Artem Bityutskiy wrote: On Thu, 2009-10-01 at 11:25 +0300, Roger Quadros wrote: if (twl_has_bci() pdata-bci !(features TPS_SUBSET)) { child = add_child(3, twl4030_bci, @@ -532,16 +531,61 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features)

[PATCH] omap3: ehci build-fix

2009-10-01 Thread Anand Gadiyar
omap3: ehci build-fix Commit b5d4fdd9 (omap: ehci: remove chargepump hack) by me introduced a build error. Fix this. Signed-off-by: Anand Gadiyar gadi...@ti.com --- Apologies for introducing this. I'm prettuy sure I build tested on several platforms before sending it out, so I suppose I sent

Re: [PATCH 1/1] OMAP: I2C: Add mpu wake up latency constraint in i2c

2009-10-01 Thread Aaro Koskinen
Hello, Kalle Jokiniemi wrote: On Wed, 2009-09-30 at 19:36 +0300, Kevin Hilman wrote: Seems like the latency value should also be (optionally) passed in pdata so this can be experimented with per-platform. Well, it kind of is already, since we pass the function that sets the latency from

[PATCH v3 0/4] TWL patch series

2009-10-01 Thread Krishnamoorthy, Balaji T
This patch series v3 incorporates comments received earlier[1]. The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030 for OMAP3. The common modules like RTC, Regulator creates opportunity to re-use the most of the code from twl4030. [PATCH v3 01/04] ARM: OMAP: Rename

Re: [PATCH] omap3: ehci: remove DPLL5 programming

2009-10-01 Thread Felipe Balbi
On Wed, Sep 30, 2009 at 07:37:01PM +0200, ext Anand Gadiyar wrote: omap3: ehci: remove DPLL5 programming DPLL5 programming should be taken care of by the clock framework. The driver should not need to worry about programming this explicitly. Also, the DPLL5 m and n values used were valid

[PATCH v3 01/04] ARM: OMAP: Rename twl4030* driver files to enable re-use

2009-10-01 Thread balajitk
From: Santosh Shilimkar santosh.shilim...@ti.com The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030 for OMAP3. The common modules like RTC, Regulator creates opportunity to re-use the most of the code from twl4030. This patch renames few common drivers twl4030* files to

[PATCH v3 02/04] ARM: OMAP: Rename all twl4030_i2c*.

2009-10-01 Thread balajitk
From: Balaji T K balaj...@ti.com This patch renames function names like twl4030_i2c_write_u8, twl4030_i2c_read_u8 to twl_i2c_write_u8, twl_i2c_read_u8. I2C address for modules(MADC, Battery Charger, Audio, RTC) have changed between 4030 and 6030. Base address of these module register also

[PATCH v3 04/04] ARM: OMAP: Rename twl4030_ to twl_ in twl-regulator.c to make it generic reg

2009-10-01 Thread balajitk
From: Rajendra Nayak rna...@ti.com This patch renames all twl4030_ functions to twl so that regulator driver can be reused by Triton - TWL4030 and Phoenix - TWL6030. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Santosh Shilimkar

[PATCH v3 0/4] TWL6030 patch series

2009-10-01 Thread Krishnamoorthy, Balaji T
This patch series v3 incorporates comments received earlier[1]. The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030 for OMAP3. This patch series adds support for TWL6030 irq framework, and driver support for RTC and regulator. These patches has dependancy on TWL patch

[PATCH v3 01/04] OMAP4: PMIC: Add support for twl6030 irq framework

2009-10-01 Thread balajitk
From: Balaji T K balaj...@ti.com This version of patch series enables RUN TIME selection of TWL4030 or TWL6030. CONFIG_TWL4030_CORE and CONFIG_TWL6030_CORE is replaced by CONFIG_TWL_CORE This patch adds support for phoenix interrupt framework. New Interrupt status register A, B, C are introduced

[PATCH v3 02/04] OMAP4: PMIC: Add support for twl6030 RTC

2009-10-01 Thread balajitk
From: Balaji T K balaj...@ti.com This version of patch series enables RUN TIME selection of TWL4030 or TWL6030. This patch adds support for RTC in phoenix TWL6030. Register offset addresses have changed in TWL6030 rtc-twl.c will hence forth support all twl RTC (4030, 5030, 6030 ..)

[PATCH v3 04/04] OMAP4: PMIC: Update TWL mfd driver to create twl6030 regulators

2009-10-01 Thread balajitk
From: Rajendra Nayak rna...@ti.com This version of patch series enables RUN TIME selection of TWL4030 or TWL6030. This patch adds initial support for creating twl6030 PMIC specific voltage regulators in the twl mfd driver. Board specific regulator configurations will have to be passed from

Re: [PATCH v3 02/04] ARM: OMAP: Rename all twl4030_i2c*.

2009-10-01 Thread Amit Kucheria
On 09 Oct 01, balaj...@ti.com wrote: From: Balaji T K balaj...@ti.com This patch renames function names like twl4030_i2c_write_u8, twl4030_i2c_read_u8 to twl_i2c_write_u8, twl_i2c_read_u8. I2C address for modules(MADC, Battery Charger, Audio, RTC) have changed between 4030 and 6030.

RE: [PATCH v3 01/04] ARM: OMAP: Rename twl4030* driver files to enable re-use

2009-10-01 Thread Krishnamoorthy, Balaji T
On Thu, Oct 01, 2009 at 05:46:49PM +0530, balaj...@ti.com wrote: The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030 for OMAP3. The common modules like RTC, Regulator creates opportunity to re-use the most of the code from twl4030. This patch renames few common

Re: [PATCH v3 01/04] ARM: OMAP: Rename twl4030* driver files to enable re-use

2009-10-01 Thread Mark Brown
On Thu, Oct 01, 2009 at 06:26:57PM +0530, Krishnamoorthy, Balaji T wrote: The patch which is posted now will make both codec to use the same i2c read /write api like twl_i2c_write_u8, twl_i2c_read_u8 ... Ah, I see. In that case I'm fine with the change. -- To unsubscribe from this list: send

RE: [PATCH v3 01/04] ARM: OMAP: Rename twl4030* driver files to enable re-use

2009-10-01 Thread Shilimkar, Santosh
Mark, -Original Message- From: Krishnamoorthy, Balaji T Sent: Thursday, October 01, 2009 6:27 PM To: Mark Brown Cc: linux-omap@vger.kernel.org; sa...@linux.intel.com; w...@iguana.be; timo.t.kokko...@nokia.com; ben-li...@fluff.org; l...@slimlogic.co.uk; p_gortma...@yahoo.com;

Re: [PATCH v3 01/04] OMAP4: PMIC: Add support for twl6030 irq framework

2009-10-01 Thread Amit Kucheria
Hi Balaji, Some comments inline. On 09 Oct 01, balaj...@ti.com wrote: From: Balaji T K balaj...@ti.com This version of patch series enables RUN TIME selection of TWL4030 or TWL6030. CONFIG_TWL4030_CORE and CONFIG_TWL6030_CORE is replaced by CONFIG_TWL_CORE This patch adds support for

RE: [PATCH v3 01/04] OMAP4: PMIC: Add support for twl6030 irq framework

2009-10-01 Thread Shilimkar, Santosh
Amit, snip -Original Message- From: Amit Kucheria [mailto:amit.kuche...@verdurent.com] On Behalf Of Amit Kucheria Sent: Thursday, October 01, 2009 6:46 PM To: Krishnamoorthy, Balaji T Cc: linux-omap@vger.kernel.org; sa...@linux.intel.com; w...@iguana.be; timo.t.kokko...@nokia.com;

[PATCH] omap_hsmmc: Add missing probe handler hook to platform driver data

2009-10-01 Thread Roger Quadros
The missing probe handler hook will never probe the driver. Add it back. Fixes broken MMC on OMAP. Signed-off-by: Roger Quadros ext-roger.quad...@nokia.com --- drivers/mmc/host/omap_hsmmc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

Re: [PATCH 1/1] OMAP: I2C: Add mpu wake up latency constraint in i2c

2009-10-01 Thread Kevin Hilman
Kalle Jokiniemi kalle.jokini...@digia.com writes: On Wed, 2009-09-30 at 19:36 +0300, Kevin Hilman wrote: Kalle Jokiniemi kalle.jokini...@digia.com writes: While waiting for completion of the i2c transfer, the MPU could hit OFF mode and cause several msecs of delay that made i2c

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-10-01 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@nokia.com writes: On Wed, 2009-09-30 at 20:31 +0200, ext Kevin Hilman wrote: On Fri, Sep 25, 2009 at 2:19 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Thu, 2009-09-24 at 17:52 +0200, ext Kevin Hilman wrote: Tomi Valkeinen wrote: If it is not like

[PATCHv3 0/1] Runtime detection of Si features

2009-10-01 Thread Sanjeev Premi
This version is essentially same patch as [1]; but refreshed against the tip (2bf0f78). The change in text corresponding to the closing #endif in cpu.h required change in the last line of the patch. [1] http://patchwork.kernel.org/patch/41989/ Sanjeev Premi (1): Runtime detection of Si

[PATCHv3 1/1] Runtime detection of Si features

2009-10-01 Thread Sanjeev Premi
The OMAP35x family has multiple variants differing in the HW features. This patch detects these features at runtime and prints information during the boot. Since most of the code seemed repetitive, macros have been used for readability. Signed-off-by: Sanjeev Premi pr...@ti.com ---

[ANNOUNCE] updated PM branch, based on 2.6.32-rc1

2009-10-01 Thread Kevin Hilman
Hello, I've rebased/updated the PM branch based on current linux-omap master branch (2.6.32-rc1 based.) I've also updated the OMAP Power Management wiki, and the 'Current version' section highlights the changes, supported platforms as well as the features that have made it into mainline.

Re: [PATCH v3 02/04] OMAP4: PMIC: Add support for twl6030 RTC

2009-10-01 Thread Kevin Hilman
balaj...@ti.com writes: From: Balaji T K balaj...@ti.com This version of patch series enables RUN TIME selection of TWL4030 or TWL6030. This patch adds support for RTC in phoenix TWL6030. Register offset addresses have changed in TWL6030 rtc-twl.c will hence forth support all twl RTC

[PATCH 1/2] OMAP3: PM: 3430SDP: add initial twl4030 power scripts

2009-10-01 Thread Kevin Hilman
Now that twl4030 power support is upstream, add the original power scripts for the 3430SDP to the board setup. Signed-off-by: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/board-3430sdp.c | 82 +++ 1 files changed, 82 insertions(+), 0

[PATCH 2/2] OMAP3: PM: 3430SDP: Update twl4030 power scripts and device groups

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com This patch updates the sleep and wake sequences and updates the device group associations: Sleep sequence: -1-Turn off HFCLKOUT -2-Turn off Vdd1 -3-Turn off Vdd2 -4-Turn off VPLL1 Wakeup p3 sequence -1-Turn on HFCLKOUT Wakeup P12 sequence -1-Turn on HFCLKOUT

Re: [PATCH 0/2] twl4030 power support for 3430SDP

2009-10-01 Thread Amit Kucheria
On 09 Oct 01, Kevin Hilman wrote: I've been carrying these in the PM branch, but now that twl4030 power support is in mainline, these can be queued for 2.6.33. Kevin Hilman (1): OMAP3: PM: 3430SDP: add initial twl4030 power scripts Rajendra Nayak (1): OMAP3: PM: 3430SDP: Update

[APPLIED] [PATCH] omap_hsmmc: Add missing probe handler hook to platform

2009-10-01 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Branch in linux-omap: omap-fixes-testing Initial commit ID (Likely to change): ff50faceca4c78184af7087e2368a5c869688755 PatchWorks http://patchwork.kernel.org/patch/50970/ Git (Likely to change, and takes a while to

[APPLIED] [PATCH] omap3: ehci build-fix

2009-10-01 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Branch in linux-omap: ehci Initial commit ID (Likely to change): ef9909c11242859d307c32b438444adb095c610e PatchWorks http://patchwork.kernel.org/patch/50916/ Git (Likely to change, and takes a while to get mirrored)

Re: [PATCH 0/2] twl4030 power support for 3430SDP

2009-10-01 Thread Kevin Hilman
Amit Kucheria amit.kuche...@canonical.com writes: On 09 Oct 01, Kevin Hilman wrote: I've been carrying these in the PM branch, but now that twl4030 power support is in mainline, these can be queued for 2.6.33. Kevin Hilman (1): OMAP3: PM: 3430SDP: add initial twl4030 power scripts

[PATCH 00/28] OMAP3: PM: base OFF-mode support

2009-10-01 Thread Kevin Hilman
Thus begins the next round of patches from the PM branch to be submitted for 2.6.33. It primarily consists of context save and restore for the core HW blocks, but not the drivers. I have a little cleanup of changelogs and some possible combining of patches to do before the final submission, but

[PATCH 01/28] OMAP3: PM: GPMC context save/restore

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com This patch adds the context save restore functions for GPMC Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/gpmc.c | 93 arch/arm/plat-omap/include/mach/gpmc.h |3 + 2 files changed, 96

[PATCH 02/28] OMAP3: PM: GPIO context save/restore

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/plat-omap/gpio.c | 92 arch/arm/plat-omap/include/mach/gpio.h |3 +- 2 files changed, 94 insertions(+), 1 deletions(-) diff --git

[PATCH 03/28] OMAP3: PM: INTC context save/restore

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/irq.c | 66 arch/arm/plat-omap/include/mach/irqs.h |5 ++ 2 files changed, 71 insertions(+), 0 deletions(-) diff --git

[PATCH 04/28] OMAP3: PM: PRCM context save/restore

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/prcm.c| 370 + arch/arm/plat-omap/include/mach/control.h |2 + arch/arm/plat-omap/include/mach/prcm.h|5 + 3 files changed, 377

[PATCH 05/28] OMAP3: PM: Populate scratchpad contents

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com This patch populates the scratchpad contents as expected by the bootROM code. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/control.c | 203 + arch/arm/plat-omap/include/mach/control.h | 10 ++ 2

[PATCH 06/28] OMAP3: PM: SCM context save/restore

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com This patch adds the System control module context save/restore Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/control.c | 151 + arch/arm/plat-omap/include/mach/control.h |2 + 2 files changed,

[PATCH 08/28] OMAP3: PM: handle PER/NEON/CORE in idle

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/pm34xx.c | 64 +++-- 1 files changed, 54 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index

[PATCH 09/28] OMAP3: PM: Restore MMU table entry

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com During the MMU restoration on the restore path from MPU OFF, the page table entry for the page consisting of the code being executed is modified to make MMU return VA=PA. The MMU is then enabled and the original entry is being stored in scratchpad. This patch

[PATCH 10/28] OMAP3: PM: MPU off-mode support

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/pm34xx.c| 11 ++- arch/arm/mach-omap2/sleep34xx.S | 11 --- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c

[PATCH 11/28] OMAP3: PM: CORE domain off-mode support

2009-10-01 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/pm34xx.c | 73 +++- arch/arm/plat-omap/include/mach/sram.h |1 + 2 files changed, 73 insertions(+), 1 deletions(-) diff --git

[PATCH 12/28] OMAP: PM: DMA context save / restore

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/mach-omap2/pm34xx.c |3 +++ arch/arm/plat-omap/dma.c | 26 ++ arch/arm/plat-omap/include/mach/dma.h |3 +++ 3 files changed, 32

[PATCH 13/28] OMAP: PM: off-mode support for DMA on EMU/HS devices

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com - DMA interrupt disable routine added - Added DMA controller reset to DMA context restore Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/plat-omap/dma.c | 15 +++ arch/arm/plat-omap/include/mach/dma.h |2 ++ 2

[PATCH 14/28] OMAP3 PM: off-mode support for HS/EMU devices

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/mach-omap2/control.c |8 - arch/arm/mach-omap2/pm.h|3 ++ arch/arm/mach-omap2/pm34xx.c| 44 ++- arch/arm/mach-omap2/sleep34xx.S | 75

[PATCH 15/28] OMAP3: PM: save secure RAM only during init

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com The function omap3_save_secure_ram() is now called only once during the initialization of the device and consequent sleep cycles will re-use the same saved contents for secure RAM. Users who need secure services should do secure RAM saving before entering

[PATCH 16/28] OMAP3: PM: Enable SDRAM auto-refresh during sleep

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com Fix for ES3.0 bug: SDRC not sending auto-refresh when OMAP wakes-up from OFF mode (warning for HS devices.) Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/mach-omap2/pm34xx.c | 29 + 1 files changed, 29

[PATCH 17/28] PM: Added three PLL registers to the PRCM context save

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com These registers are now also saved: CM_CLKSEL4 CM_CLKEN CM_CLKEN2 Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/mach-omap2/prcm.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git

[PATCH 18/28] PM: Changed secure RAM storage size from 0x8000 to 0x803F

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com Without this, causes some random crashes related to memory management. Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/mach-omap2/pm34xx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c

[PATCH 19/28] OMAP3: PM: Save and restore also CM_CLKSEL1_PLL_IVA2

2009-10-01 Thread Kevin Hilman
From: Jouni Hogander jouni.hogan...@nokia.com CM_CLKSEL1_PLL_IVA2 is not saved/restored currently. This patch is adding save and restore for it. Signed-off-by: Jouni Hogander jouni.hogan...@nokia.com --- arch/arm/mach-omap2/prcm.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-)

[PATCH 20/28] OMAP3: PM: Fix secure SRAM context save/restore

2009-10-01 Thread Kevin Hilman
From: Kalle Jokiniemi kalle.jokini...@digia.com The secure sram context save uses dma channels 0 and 1. In order to avoid collision between kernel DMA transfers and ROM code dma transfers, we need to reserve DMA channels 0 1 on high security devices. A bug in ROM code leaves dma irq status bits

[PATCH 21/28] ARM: OMAP: Add missing SMS_SYSCONFIG save/restore

2009-10-01 Thread Kevin Hilman
From: Kalle Jokiniemi kalle.jokini...@digia.com SMS_SYSCONFIG register gets reset in off mode, added a save/restore mechanism for that. Signed-off-by: Kalle Jokiniemi kalle.jokini...@digia.com --- arch/arm/mach-omap2/pm34xx.c |1 + arch/arm/mach-omap2/sdrc.c | 27

[PATCH 22/28] OMAP3: PM: Fix PLL_MOD CLKEN offset in scratchpad

2009-10-01 Thread Kevin Hilman
From: Kalle Jokiniemi kalle.jokini...@digia.com The CM_CLKEN_PLL register saved in scratchpad memory was wrongly using offset of 0x0004 instead of 0x. The effect of this was that boot ROM code would restore the wrong value when waking up from off mode. This wrong value, however, will be

[PATCH 23/28] OMAP: PM: Clear DMA channel state after a wakeup

2009-10-01 Thread Kevin Hilman
From: Aaro Koskinen aaro.koski...@nokia.com Clear DMA channel states so that users can assume a known initial state. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/plat-omap/dma.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH 24/28] OMAP: Store reboot mode in scratchpad on OMAP34xx

2009-10-01 Thread Kevin Hilman
From: Juha Yrjola juha.yrj...@solidboot.com The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the reboot mode. Signed-off-by: Juha Yrjola juha.yrj...@solidboot.com

[PATCH 25/28] OMAP3: PM: SDRC auto-refresh workaround for off-mode

2009-10-01 Thread Kevin Hilman
From: Tero Kristo tero.kri...@nokia.com Errata: ES3.0 SDRC not sending auto-refresh when OMAP wakes-up from OFF mode Signed-off-by: Tero Kristo tero.kri...@nokia.com --- arch/arm/mach-omap2/control.c |8 ++- arch/arm/mach-omap2/sleep34xx.S | 84

[PATCH 27/28] PM: Disable usb host HW save and restore

2009-10-01 Thread Kevin Hilman
From: Kalle Jokiniemi kalle.jokini...@digia.com The hardware SAVEANDRESTORE mechanism seems to leave USB HOST power domain permanently into active state after one transition from off to active state. Disabling for now. Signed-off-by: Kalle Jokiniemi ext-kalle.jokini...@nokia.com ---

[PATCH 26/28] OMAP3: PM: Fix INTC context save/restore

2009-10-01 Thread Kevin Hilman
From: Aaro Koskinen aaro.koski...@nokia.com Wrong index was used for ILR. Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- arch/arm/mach-omap2/irq.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index

[RFC][PATCH 0/2] OMAP3:PM:SR Refactor

2009-10-01 Thread Nishanth Menon
Hi, Smart Reflex sequencing recommendation has improved in recent times and presents an opportunity to refactor the code to add in understanding that we have of the system. The patch set replaces smartreflex.c with a new revision. This revision is meant to be RFC due to the nature of intrusive

[RFC][PATCH 1/2] OMAP3:PM:SR: prepare: remove old SR code

2009-10-01 Thread Nishanth Menon
Preparation: remove original smart reflex code base. This prevents the refactor appearing as a confusing diff and hindering patch review process. Signed-off-by: Nishanth Menon n...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: Roger Quadros ext-roger.quad...@nokia.com Cc: Kalle Jokiniemi

[RFC][PATCH 2/2] OMAP3:PM:SR: SmartReflex Refactor Rev2.0

2009-10-01 Thread Nishanth Menon
Refactor the smart reflex implementation. Original implementation summary: Kalle Jokiniemi (1): OMAP3: PM: SmartReflex driver integration Phil Carmody (2): OMAP3: PM: Don't do unnecessary searches in omap_sr_vdd*_autocomp_store OMAP3: PM: Early exit on invalid parameters

Re: [RFC][PATCH 0/2] OMAP3:PM:SR Refactor

2009-10-01 Thread Nishanth Menon
Menon, Nishanth had written, on 10/01/2009 07:31 PM, the following: Hi, Smart Reflex sequencing recommendation has improved in recent times and presents an opportunity to refactor the code to add in understanding that we have of the system. The patch set replaces smartreflex.c with a new

Re: [PATCH 0/2] twl4030 power support for 3430SDP

2009-10-01 Thread Amit Kucheria
On 09 Oct 01, Kevin Hilman wrote: Amit Kucheria amit.kuche...@canonical.com writes: On 09 Oct 01, Kevin Hilman wrote: I've been carrying these in the PM branch, but now that twl4030 power support is in mainline, these can be queued for 2.6.33. Kevin Hilman (1): OMAP3: PM: