Re: spi: spi-davinci: Fix direction in dma_map_single()

2013-04-18 Thread Matt Porter
Cc: sta...@vger.kernel.org Cc: sta...@vger.kernel.org # v3.7.x+ will get this applied to the correct stable kernels. I'm wearing the brown bag for this one so other than fixing the Cc: it looks good. Acked-by: Matt Porter mpor...@ti.com --- drivers/spi/spi-davinci.c.orig 2013-04-18 20:54

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Matt Porter
On Thu, Mar 07, 2013 at 08:42:18AM +0200, Andy Shevchenko wrote: On Wed, Mar 6, 2013 at 6:15 PM, Matt Porter mpor...@ti.com wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Matt Porter
On Wed, Mar 06, 2013 at 08:24:06PM +, Peter Korsgaard wrote: Matt == Matt Porter mpor...@ti.com writes: Matt The binding definition is based on the generic DMA controller Matt binding. Matt Signed-off-by: Matt Porter mpor...@ti.com Matt --- Matt Documentation/devicetree

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Matt Porter
On Tue, Mar 12, 2013 at 06:45:46AM +, Sekhar Nori wrote: On 3/6/2013 9:45 PM, Matt Porter wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EDMA crossbar event

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Matt Porter
On Tue, Mar 12, 2013 at 06:53:03AM +, Sekhar Nori wrote: On 3/6/2013 9:45 PM, Matt Porter wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com Okay the bindings the documented after they are used leading to some

Re: [PATCH v8 6/9] ARM: dts: add AM33XX EDMA support

2013-03-06 Thread Matt Porter
On Wed, Mar 06, 2013 at 04:19:58AM +, Kumar, Anil wrote: Hi, On Wed, Mar 06, 2013 at 02:23:12, Porter, Matt wrote: Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch

[PATCH v9 2/9] ARM: edma: remove unused transfer controller handlers

2013-03-06 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/common/edma.c | 37

[PATCH v9 6/9] ARM: dts: add AM33XX EDMA support

2013-03-06 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b

[PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-06 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti

[PATCH v9 4/9] dmaengine: edma: enable build for AM33XX

2013-03-06 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 80b6997..3b7ea20 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[PATCH v9 9/9] ARM: dts: add AM33XX SPI DMA support

2013-03-06 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index cbea5ab..c3c781a 100644 --- a/arch/arm

[PATCH v9 1/9] ARM: davinci: move private EDMA API to arm/common

2013-03-06 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

[PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-06 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EDMA crossbar event mux support. Enables build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-06 Thread Matt Porter
On Wed, Mar 06, 2013 at 08:24:06PM +, Peter Korsgaard wrote: Matt == Matt Porter mpor...@ti.com writes: Matt The binding definition is based on the generic DMA controller Matt binding. Matt Signed-off-by: Matt Porter mpor...@ti.com Matt --- Matt Documentation/devicetree

[PATCH v8 2/9] ARM: edma: remove unused transfer controller handlers

2013-03-05 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/common/edma.c | 37

[PATCH v8 0/9] DMA Engine support for AM33XX

2013-03-05 Thread Matt Porter
Davinci driver. Regression testing was also done on a BeagleBoard xM booting from the legacy board file using MMC rootfs. Matt Porter (9): ARM: davinci: move private EDMA API to arm/common ARM: edma: remove unused transfer controller handlers ARM: edma: add AM33XX support to the private EDMA

[PATCH v8 6/9] ARM: dts: add AM33XX EDMA support

2013-03-05 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b

[PATCH v8 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-05 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti

[PATCH v8 7/9] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-03-05 Thread Matt Porter
to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/spi/spi-omap2-mcspi.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi

[PATCH v8 9/9] ARM: dts: add AM33XX SPI DMA support

2013-03-05 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index aaf44122..a13d710 100644 --- a/arch/arm

[PATCH v8 4/9] dmaengine: edma: enable build for AM33XX

2013-03-05 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 80b6997..3b7ea20 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[PATCH v8 1/9] ARM: davinci: move private EDMA API to arm/common

2013-03-05 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

[PATCH v8 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-05 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EDMA crossbar event mux support. Enables build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek

[PATCH v8 8/9] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-03-05 Thread Matt Porter
The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-03-04 Thread Matt Porter
On Sat, Feb 09, 2013 at 09:35:53PM +0530, Sekhar Nori wrote: Hi Matt, This version introduces build/bisect issues. Ok, see later comment which addresses this... On 2/1/2013 11:52 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-03-04 Thread Matt Porter
On Sat, Feb 09, 2013 at 08:08:50PM +, Russell King wrote: On Sat, Feb 09, 2013 at 09:35:53PM +0530, Sekhar Nori wrote: On 2/1/2013 11:52 PM, Matt Porter wrote: + ret = of_address_to_resource(node, 1, res); of_address_to_resource() needs linux/of_address.h + if (IS_ERR_VALUE

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 12:49:06PM +, Russell King wrote: On Fri, Feb 01, 2013 at 10:41:08AM -0800, Tony Lindgren wrote: * Matt Porter mpor...@ti.com [130201 10:25]: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 12:01:37AM +, Sergei Shtylyov wrote: Hello. On 01-02-2013 22:59, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 10:16:43AM -0800, Tony Lindgren wrote: * Matt Porter mpor...@ti.com [130202 10:10]: If it doesn't work, work with Vinod to fix the api. It's expected, I'm working on dmaengine API changes right now to deal with a limitation of EDMA that needs to be abstracted

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 07:06:06PM +, Sergei Shtylyov wrote: Hello. On 02-02-2013 22:07, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 08:01:41AM +0200, Luciano Coelho wrote: On Thu, 2013-01-31 at 16:42 -0500, Matt Porter wrote: On Thu, Jan 31, 2013 at 08:58:39PM +, Arnd Bergmann wrote: On Thursday 31 January 2013, Matt Porter wrote: On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann

[PATCH v7 04/10] dmaengine: edma: enable build for AM33XX

2013-02-01 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 0b408bb..239020b 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[PATCH v7 06/10] ARM: dts: add AM33XX EDMA support

2013-02-01 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b

[PATCH v7 02/10] ARM: edma: remove unused transfer controller handlers

2013-02-01 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/common/edma.c | 37

[PATCH v7 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-02-01 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EDMA crossbar event mux support. Enables build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek

[PATCH v7 08/10] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/spi/spi-omap2-mcspi.c | 65 - 1 file changed, 45 insertions(+), 20 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b

[PATCH v7 09/10] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-02-01 Thread Matt Porter
The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi

[PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

[PATCH v7 05/10] dmaengine: edma: Add TI EDMA device tree binding

2013-02-01 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti

[PATCH v7 00/10] DMA Engine support for AM33XX

2013-02-01 Thread Matt Porter
, and the onboard audio supported by the ASoC Davinci driver. Regression testing was also done on a BeagleBoard xM booting from the legacy board file using MMC rootfs. Matt Porter (10): ARM: davinci: move private EDMA API to arm/common ARM: edma: remove unused transfer controller handlers ARM

[PATCH v7 10/10] ARM: dts: add AM33XX SPI DMA support

2013-02-01 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index e711ffb..ddf702a 100644 --- a/arch/arm

[PATCH v7 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
to the dmaengine DT API as platforms continue to be mixed between those that boot using DT and those that do not. Suggested-by: Tony Lindgren t...@atomide.com Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com Acked-by: Arnd Bergmann a...@arndb.de --- include/linux

Re: [PATCH v7 05/10] dmaengine: edma: Add TI EDMA device tree binding

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 01:22:50PM -0500, Matt Porter wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com Grant or Rob, can I get an ack on this binding and others in this series? --- Documentation/devicetree/bindings

Re: [PATCH v7 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 01:22:52PM -0500, Matt Porter wrote: Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call

Re: [PATCH v7 00/10] DMA Engine support for AM33XX

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 01:22:45PM -0500, Matt Porter wrote: snip This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API implementation (much like the situation with OMAP DMA) found on the DaVinci family

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 06:41:08PM +, Tony Lindgren wrote: * Matt Porter mpor...@ti.com [130201 10:25]: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Matt Porter
On Fri, Feb 01, 2013 at 07:52:46PM +, Sergei Shtylyov wrote: Hello. On 02/01/2013 09:49 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Matt Porter
On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); + of_dma_controller_register(dev-of_node

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Matt Porter
On Thu, Jan 31, 2013 at 08:58:39PM +, Arnd Bergmann wrote: On Thursday 31 January 2013, Matt Porter wrote: On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap

Re: [PATCH v6 09/10] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-30 Thread Matt Porter
On Wed, Jan 30, 2013 at 09:24:00AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: +Optional properties: +- dmas: List of DMA controller phandle and DMA request ordered + pairs. One tx and one rx pair is required for each chip + select

Re: [PATCH v6 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-01-30 Thread Matt Porter
On Wed, Jan 30, 2013 at 09:27:18AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver

Re: [PATCH v5 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-29 Thread Matt Porter
On Wed, Jan 23, 2013 at 10:28:46PM +, Arnd Bergmann wrote: On Tuesday 15 January 2013, Matt Porter wrote: Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver

Re: [PATCH v5 03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-29 Thread Matt Porter
On Mon, Jan 28, 2013 at 09:27:24PM +0200, Andy Shevchenko wrote: On Tue, Jan 15, 2013 at 10:32 PM, Matt Porter mpor...@ti.com wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds

[PATCH v6 04/10] dmaengine: edma: enable build for AM33XX

2013-01-29 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 0b408bb..239020b 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-29 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EMDA crossbar event mux support. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/common

[PATCH v6 01/10] ARM: davinci: move private EDMA API to arm/common

2013-01-29 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API and enables it to build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/Kconfig

[PATCH v6 02/10] ARM: edma: remove unused transfer controller handlers

2013-01-29 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/common/edma.c | 37

[PATCH v6 05/10] dmaengine: edma: Add TI EDMA device tree binding

2013-01-29 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti

[PATCH v6 06/10] ARM: dts: add AM33XX EDMA support

2013-01-29 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b

[PATCH v6 00/10] DMA Engine support for AM33XX

2013-01-29 Thread Matt Porter
, SPI flash, and the onboard audio supported by the ASoC Davinci driver. Regression testing was also done on a BeagleBoard xM booting from the legacy board file using MMC rootfs. Matt Porter (10): ARM: davinci: move private EDMA API to arm/common ARM: edma: remove unused transfer controller

[PATCH v6 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-01-29 Thread Matt Porter
to the dmaengine DT API as platforms continue to be mixed between those that boot using DT and those that do not. Suggested-by: Tony Lindgren t...@atomide.com Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- include/linux/dmaengine.h | 16

[PATCH v6 10/10] ARM: dts: add AM33XX SPI DMA support

2013-01-29 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index e711ffb..ddf702a 100644 --- a/arch/arm

[PATCH v6 08/10] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-01-29 Thread Matt Porter
to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/spi/spi-omap2-mcspi.c | 65 - 1 file changed, 45 insertions(+), 20 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index b610f52..2c02c02 100644

[PATCH v6 09/10] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-29 Thread Matt Porter
The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-24 Thread Matt Porter
On Thu, Jan 24, 2013 at 05:14:13AM +, Sekhar Nori wrote: Matt, On 1/24/2013 3:07 AM, Matt Porter wrote: On Wed, Jan 23, 2013 at 10:21:42AM +0800, Mark Brown wrote: On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: On 1/16/2013 2:02 AM, Matt Porter wrote: This series

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-24 Thread Matt Porter
On Thu, Jan 24, 2013 at 05:12:05AM +, Shilimkar, Santosh wrote: On Thursday 24 January 2013 02:19 AM, Matt Porter wrote: On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: Matt, On Wednesday 16 January 2013 02:02 AM, Matt Porter wrote: [..] This series adds DMA

Re: [PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-24 Thread Matt Porter
On Wed, Jan 23, 2013 at 07:08:49PM +0100, Matthias Brugger wrote: This patch allows the board code to define SPI devices which needs to toggle the chip select after every word send. This is needed to get a better resolution reading e.g. an ADC data stream. Apart from that, as in the normal

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Matt Porter
On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: Matt, On Wednesday 16 January 2013 02:02 AM, Matt Porter wrote: [..] This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API

Re: [RFC PATCH v3 02/16] ARM: davinci: move private EDMA API to arm/common

2013-01-23 Thread Matt Porter
On Tue, Jan 22, 2013 at 03:40:06PM +, Sekhar Nori wrote: Matt, Sorry about the late reply. I noticed this mail only after I started to look at v5 of your series :( Any time is fine! :) On 1/11/2013 5:21 AM, Matt Porter wrote: On Sun, Oct 28, 2012 at 01:47:09PM +0530, Sekhar Nori

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Matt Porter
On Wed, Jan 23, 2013 at 10:21:42AM +0800, Mark Brown wrote: On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: On 1/16/2013 2:02 AM, Matt Porter wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only

[PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-15 Thread Matt Porter
(which also makes use of the EDMA dmaengine driver and the EDMA private API) using SD, SPI flash, and the onboard audio supported by the ASoC Davinci driver. Regression testing was also done on a BeagleBoard xM booting from the legacy board file using MMC rootfs. Matt Porter (14): ARM: davinci: move

[PATCH v5 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-15 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API and enables it to build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common

[PATCH v5 03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-15 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EMDA crossbar event mux support. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 314

[PATCH v5 06/14] ARM: dts: add AM33XX EDMA support

2013-01-15 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b

[PATCH v5 04/14] dmaengine: edma: enable build for AM33XX

2013-01-15 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index d4c1218..20ef955 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[PATCH v5 02/14] ARM: edma: remove unused transfer controller handlers

2013-01-15 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 37 - 1 file changed, 37

[PATCH v5 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-15 Thread Matt Porter
to the dmaengine DT API as platforms continue to be mixed between those that boot using DT and those that do not. Suggested-by: Tony Lindgren t...@atomide.com Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- include/linux/dmaengine.h | 10 ++ 1 file

[PATCH v5 09/14] mmc: omap_hsmmc: set max_segs based on dma engine limitations

2013-01-15 Thread Matt Porter
to configure mmc-max_segs appropriately. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index e79b12d

[PATCH v5 05/14] dmaengine: edma: Add TI EDMA device tree binding

2013-01-15 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti

[PATCH v5 10/14] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-01-15 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 25 +++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[PATCH v5 11/14] ARM: dts: add AM33XX MMC support

2013-01-15 Thread Matt Porter
Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/boot/dts/am335x-bone.dts |7 +++ arch/arm/boot/dts/am335x-evm.dts |7 +++ arch/arm/boot/dts/am335x-evmsk.dts

[PATCH v5 12/14] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-01-15 Thread Matt Porter
to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/spi/spi-omap2-mcspi.c | 65 - 1 file changed, 45 insertions(+), 20 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index b610f52..2c02c02 100644

[PATCH v5 14/14] ARM: dts: add AM33XX SPI DMA support

2013-01-15 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 278b75d..8fd3648 100644 --- a/arch/arm

[PATCH v5 13/14] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-15 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi

Re: [PATCH v4 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-11 Thread Matt Porter
. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig|3 + arch/arm/common/Makefile |1 + arch/arm/{mach-davinci/dma.c = common/edma.c} |2 +- arch/arm

Re: [PATCH v4 05/14] dmaengine: edma: Add TI EDMA device tree binding

2013-01-11 Thread Matt Porter
On Fri, Jan 11, 2013 at 07:54:05AM +, Hebbar, Gururaja wrote: On Fri, Jan 11, 2013 at 11:18:41, Porter, Matt wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti

Re: [PATCH v4,03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-11 Thread Matt Porter
On Fri, Jan 11, 2013 at 06:14:27PM +, Lars Poeschel wrote: Hi Matt, On Friday 11 January 2013 at 06:48:39, Matt Porter wrote: diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index a3d189d..1951d63 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c

Re: [PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-11 Thread Matt Porter
On Fri, Jan 11, 2013 at 11:40:41AM +, Arnd Bergmann wrote: On Friday 11 January 2013, Matt Porter wrote: The approach taken is similar to how OMAP DMA is being converted to DMA Engine support. With the functional EDMA private API already existing in mach-davinci/dma.c, we first move

Re: [RFC PATCH v3 04/16] ARM: edma: add DT and runtime PM support for AM33XX

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 04:33:39PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Calls runtime PM API only in the DT case in order to unidle the associated hwmods

Re: [RFC PATCH v3 08/16] ARM: dts: add AM33XX EDMA support

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 04:46:36PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts

Re: [RFC PATCH v3 11/16] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2013-01-10 Thread Matt Porter
On Mon, Oct 29, 2012 at 01:48:46PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. Since the EDMA DMA Engine driver sets the maximum segments to 16, we do

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 05:01:29PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 17 +++ arch/arm/boot/dts

Re: [RFC PATCH v3 13/16] ARM: dts: add AM33XX MMC support

2013-01-10 Thread Matt Porter
On Tue, Oct 30, 2012 at 05:33:40AM +, AnilKumar wrote: On Thu, Oct 18, 2012 at 18:56:52, Porter, Matt wrote: Adds AM33XX MMC support for am335x-bone and am335x-evm. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |6 ++ arch/arm/boot/dts

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2013-01-10 Thread Matt Porter
On Thu, Jan 10, 2013 at 01:46:53PM -0600, Nishanth Menon wrote: On 14:35-20130110, Matt Porter wrote: On Sun, Oct 28, 2012 at 05:01:29PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. Signed-off

Re: [RFC PATCH v3 05/16] ARM: edma: add AM33XX crossbar event support

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 04:41:24PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Adds support for the per-EDMA channel event mux. This is required for any peripherals using DMA crossbar mapped events. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm

Re: [RFC PATCH v3 02/16] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Matt Porter
On Sun, Oct 28, 2012 at 01:47:09PM +0530, Sekhar Nori wrote: On 10/18/2012 6:56 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API but does not support OMAP. Signed-off-by: Matt

[PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-10 Thread Matt Porter
board file using MMC rootfs. Matt Porter (14): ARM: davinci: move private EDMA API to arm/common ARM: edma: remove unused transfer controller handlers ARM: edma: add AM33XX support to the private EDMA API dmaengine: edma: enable build for AM33XX dmaengine: edma: Add TI EDMA device tree

[PATCH v4 04/14] dmaengine: edma: enable build for AM33XX

2013-01-10 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index d4c1218..20ef955 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[PATCH v4 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API and enables it to build on OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

[PATCH v4 03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-10 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EMDA crossbar event mux support. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 314

  1   2   >