Re: [PATCH 1/9] omap: define _toggle_gpio_edge_triggering only for OMAP1

2010-02-03 Thread Uwe Kleine-König
Hi Tony, On Tue, Feb 02, 2010 at 06:25:55PM -0800, Tony Lindgren wrote: From: Uwe Kleine-König u.kleine-koe...@pengutronix.de The only usage of _toggle_gpio_edge_triggering is in an CONFIG_ARCH_OMAP1 is defined, too. This sentence is broken, isn't it? I guess git commit played tricks on me

[PATCH] dspbridge: Simplify Atoi() method

2010-02-03 Thread Andy Shevchenko
From: Andy Shevchenko ext-andriy.shevche...@nokia.com Try to use simple_strtol() kernel native method instead. However, there are opened questions: - why type of Atoi() is s32 if the sign is used only to detect base? - should we really to check hex integers like DEAD0123h? - how many spaces

[PATCH V2 0/3] McSPI Slave, FIFO support on OMAP

2010-02-03 Thread Hemanth V
This patch series adds support for slave, FIFO for McSPI on OMAP. DMA and FIFO could be enabled together for better throughput. Platform config parameters have been added to enable these features on any particular McSPI controller. FIFO can be enabled by defining fifo_depth parameter. fifo_depth

PATCH[V2 1/3]: Update Platform files for SPI

2010-02-03 Thread Hemanth V
From ee48142ddc43129a21676dbb56a83e3e7d8063de Mon Sep 17 00:00:00 2001 From: Hemanth V heman...@ti.com Date: Fri, 27 Nov 2009 14:22:30 +0530 Subject: [PATCH] Update platform files This patch updates platform files for fifo, slave support Signed-off-by: Hemanth V heman...@ti.com ---

PATCH[V2 2/3]: Adds support for FIFO

2010-02-03 Thread Hemanth V
From 5faa83f37c0aaa73e2a03780d2b1dfe9469d1e2e Mon Sep 17 00:00:00 2001 From: Hemanth V heman...@ti.com Date: Wed, 2 Dec 2009 18:13:13 +0530 Subject: [PATCH] Adds support for FIFO and auto chip select mode DMA and FIFO could be enabled together for better throughput. Platform config parameters

[PATCH V2 3/3] Add support for Slave mode

2010-02-03 Thread Hemanth V
From c13e2181154c793a71e132ab374bba1720ca421c Mon Sep 17 00:00:00 2001 From: Hemanth V heman...@ti.com Date: Fri, 27 Nov 2009 14:37:20 +0530 Subject: [PATCH] Add McSPI slave support. This patch adds support for mcspi slave mode. Signed-off-by: Hemanth V heman...@ti.com ---

dspbridge patches in patchwork

2010-02-03 Thread Ameya Palande
Hi Tony, As more and more people start contributing to dspbridge code (as we have seen recently) tracking patches is becoming difficult. Is it possible to delegate dspbridge patches to dspbridge maintainer in patchwork? Cheers, Ameya. -- To unsubscribe from this list: send the line unsubscribe

Re: linux-next: manual merge of the omap_dss2 tree with the omap tree

