Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-17 Thread Shawn Guo
On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote: Change the parameter list of device_prep_dma_cyclic() so the DMA drivers can receive the no_wakeup request coming from client drivers. This feature can be used during audio operation to disable all audio related interrupts.

Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-17 Thread Peter Ujfalusi
On 09/17/2012 09:34 AM, Shawn Guo wrote: On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote: Change the parameter list of device_prep_dma_cyclic() so the DMA drivers can receive the no_wakeup request coming from client drivers. This feature can be used during audio operation to

Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-17 Thread Shawn Guo
On Mon, Sep 17, 2012 at 10:16:53AM +0300, Peter Ujfalusi wrote: All users of this callback is updated with this patch. The public API (dmaengine_prep_dma_cyclic) is only used by ASoC, which has been updated by the previous patch. Ah, ok. You actually changed dmaengine_prep_dma_cyclic

[PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-17 Thread AnilKumar Ch
Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status of I2C2 node to okay to use I2C2 bus. Also added all the required platform data to am335x-evm. Signed-off-by: AnilKumar Ch anilku...@ti.com ---

[PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-17 Thread AnilKumar Ch
Adds device tree support to lis3lv02d_i2c driver. Along with this DT init is moved from core driver to individual drivers, with the current implementation some pdata is missing in lis3lv02d_i2c driver. Also adds platform data for lis331dlh driver to am335x-EVM. These patches were tested on

[PATCH v3 2/4] lis3: lis3lv02d_spi: Add lis3lv02d device tree init

2012-09-17 Thread AnilKumar Ch
Add lis3lv02d device tree initialization code/API to take pdata from device node. Also remove CONFIG_OF ifdef from the driver, if CONFIG_OF is not defined then OF APIs returns 0. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc/lis3lv02d/lis3lv02d_spi.c |8 +--- 1 file

[PATCH v3 3/4] lis3: lis3lv02d_i2c: Add lis3lv02d device tree init

2012-09-17 Thread AnilKumar Ch
Add lis3lv02d device tree initialization code/API to take pdata from device node. Also adds device tree init matching table support to lis3lv02d_i2c driver. If the driver data is passed from device tree, then this driver picks up platform data from device node through common/generic lis3lv02d.c

[PATCH v3 1/4] lis3: lis3lv02d: remove lis3lv02d driver DT init

2012-09-17 Thread AnilKumar Ch
Remove lis3lv02d driver device tree initialization from core driver and move it to individual drivers. With the current implementation some pdata parameters are missing if we use lis3lv02d_init_device() in lis3lv02d_i2c driver. Signed-off-by: AnilKumar Ch anilku...@ti.com ---

RE: [PATCH v9 3/3] ARM: OMAP2+: gpmc: minimal driver support

2012-09-17 Thread Mohammed, Afzal
Hi Paul, On Wed, Sep 12, 2012 at 22:04:16, Paul Walmsley wrote: Two checkpatch warnings are added by this patch: I did checkpatch earlier, but without --strict I've fixed them here in the obvious way. But please make sure that all your patches are clean with 'checkpatch.pl --strict';

RE: [PATCH v9 1/3] ARM: OMAP2/3: hwmod data: add gpmc

2012-09-17 Thread Mohammed, Afzal
Hi Paul, On Thu, Sep 13, 2012 at 03:45:27, Paul Walmsley wrote: + HWMOD_INIT_NO_RESET | As I understand it, this is not due to any GPMC-related reset bugs, but just because the kernel is relying on the bootloader GPMC timing data being preserved. Is that

[PATCH 2/4] drivers/mmc/host/omap.c: fix error return code

2012-09-17 Thread Peter Senna Tschudin
From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl ( if@p1 (\(ret 0\|ret !=

[PATCH 3/4] drivers/mmc/host/omap_hsmmc.c: fix error return code

2012-09-17 Thread Peter Senna Tschudin
From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl ( if@p1 (\(ret 0\|ret !=

RE: [PATCH v6 10/10] ARM: OMAP2+: tusb6010: generic timing calculation

2012-09-17 Thread Mohammed, Afzal
Hi Tony, On Fri, Sep 14, 2012 at 15:50:02, Mohammed, Afzal wrote: * Mohammed, Afzal: Wednesday, September 12, 2012 3:20 PM But some of the tusb async values is less by one. I need to get it right. Reason has been identified. It was due to rounding error, no changes are required in the

Re: [PATCH v3 02/15] dmaengine: omap: Add support for pause/resume in cyclic dma mode

2012-09-17 Thread Peter Ujfalusi
Hi Vinod, On 09/17/2012 06:13 AM, Vinod Koul wrote: On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: - /* FIXME: not supported by platform private API */ - return -EINVAL; + /* Pause/Resume only allowed with cyclic mode */ + if (!c-cyclic) +

Re: [alsa-devel] [PATCH v3 00/15] ASoC: OMAP: Convert to use dmaengine

2012-09-17 Thread Peter Ujfalusi
Hi Vinod, On 09/17/2012 06:17 AM, Vinod Koul wrote: On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: Hello, dmaengine parts look good to me. How do you want to get this merged, dmaengine or ASoC tree? Thank you, I would prefer it to go via ASoC if it is not a problem. It is

Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-17 Thread Linus Walleij
On Thu, Sep 13, 2012 at 3:37 PM, Peter Ujfalusi peter.ujfal...@ti.com wrote: Change the parameter list of device_prep_dma_cyclic() so the DMA drivers can receive the no_wakeup request coming from client drivers. This feature can be used during audio operation to disable all audio related

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-17 Thread Marc Kleine-Budde
On 09/14/2012 03:06 PM, ABRAHAM, KISHON VIJAY wrote: [...] diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c new file mode 100644 index 000..c55446a --- /dev/null +++ b/drivers/phy/phy-core.c @@ -0,0 +1,437 @@ +/* + * phy-core.c -- Generic Phy framework. + * + *

Re: [alsa-devel] [PATCH v3 00/15] ASoC: OMAP: Convert to use dmaengine

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 11:44 +0300, Peter Ujfalusi wrote: Hi Vinod, On 09/17/2012 06:17 AM, Vinod Koul wrote: On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: Hello, dmaengine parts look good to me. How do you want to get this merged, dmaengine or ASoC tree? Thank you, I

Re: [PATCH v3 02/15] dmaengine: omap: Add support for pause/resume in cyclic dma mode

2012-09-17 Thread Vinod Koul
On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: The audio stack used omap_stop_dma/omap_start_dma to pause/resume the DMA. This method has been used for years on OMAP based products. We only allow pause/resume when the DMA has been configured in cyclic mode which is used by the

Re: [PATCH v3 03/15] dmaengine: Add flags parameter to dmaengine_prep_dma_cyclic()

2012-09-17 Thread Vinod Koul
On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: With this parameter added to dmaengine_prep_dma_cyclic() the API will be in sync with other dmaengine_prep_*() functions. The dmaengine_prep_dma_cyclic() function primarily used by audio for cyclic transfer required by ALSA, we use the

Re: [PATCH v3 04/15] dmaengine: Pass flags via device_prep_dma_cyclic() callback

2012-09-17 Thread Vinod Koul
On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: Change the parameter list of device_prep_dma_cyclic() so the DMA drivers can receive the flags coming from clients. This feature can be used during audio operation to disable all audio related interrupts when the DMA_PREP_INTERRUPT is

Re: [PATCH v3 05/15] dmaengine: omap-dma: Add support to suppress interrupts in cyclic mode

2012-09-17 Thread Vinod Koul
On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: When requested (DMA_PREP_INTERRUPT is cleared in flags) disable all DMA interrupts for the channel. In this mode user space does not expect periodic reports from kernel about the progress of the audio stream. PulseAudio for example

Re: [PATCH v3 04/15] dmaengine: Pass flags via device_prep_dma_cyclic() callback

2012-09-17 Thread Nicolas Ferre
On 09/14/2012 02:05 PM, Peter Ujfalusi : Change the parameter list of device_prep_dma_cyclic() so the DMA drivers can receive the flags coming from clients. This feature can be used during audio operation to disable all audio related interrupts when the DMA_PREP_INTERRUPT is cleared from the

Re: [PATCH] mtd: nand: omap2: Fix the nand-disk led trigger

2012-09-17 Thread Grazvydas Ignotas
On Thu, Sep 13, 2012 at 6:06 PM, Raphael Assenat r...@8d.com wrote: When the omap2 nand flash driver is used, the nand-disk led trigger does not work due to nand_wait_ready not being called. I think better solution is just to delete omap_wait() function, which is just a copy of nand_wait()

Re: [PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-17 Thread Arnd Bergmann
On Monday 17 September 2012, AnilKumar Ch wrote: Adds device tree support to lis3lv02d_i2c driver. Along with this DT init is moved from core driver to individual drivers, with the current implementation some pdata is missing in lis3lv02d_i2c driver. Also adds platform data for lis331dlh

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Arnd Bergmann
On Monday 17 September 2012, Vinod Koul wrote: On Fri, 2012-09-14 at 17:41 -0500, Jon Hunter wrote: +/** + * dma_request_slave_channel - try to allocate an exclusive slave channel + * @dev: pointer to client device structure + * @name: slave channel name + */ +struct

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-17 Thread Felipe Balbi
On Mon, Sep 17, 2012 at 11:19:53AM +0530, ABRAHAM, KISHON VIJAY wrote: Hi, On Mon, Sep 17, 2012 at 6:50 AM, Chen Peter-B29397 b29...@freescale.com wrote: The PHY framework provides a set of API's for the PHY drivers to create/remove a PHY and the PHY users to obtain a reference to

AW: [PATCH] ARM: Add config option DEBUG_DECOMPRESS_KERNEL

2012-09-17 Thread Maximilian Schwerin
-Ursprüngliche Nachricht- Von: Domenico Andreoli [mailto:domenico.andreoli...@gmail.com] Im Auftrag von Domenico Andreoli Gesendet: Montag, 17. September 2012 15:17 An: Maximilian Schwerin Cc: linux-arm-ker...@lists.infradead.org Betreff: Re: [PATCH] ARM: Add config option

[PATCH] AM35xx: Add missing hwmod entry for the HDQ/1-Wire present in AM3505/3517 CPUs.

2012-09-17 Thread Raphael Assenat
This patch adds a missing hwmod entry for the HDQ/1-Wire module present in the AM3505/17 CPUs. This restores 1-Wire support to our AM3505 boards. We think it probably stopped working with commit 96b1b29d37b0ca3ecd424a1fe301406cf525fc04 ARM: OMAP2+: HDQ1W: use omap_device Signed-off-by: Raphael

Re: [GIT PULL 1/7] omap non-critical fixes for v3.7 merge window

2012-09-17 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [120916 20:18]: On Thu, Sep 13, 2012 at 07:34:04PM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [120913 19:20]: The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700)

Re: [omap:tmp-merge 31/47] drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory

2012-09-17 Thread Tony Lindgren
* Fengguang Wu fengguang...@intel.com [120916 17:41]: Hi Tony, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git tmp-merge head: a742996f4643b4e9612fe081d146035964cfbd87 commit: 7d7e1eba7e92c2f9c76db80adc24836e7a114bfb [31/47] ARM:

Re: [PATCH 2/2] ARM: OMAP2+: Enable pinctrl dummy states

2012-09-17 Thread Matt Porter
On Tue, Sep 11, 2012 at 06:03:07PM -0700, Tony Lindgren wrote: * Matt Porter mpor...@ti.com [120911 12:05]: On Tue, Sep 11, 2012 at 11:35:22AM -0700, Tony Lindgren wrote: Added Linus Walleij to Cc as well. Now I think I really managed to add Linus W to Cc, sent too fast earlier. ...

[PATCH v2 0/2] Add pinctrl support to omap2-mcspi

2012-09-17 Thread Matt Porter
Changes since v1: - warns that pins are not configured by the driver rather than exiting - dummy states are only enabled for OMAP platforms where DT is not populated This series enables pinctrl support for McSPI. Platforms that boot only from DT and rely on

[PATCH v2 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-17 Thread Matt Porter
Adds pinctrl support to support OMAP platforms that boot from DT and rely on pinctrl support to set pinmuxes. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/spi/spi-omap2-mcspi.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/spi/spi-omap2-mcspi.c

[PATCH v2 2/2] ARM: OMAP2+: Enable pinctrl dummy states

2012-09-17 Thread Matt Porter
Enable pinctrl dummy states for all OMAP platforms that don't populate DT. This allows drivers to be converted to pinctrl and not generate new warnings on platforms that do not provide pinctrl data. These platforms already have pinmuxes configured before the drivers probe. Signed-off-by: Matt

Re: [PATCH v2 0/2] Add pinctrl support to omap2-mcspi

2012-09-17 Thread Matt Porter
On Mon, Sep 17, 2012 at 01:22:16PM -0400, Matt Porter wrote: Changes since v1: - warns that pins are not configured by the driver rather than exiting - dummy states are only enabled for OMAP platforms where DT is not populated This series enables pinctrl

Re: [PATCH v2 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-17 Thread Tony Lindgren
* Matt Porter mpor...@ti.com [120917 10:21]: Adds pinctrl support to support OMAP platforms that boot from DT and rely on pinctrl support to set pinmuxes. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/spi/spi-omap2-mcspi.c |8

Re: [PATCH v2 2/2] ARM: OMAP2+: Enable pinctrl dummy states

2012-09-17 Thread Tony Lindgren
* Matt Porter mpor...@ti.com [120917 10:21]: Enable pinctrl dummy states for all OMAP platforms that don't populate DT. This allows drivers to be converted to pinctrl and not generate new warnings on platforms that do not provide pinctrl data. These platforms already have pinmuxes configured

Re: [PATCH 1/2] drm: support for rotated scanout

2012-09-17 Thread Ville Syrjälä
On Tue, Sep 04, 2012 at 11:35:56AM -0500, Rob Clark wrote: From: Rob Clark r...@ti.com For drivers that can support rotated scanout, the extra parameter checking in drm-core, while nice, tends to get confused. To solve this drivers can set the crtc or plane invert_dimensions field so that

Re: [PATCH v6 0/2] ARM: New cache API for iommu

2012-09-17 Thread Gupta, Ramesh
Hi Russell, On Thu, Sep 13, 2012 at 12:39 PM, Gupta, Ramesh grgu...@ti.com wrote: From a00cbfadc0053a3c21812593997a1b7338234a9f Mon Sep 17 00:00:00 2001 From: Ramesh Gupta G grgu...@ti.com Date: Thu, 13 Sep 2012 11:43:20 +0530 Subject: [PATCH v6 0/2] ARM: New cache API for iommu This

Re: [omap:tmp-merge 31/47] drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory

2012-09-17 Thread Felipe Balbi
Hi, On Mon, Sep 17, 2012 at 09:56:43AM -0700, Tony Lindgren wrote: * Fengguang Wu fengguang...@intel.com [120916 17:41]: Hi Tony, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git tmp-merge head:

Re: [PATCH 3/4] drivers/mmc/host/omap_hsmmc.c: fix error return code

2012-09-17 Thread S, Venkatraman
On Mon, Sep 17, 2012 at 1:45 PM, Peter Senna Tschudin peter.se...@gmail.com wrote: From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this

Re: [PATCH V2] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-17 Thread S, Venkatraman
On Thu, Sep 13, 2012 at 12:01 PM, Hebbar, Gururaja gururaja.heb...@ti.com wrote: From: Vaibhav Bedia vaibhav.be...@ti.com In some cases mmc_suspend_host() is not able to claim the host and proceed with the suspend process. The core returns -EBUSY to the host controller driver. Unfortunately,

Re: [omap:tmp-merge 31/47] drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory

2012-09-17 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [120917 11:05]: Hi, On Mon, Sep 17, 2012 at 09:56:43AM -0700, Tony Lindgren wrote: * Fengguang Wu fengguang...@intel.com [120916 17:41]: Hi Tony, FYI, kernel build failed on tree:

Re: [omap:tmp-merge 31/47] drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory

2012-09-17 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120917 12:43]: * Felipe Balbi ba...@ti.com [120917 11:05]: Hi, On Mon, Sep 17, 2012 at 09:56:43AM -0700, Tony Lindgren wrote: * Fengguang Wu fengguang...@intel.com [120916 17:41]: Hi Tony, FYI, kernel build failed on tree:

[PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Tony Lindgren
Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory This header was indirectly included earlier when SPARSE_IRQ was not set, but does not exist on

Re: OMAP4: crypto acceleration (AES, SHA, ...)

2012-09-17 Thread Tony Lindgren
* Sebastian Reichel s...@debian.org [120913 14:58]: Hi, Are there plans to add crypto acceleration support to OMAP4? Has this hardware component been removed from OMAP4? I tried to load the code written for OMAP3 on my Pandaboard, but it just outputs platform not supported: [

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-17 Thread Arnd Bergmann
On Saturday 15 September 2012, Russell King - ARM Linux wrote: On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: 3. Supporting legacy devices not using DMA Engine These devices present a problem, as there may not be a uniform way to easily support them with regard to

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Arnd Bergmann
On Monday 17 September 2012, Tony Lindgren wrote: Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory This header was indirectly included

Re: [PATCH 00/29] Move OMAP2+ over to use COMMON clock

2012-09-17 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [120916 13:37]: On Tue, 11 Sep 2012, Paul Walmsley wrote: Then the branch was PM-tested to determine whether it can suspend and serial-resume properly, and whether dynamic idle works. These tests didn't go so well: - 3530ES3 Beagleboard here was able

Re: [PATCH 2/2] ARM: OMAP5: Enable arch timer support

2012-09-17 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [120913 01:57]: Enable Cortex A15 generic timer support for OMAP5 based SOCs. The CPU local timers run on the free running real time counter clock. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Benoit Cousson b-cous...@ti.com

Re: [PATCH 2/2] ARM: OMAP5: Enable arch timer support

2012-09-17 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120917 14:39]: * Benoit Cousson b-cous...@ti.com [120913 01:57]: Enable Cortex A15 generic timer support for OMAP5 based SOCs. The CPU local timers run on the free running real time counter clock. Signed-off-by: Santosh Shilimkar

Re: [PATCH 1/1] drivers: bus: Move the OMAP interconnect driver to drivers/bus/

2012-09-17 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [120914 02:21]: OMAP interconnect drivers are used for the interconnect error handling. Since they are bus driver, lets move it to newly created drivers/bus. Cc: Arnd Bergmann a...@arndb.de Cc: Tony Lindgren t...@atomide.com Tested-by: Lokesh

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Paul Walmsley
On Mon, 17 Sep 2012, Tony Lindgren wrote: Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory This header was indirectly included earlier

Re: [PATCH 00/29] Move OMAP2+ over to use COMMON clock

2012-09-17 Thread Paul Walmsley
On Mon, 17 Sep 2012, Tony Lindgren wrote: That's good news. Does that mean we should try to merge these patches for v3.7 then? Or do we still have issues remaining? There are still problems with the OMAP4 CCF implementation. Power management is broken on some bootloaders that the original

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [120917 15:09]: On Mon, 17 Sep 2012, Tony Lindgren wrote: Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or

Re: [PATCH] ARM: OMAP: SmartReflex: pass device dependent data via platform data

2012-09-17 Thread Tony Lindgren
Hi, * jean.pi...@newoldbits.com jean.pi...@newoldbits.com [120914 02:40]: From: Jean Pihet j-pi...@ti.com Remove the device dependent settings (cpu_is_xxx(), IP clock name) from the driver code and pass them instead via the platform data. This allows a clean separation of the driver code

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Paul Walmsley
On Mon, 17 Sep 2012, Tony Lindgren wrote: We need to queue this ASAP and before other patches to fix the build breakage in linux next. Then you can merge in that commit too, does that work for you? That's fine, we'll just need a stable commit then that the CCF patches can be based on. -

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [120917 15:25]: On Mon, 17 Sep 2012, Tony Lindgren wrote: We need to queue this ASAP and before other patches to fix the build breakage in linux next. Then you can merge in that commit too, does that work for you? That's fine, we'll just need a stable

Re: [PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-17 Thread Andrew Morton
On Mon, 17 Sep 2012 12:53:22 +0530 AnilKumar Ch anilku...@ti.com wrote: Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status of I2C2 node to okay to use I2C2 bus. Also added all the required platform

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Russell King - ARM Linux
On Mon, Sep 17, 2012 at 11:59:27AM +, Arnd Bergmann wrote: On Monday 17 September 2012, Vinod Koul wrote: On Fri, 2012-09-14 at 17:41 -0500, Jon Hunter wrote: +/** + * dma_request_slave_channel - try to allocate an exclusive slave channel + * @dev: pointer to client device

Re: [PATCH v6 10/10] ARM: OMAP2+: tusb6010: generic timing calculation

2012-09-17 Thread Tony Lindgren
* Mohammed, Afzal af...@ti.com [120917 01:40]: Hi Tony, On Fri, Sep 14, 2012 at 15:50:02, Mohammed, Afzal wrote: * Mohammed, Afzal: Wednesday, September 12, 2012 3:20 PM But some of the tusb async values is less by one. I need to get it right. Reason has been identified. It was

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Samuel Ortiz
Hi Tony, On Mon, Sep 17, 2012 at 01:29:44PM -0700, Tony Lindgren wrote: Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory This header was

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-17 Thread David Brown
On Mon, Sep 17, 2012 at 08:42:11PM +, Arnd Bergmann wrote: On Saturday 15 September 2012, Russell King - ARM Linux wrote: On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: 3. Supporting legacy devices not using DMA Engine These devices present a problem, as there

Re: [PATCH v6 10/10] ARM: OMAP2+: tusb6010: generic timing calculation

2012-09-17 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120917 15:54]: * Mohammed, Afzal af...@ti.com [120917 01:40]: Hi Tony, On Fri, Sep 14, 2012 at 15:50:02, Mohammed, Afzal wrote: * Mohammed, Afzal: Wednesday, September 12, 2012 3:20 PM But some of the tusb async values is less by one. I need

[PATCH] ARM: OMAP1: Include gpio-omap.h for board-h2 and board-h3

2012-09-17 Thread Tony Lindgren
From de6ca33a96a6bf61fcb91d3d399703e19ead9d1e Mon Sep 17 00:00:00 2001 From: Tony Lindgren t...@atomide.com Date: Mon, 17 Sep 2012 16:24:20 -0700 Subject: [PATCH] ARM: OMAP1: Include gpio-omap.h for board-h2 and board-h3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8

[PATCH] cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name

2012-09-17 Thread Axel Lin
omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin axel@gmail.com --- drivers/cpufreq/omap-cpufreq.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index

[GIT PULL] omap fixes for linux next for v3.7 merge window

2012-09-17 Thread Tony Lindgren
Hi Arnd Olof, Here is the fix for the twl-core compile on non-omap platforms and few other fixes. This will probably cause a minor merge conflicts with the led changes merged in the arm-soc next/drivers branch as both linux/leds.h and linux/platform_data/gpio-omap.h now need to be included.

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120917 15:27]: * Paul Walmsley p...@pwsan.com [120917 15:25]: On Mon, 17 Sep 2012, Tony Lindgren wrote: We need to queue this ASAP and before other patches to fix the build breakage in linux next. Then you can merge in that commit too, does that

Re: [GIT PULL] omap fixes for linux next for v3.7 merge window

2012-09-17 Thread Olof Johansson
Hi, On Mon, Sep 17, 2012 at 7:28 PM, Tony Lindgren t...@atomide.com wrote: Hi Arnd Olof, Here is the fix for the twl-core compile on non-omap platforms and few other fixes. This will probably cause a minor merge conflicts with the led changes merged in the arm-soc next/drivers branch as

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 11:59 +, Arnd Bergmann wrote: On Monday 17 September 2012, Vinod Koul wrote: I believe that Jon is on vacation this week, so if this is the only issue holding up the merge, maybe you can change this in his patch directly, or I can send an updated version if you

[GIT PULL] omap device tree changes for v3.7 merge window

2012-09-17 Thread Tony Lindgren
The following changes since commit 68cb700c59fae6cd539c9dc1e9f2584f671935a0: ARM: OMAP1: Move SoC specific headers from plat to mach for omap1 (2012-09-12 18:06:31 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 23:36 +0100, Russell King - ARM Linux wrote: I believe that Jon is on vacation this week, so if this is the only issue holding up the merge, maybe you can change this in his patch directly, or I can send an updated version if you prefer. I worry that too much is

[PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS

2012-09-17 Thread Axel Lin
This fixes below build error when CONFIG_LEDS_CLASS is not set. LD init/built-in.o arch/arm/plat-omap/built-in.o: In function `fpga_probe': arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' make: *** [vmlinux] Error 1 Signed-off-by: Axel Lin

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Felipe Balbi
On Mon, Sep 17, 2012 at 01:29:44PM -0700, Tony Lindgren wrote: Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory This header was indirectly

Re: [PATCH v2 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-17 Thread Shubhrajyoti
On Monday 17 September 2012 10:52 PM, Matt Porter wrote: Adds pinctrl support to support OMAP platforms that boot from DT and rely on pinctrl support to set pinmuxes. Signed-off-by: Matt Porter mpor...@ti.com --- looks good to me. you may want to repost with Mark in cc to review. Acked-by:

[PATCH v2] arm/dts: AM33XX: Add SPI device tree data

2012-09-17 Thread Philip, Avinash
Add McSPI data node to AM33XX device tree file. The McSPI module (and so as the driver) is reused from OMAP4. Signed-off-by: Philip, Avinash avinashphi...@ti.com Tested-by: Matt Porter mpor...@ti.com --- Changes since v1: - Corrected reg offset in reg DT entry. :100644 100644 ff3badb...