2010-02-03 Thread Grazvydas Ignotas
hi, On Wed, Feb 3, 2010 at 6:29 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in arch/arm/mach-omap2/board-omap3pandora.c between commit f8b6f704105164eac7c043a48f79c4234e03e4b2 (omap: Rename hsmmc symbols to reflect

Re: [PATCHv3] omap3: cpuidle: Update statistics for correct state

2010-02-03 Thread Kevin Hilman
Sanjeev Premi pr...@ti.com writes: When 'enable_off_mode' is 0, the target power state for MPU and CORE was locally changed to PWRDM_POWER_RET but, the statistics are updated for idle state originally selected by the governor. This patch 'invalidates' the idle states that lead either of

Re: [RFC] [PATCH] omapfb: Fix 12-bit display (RGB444 color mode) handling

2010-02-03 Thread Janusz Krzysztofik
Tomi Valkeinen wrote: On Thu, 2010-01-14 at 21:25 +0100, ext Janusz Krzysztofik wrote: Support for RGB444 (12-bit) pixel format has been introduced into omapfb/lcdc by Mark Underwood on 2006-05-26 (commit f74edb6668aad9fc8e81585861b18f996c78a574) in preparation for Amstrad Delta (E3)

Re: [PATCH 1/9] omap: define _toggle_gpio_edge_triggering only for OMAP1

2010-02-03 Thread Tony Lindgren
* Uwe Kleine-König u.kleine-koe...@pengutronix.de [100203 00:10]: Hi Tony, On Tue, Feb 02, 2010 at 06:25:55PM -0800, Tony Lindgren wrote: From: Uwe Kleine-König u.kleine-koe...@pengutronix.de The only usage of _toggle_gpio_edge_triggering is in an CONFIG_ARCH_OMAP1 is defined, too.

Re: dspbridge patches in patchwork

2010-02-03 Thread Tony Lindgren
* Ameya Palande ameya.pala...@nokia.com [100203 04:24]: Hi Tony, As more and more people start contributing to dspbridge code (as we have seen recently) tracking patches is becoming difficult. Is it possible to delegate dspbridge patches to dspbridge maintainer in patchwork? Yeh sure.

Re: dspbridge patches in patchwork

2010-02-03 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [100203 09:00]: * Ameya Palande ameya.pala...@nokia.com [100203 04:24]: Hi Tony, As more and more people start contributing to dspbridge code (as we have seen recently) tracking patches is becoming difficult. Is it possible to delegate dspbridge

Re: [PATCH 1/9] omap: define _toggle_gpio_edge_triggering only for OMAP1

2010-02-03 Thread Uwe Kleine-König
Hello Tony, On Wed, Feb 03, 2010 at 08:57:55AM -0800, Tony Lindgren wrote: BTW, looks like with git show --pretty=email the From: field gets messed up in the patch below. Author name shows OK in git though. I wonder if that's a git bug for --pretty=email? Using version 1.6.6.1 it seems.

Re: linux-next: manual merge of the omap_dss2 tree with the omap tree

2010-02-03 Thread Tony Lindgren
* Grazvydas Ignotas nota...@gmail.com [100203 04:27]: hi, On Wed, Feb 3, 2010 at 6:29 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in arch/arm/mach-omap2/board-omap3pandora.c between commit

Re: [PATCH 1/9] omap: define _toggle_gpio_edge_triggering only for OMAP1

2010-02-03 Thread Tony Lindgren
* Uwe Kleine-König u.kleine-koe...@pengutronix.de [100203 09:07]: Hello Tony, On Wed, Feb 03, 2010 at 08:57:55AM -0800, Tony Lindgren wrote: BTW, looks like with git show --pretty=email the From: field gets messed up in the patch below. Author name shows OK in git though. I wonder if

Re: dspbridge patches in patchwork

2010-02-03 Thread Ameya Palande
On Wed, 2010-02-03 at 18:08 +0100, ext Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [100203 09:00]: * Ameya Palande ameya.pala...@nokia.com [100203 04:24]: Hi Tony, As more and more people start contributing to dspbridge code (as we have seen recently) tracking patches is

Re: dspbridge patches in patchwork

2010-02-03 Thread Ameya Palande
Hi Omar, On Wed, 2010-02-03 at 18:08 +0100, ext Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [100203 09:00]: * Ameya Palande ameya.pala...@nokia.com [100203 04:24]: Hi Tony, As more and more people start contributing to dspbridge code (as we have seen recently) tracking

Re: [PATCH] OMAP3: Serial: Improved sleep logic

2010-02-03 Thread Tony Lindgren
* Tero Kristo tero.kri...@nokia.com [100202 01:38]: From: Tero Kristo tero.kri...@nokia.com Only RX interrupt will now kick the sleep prevent timer. In addition, TX fifo status is checked before disabling clocks, this will prevent occasional garbage being printed on serial line. Smartidle is

[APPLIED] [PATCH 3/3] omap iommu: fix incorrect address for supersection 1st entry

2010-02-03 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Branch in linux-omap: for-next Initial commit ID (Likely to change): b816b551d730ef50548cf35031832c4882823808 PatchWorks http://patchwork.kernel.org/patch/72616/ Git (Likely to change, and takes a while to get

[RFC] OMAP3: PM: disable twl4030 sleep sequence before reboot

2010-02-03 Thread Mike Turquette
When TWL4030 power scripts are enabled, the sleep script must be disabled before rebooting, if using DPLL3 reset. DPLL3 reset drives SYS_OFFMODE low, causing TWL4030 to initiate the sleep script. This script collapses VDD1 and VDD2 voltages, usually after the warm reset has happened but while

[PATCH 1/2] MFD: TWL4030: introduce remove_script function

2010-02-03 Thread Mike Turquette
New function twl4030_remove_script(u8 flags) takes a script type as defined in twl.h and prevents any script already loaded in that position from running. This is accomplished by programming SEQ_ADD_* to 0x3f, the END_OF_SCRIPT value, where SEQ_ADD_* is determined by flags. Signed-off-by: Mike

[PATCH 2/2] OMAP3: PM: remove TWL4030 A2S script before reboot

2010-02-03 Thread Mike Turquette
Removes TWL4030 sleep script prior to rebooting, only on OMAP3. This is necessary since DPLL3 reset causes SYS_OFFMODE pin to go low, resulting in the sleep script being executed on TWL4030. This usually results in VDD1 VDD2 voltage collapse while ROM code is executing, followed by an MPU Watch

Re: [PATCH v9 0/4] OMAP: McBSP: Use register cache

2010-02-03 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@nokia.com [100118 00:05]: Hello, On Thursday 14 January 2010 17:58:29 ext Janusz Krzysztofik wrote: Change the way McBSP registers are maintained: store values written to the device in a cache in order to make use of those cached values when convenient.

[PATCH 0/3] DSPBRIDGE: MEM Module cleanup series

2010-02-03 Thread Ameya Palande
This series contains patches which remove following things from the MEM module: 1. MEM_CHECK memory leak debugging mechanism 2. MEM_Free() function 3. MEM_VFree() function Ameya Palande (3): DSPBRIDGE: Get rid of MEM_CHECK mechanism DSPBRIDGE: Get rid of MEM_Free() DSPBRIDGE: Get rid of

[PATCH 1/3] DSPBRIDGE: Get rid of MEM_CHECK mechanism

2010-02-03 Thread Ameya Palande
kmemleak offeres the same functionality as custom MEM_CHECK mechanism, so get rid of MEM_CHECK. Signed-off-by: Ameya Palande ameya.pala...@nokia.com --- drivers/dsp/bridge/services/mem.c | 212 + 1 files changed, 2 insertions(+), 210 deletions(-) diff --git

[PATCH 3/3] DSPBRIDGE: Get rid of MEM_VFree()

2010-02-03 Thread Ameya Palande
vfree() is NULL safe so MEM_VFree() doesn't provide any significant advantage. By getting rid of MEM_VFree() and the NULL pointer check associated with it, we can save on: 1. One level of indirection which translates to a function call cost. 2. NULL pointer checking cost. Signed-off-by: Ameya

[PATCH 2/3] DSPBRIDGE: Get rid of MEM_Free()

2010-02-03 Thread Ameya Palande
kfree() is NULL and ZERO pointer safe so MEM_Free() doesn't provide any significant advantage. By getting rid of MEM_Free() and the NULL pointer check associated with it, we can save on: 1. One level of indirection which translates to a function call cost. 2. NULL pointer checking cost.

[PATCH/RFC 1/2] OMAP: omap_device: add omap_device_has_lost_context()

2010-02-03 Thread Kevin Hilman
Add new function omap_device_has_lost_context() as a simple check to be used after omap_device_enable() to determine if device has lost context (and thus needs context restore.) Motivation: Currently, each driver needs to read the context-loss count before suspend, and again upon resume to

[PATCH/RFC 2/2] OMAP: PM: initial runtime PM support

2010-02-03 Thread Kevin Hilman
Implement the new runtime PM framework as a thin layer on top of the omap_device API. Since we don't have an OMAP-specific bus, override the runtime PM hooks for the platform_bus for the OMAP specific implementation. While the runtime PM API has three main states (idle, suspend, resume) This

RE: [Patch 1/8] DSPBRIDGE: typedef cleanup -DSP RTOS

2010-02-03 Thread Hebbar, Shivananda
Fernando, -Original Message- From: Guzman Lugo, Fernando Sent: Wednesday, February 03, 2010 12:27 AM To: Hebbar, Shivananda; linux-omap Subject: RE: [Patch 1/8] DSPBRIDGE: typedef cleanup -DSP RTOS -Original Message- From: linux-omap-ow...@vger.kernel.org

Re: [Patch 1/8] DSPBRIDGE: typedef cleanup -DSP RTOS

2010-02-03 Thread Felipe Contreras
On Thu, Feb 4, 2010 at 2:24 AM, Hebbar, Shivananda x0heb...@ti.com wrote: Why was it changed to long and not to unsigned int as it as defined before (u32) or int which is the tiye return by Atoi? I didn't understand your question here.  Long and int are both signed 32 bit type. Not on all

[PATCH/RFC 0/4] convert HS-MMC driver to hwmod + runtime PM

2010-02-03 Thread Kevin Hilman
This series converts the OMAP HS-MMC driver to use omap_hwmod + runtime PM API. Depends on MMC hwmods available in 'pm-wip/hwmods' branch of my git tree[1] as well as previously posted runtime PM series: [PATCH/RFC 0/2] initial runtime PM layer for OMAP The easies way to experiment/test is

[PATCH/RFC 1/4] MMC: OMAP HS-MMC: convert to dev_pm_ops

2010-02-03 Thread Kevin Hilman
Convert PM operations to use dev_pm_ops. This will facilitate the runtime PM coversion which will add to dev_pm_ops hooks. Note that dev_pm_ops version of the suspend hook no longer takes a 'state' argument. However, the MMC core function mmc_suspend_host() still takes a 'state' argument, but

[PATCH/RFC 2/4] OMAP3EVM: MMC: enable power-saving mode

2010-02-03 Thread Kevin Hilman
Signed-off-by: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/board-omap3evm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 346c448..ff849b9 100644 ---

[PATCH/RFC 3/4] OMAP: MMC (core): split device registration by OMAP

2010-02-03 Thread Kevin Hilman
From: Paul Walmsley p...@pwsan.com Split OMAP-common MMC device registration into OMAP1 and OMAP2 components. This is in preparation for the omap_device conversion of the HSMMC portions. Original version by Paul: http://marc.info/?l=linux-omapm=124419789024565w=2 Updated for current linux-omap

[PATCH/RFC 4/4] OMAP2/3 MMC: initial conversion to runtime PM

2010-02-03 Thread Kevin Hilman
Convert the HSMMC driver to use the runtime PM layer. A notable aspect of this is that the use of the dev_attr data from the omap_hwmod allows the redaction of all of the integration-specific hacks inside this driver. Regulator control has not yet been converted; the driver still uses the

Re: [PATCH v3 2/2] ARM : OMAP4 : MUSB : Add USB support to 4430 SDP board file

2010-02-03 Thread Tony Lindgren
* Maulik x0082...@ti.com [100202 03:15]: From: Tony Lindgren [mailto:t...@atomide.com] Sent: Tuesday, February 02, 2010 3:47 AM To: Felipe Balbi Cc: ext Maulik Mankad; linux-omap@vger.kernel.org; linux-u...@vger.kernel.org; David Brownell; Greg Kroah-Hartman; Sergei Shtylyov; Olof Johansson

Re: [alsa-devel] [PATCH 0/4] ASOC: Add AM3517 EVM support in ASOC

2010-02-03 Thread Tony Lindgren
* Aggarwal, Anuj anuj.aggar...@ti.com [100129 00:13]: -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Friday, October 30, 2009 4:00 AM To: Aggarwal, Anuj Cc: alsa-de...@alsa-project.org; linux-omap@vger.kernel.org; t...@atomide.com

OMAP3 migrating: partition / clock

2010-02-03 Thread Arno Steffen
I am trying to migrate from kernel 28 to 32 on TI OMA3. Our board is derived from EVM board. In new kernel I can't see the partitions in flash, and found no file to set them. Also I do get this warning now while boot: Hierarchical RCU implementation. NR_IRQS:368 Clocking rate