Re: [ 41/75] ARM: davinci: edma: fix dmaengine induced null pointer dereference on da830

2013-03-19 Thread Matt Porter
On Tue, Mar 19, 2013 at 04:25:35PM +, Luis Henriques wrote: > On Mon, Mar 18, 2013 at 02:07:04PM -0700, Greg Kroah-Hartman wrote: > > 3.8-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > F

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. >

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 [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

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 we

Re: [PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-04 Thread Matt Porter
On Tue, Feb 05, 2013 at 12:53:45AM +0900, Paul Mundt wrote: > On Mon, Feb 04, 2013 at 12:32:16PM +0100, Philipp Zabel wrote: > > This driver requests and remaps a memory region as configured in the > > device tree. It serves memory from this region via the genalloc API. > > It optionally enables th

[PATCH v3 1/3] dmaengine: add dma_get_slave_sg_caps()

2013-02-04 Thread Matt Porter
. dma_get_slave_sg_caps() returns an SG caps structure with the maximum number and size of SG segments that the given channel can handle. Signed-off-by: Matt Porter --- include/linux/dmaengine.h | 40 1 file changed, 40 insertions(+) diff --git a/include/linux

[PATCH v3 3/3] mmc: davinci: get SG segment limits with dma_get_slave_sg_caps()

2013-02-04 Thread Matt Porter
Replace the hardcoded values used to set max_segs/max_seg_size with a dma_get_slave_sg_caps() query to the dmaengine driver. Signed-off-by: Matt Porter --- drivers/mmc/host/davinci_mmc.c| 37 - include/linux/platform_data/mmc-davinci.h |3 --- 2

[PATCH v3 2/3] dma: edma: add device_slave_sg_caps() support

2013-02-04 Thread Matt Porter
handle. The maximum size of an SG segment is limited by the addr_width and maxburst of a given transfer request. These values are provided by the client driver and used to calculate and return the maximum segment length. Signed-off-by: Matt Porter --- drivers/dma/edma.c | 17 + 1

[PATCH v3 0/3] dmaengine: add slave sg transfer capabilities api

2013-02-04 Thread Matt Porter
API implementation, this series implements the backend device_slave_sg_caps() in the EDMA DMA Engine driver and converts the davinci_mmc driver to use dma_get_slave_sg_caps() to replace hardcoded limits. This is tested on the AM1808-EVM. Matt Porter (3): dmaengine: add dma_get_slave_sg_caps

Re: [PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-06 Thread Matt Porter
On Wed, Feb 06, 2013 at 01:41:06PM +0100, Lars Poeschel wrote: > Hi Matt! > > At first thanks for you efforts on DMA Engine on AM33XX. > > On Friday 01 February 2013 at 22:01:17, Matt Porter wrote: > > This series adds DT DMA Engine Client support to the omap_hsmmc. > &g

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

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 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 ED

[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 --- 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/boot/dts

[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 Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- include/linux/dmaengine.h | 16 1 file changed, 16 insertions(+) diff --git a

[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 Acked-by: Sekhar Nori --- arch/arm/common/edma.c | 37 - 1 file

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

2013-01-29 Thread Matt Porter
ng 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 (10): ARM: davinci: move private EDMA API to arm/common ARM: edma: remove unused transfer contr

[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 --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b

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

2013-01-29 Thread Matt Porter
OMAP DMA filter. Signed-off-by: Matt Porter --- 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 --- a/drivers

[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 Acked-by: Sekhar Nori --- arch/arm/Kconfig |1 + arch/arm

[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 --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot

[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 --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt diff

[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 --- 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 @@ -220,7 +220,7

[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 Acked-by: Sekhar Nori --- arch/arm/common/edma.c | 314

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

2013-01-30 Thread Matt Porter
On Wed, Jan 30, 2013 at 09:40:52AM +0200, Andy Shevchenko wrote: > On Wed, Jan 30, 2013 at 8:41 AM, Matt Porter wrote: > > On Mon, Jan 28, 2013 at 09:27:24PM +0200, Andy Shevchenko wrote: > >> On Tue, Jan 15, 2013 at 10:32 PM, Matt Porter wrote: > >> > Adds supp

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 ch

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

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_regist

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: > > > > +

Re: [PATCH v2 0/3] dmaengine: add per channel capabilities api

2013-01-31 Thread Matt Porter
On Mon, Jan 28, 2013 at 10:06:03AM +, Vinod Koul wrote: > On Mon, Jan 21, 2013 at 01:19:23PM -0500, Matt Porter wrote: > > > b) Sg segment length and numbers: Well these are capabilities, so it tells > > > you what is the maximum I can do. IMO it doesn't make sens

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,

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

2013-02-01 Thread Matt Porter
OMAP DMA filter. Signed-off-by: Matt Porter Acked-by: Mark Brown --- 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

[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 Acked-by: Sekhar Nori --- arch/arm/common

[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 --- 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 @@ -220,7 +220,7

[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 --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b

[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 --- 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/boot/dts

[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 Signed-off-by: Matt Porter Acked-by: Tony Lindgren Acked-by: Arnd Bergmann --- include/linux/dmaengine.h | 16 1 file changed, 16

[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

[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 --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot

[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 --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt diff

[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 Acked-by: Sekhar Nori --- arch/arm/common/edma.c | 37 - 1 file

[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 Acked-by: Sekhar Nori --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig|3 + arch/arm/common

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 Grant or Rob, can I get an ack on this binding and others in this series? > --- > Documentation/devicetr

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 cha

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: > 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 DaVin

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 [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 priva

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. > > >&

[PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-01 Thread Matt Porter
/vkoul/slave-dma.git next branch - dma_request_slave_channel_compat() support https://patchwork.kernel.org/patch/2081671/ The series with all dependencies can be found at https://github.com/ohporter/linux/tree/omap-hsmmc-dt-dmaengine-v1 Matt Porter (2): mmc

[PATCH 3/3] mmc: omap_hsmmc: 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 Acked-by: Tony Lindgren --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26 +++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case

2013-02-01 Thread Matt Porter
From: Santosh Shilimkar MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by skipping resource byname lookup for device tree build. Issue is hidden because hwmod popullates the IO resources which helps to succeed platform_get_resource_byname(

[PATCH 1/3] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports platforms booting with or without DT populated. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions

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 [130201 10:25]: > > > Move mach-davinci/dma.c to common/edma.c so it can be used > > > by OMAP (specifically AM33xx) as

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

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 Janu

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 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 ED

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 writes: > > Matt> The binding definition is based on the generic DMA controller > Matt> binding. > > Matt> Signed-off-by: Matt Porter > Ma

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 E

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 > > Okay the bindings the documented af

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Matt Porter
On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: > Hi Matt, > > On 8/23/2012 6:39 AM, Matt Porter wrote: > > Removes use of the DaVinci EDMA private DMA API and replaces > > it with use of the DMA engine API. > > > > Signed-off-by: Matt Porter >

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-09-01 Thread Matt Porter
On Sat, Sep 01, 2012 at 06:32:29AM +0530, Vinod Koul wrote: > On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: > > On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: > > > >> Yes, this was the problem. Since the SPI driver now depends on > > > >> CONFIG_TI_EDMA for basic operation may be sel

Re: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-11 Thread Matt Porter
he pinmux data but the data referenced the gpio2 label. -Matt > > Signed-off-by: Matt Porter > > --- > > arch/arm/boot/dts/am33xx.dtsi |8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/arch/arm/boot/dts/am33xx.dtsi b/a

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

2012-09-11 Thread Matt Porter
Enable pinctrl dummy states for all OMAP platforms. This allows drivers to be converted to pinctrl while still running on platforms that do not provide pinctrl data. Signed-off-by: Matt Porter --- arch/arm/mach-omap2/devices.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm

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

2012-09-11 Thread Matt Porter
the !DT case, using board-omap3evm.c. There is a dependency on the patch to enable PINCTRL support (https://patchwork.kernel.org/patch/1376331/) for ARCH_OMAP2PLUS_TYPICAL. Matt Porter (2): spi: omap2-mcspi: add pinctrl support ARM: OMAP2+: Enable pinctrl dummy states arch/arm/mach-omap2

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

2012-09-11 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 --- drivers/spi/spi-omap2-mcspi.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2

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

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 11:00:41AM -0700, Tony Lindgren wrote: > * Matt Porter [120911 10:46]: > > Adds pinctrl support to support OMAP platforms that boot from DT > > and rely on pinctrl support to set pinmuxes. > > > > Signed-off-by: Matt Porter > > --- &

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

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 11:03:06AM -0700, Tony Lindgren wrote: > * Matt Porter [120911 10:46]: > > Enable pinctrl dummy states for all OMAP platforms. This allows > > drivers to be converted to pinctrl while still running on > > platforms that do not provide pinctrl data. &

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

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 11:35:22AM -0700, Tony Lindgren wrote: > Added Linus Walleij to Cc as well. > > * Matt Porter [120911 11:24]: > > On Tue, Sep 11, 2012 at 11:03:06AM -0700, Tony Lindgren wrote: > > > * Matt Porter [120911 10:46]: > > > > Enable pinctrl

Re: [PATCH 4/6] Add multi mport support.

2008-02-05 Thread Matt Porter
On Thu, Jan 31, 2008 at 01:57:25PM +0800, Zhang Wei wrote: > > > > -Original Message- > > From: Kumar Gala [mailto:[EMAIL PROTECTED] > > > > On Jan 30, 2008, at 4:30 AM, Zhang Wei wrote: > > > > > Change lots of static variable to mport private. And add > > mport to some > > > functi

Re: [PATCH 4/6] Add multi mport support.

2008-02-05 Thread Matt Porter
On Thu, Jan 31, 2008 at 02:30:13PM +0800, Zhang Wei wrote: > > -Original Message- > > From: Kumar Gala [mailto:[EMAIL PROTECTED] > > when we have multiple ports are the device IDs on the ports intended > > to be unique only to a port or unique across all ports? > > > I consider each RIO

Re: [PATCH 6/6] Change the kernel configurated RapidIO system size to auto-probing.

2008-02-05 Thread Matt Porter
On Wed, Jan 30, 2008 at 06:30:53PM +0800, Zhang Wei wrote: > The RapidIO system size will auto probe in RIO setup. The route > table and rionet_active in rionet.c are changed to be allocated > dynamically according the system size. > + port->sys_size = (in_be32((priv->regs_win + RIO_PEF_CAR)

Re: [PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-10-02 Thread Matt Porter
On Tue, Oct 02, 2012 at 03:32:55PM +0530, Sekhar Nori wrote: > On 10/1/2012 6:02 PM, Matt Porter wrote: > > On Mon, Oct 01, 2012 at 05:34:02PM +0530, Sekhar Nori wrote: > >> Hi Matt, > >> > >> On 9/29/2012 1:07 AM, Matt Porter wrote: > >>> L3RAM (s

Re: [PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-10-02 Thread Matt Porter
On Tue, Oct 02, 2012 at 04:43:59PM +0530, Sekhar Nori wrote: > On 10/1/2012 7:20 PM, Ben Gardiner wrote: > > On Mon, Oct 1, 2012 at 8:32 AM, Matt Porter wrote: > >> On Mon, Oct 01, 2012 at 05:34:02PM +0530, Sekhar Nori wrote: > >>> Hi Matt, > >>> >

Re: [PATCH v2 8/9] ARM: OMAP: iommu: add device tree support

2012-10-02 Thread Matt Porter
On Wed, Sep 12, 2012 at 02:45:51PM -0500, Omar Ramirez Luna wrote: > Adapt driver to use DT if provided. Hi Omar, I'm interested in making use of the assert/deassert APIs you exposed in this series on AM335x for the pruss hwmod which has one hardreset line. I have the same situation where I need

[PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-03 Thread Matt Porter
and the private SRAM API was accessing an invalid SRAM bank. Ben Gardiner (2): ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry Matt Porter (3): ARM: davinci: add platform hook to fetch the SRAM pool

[PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-03 Thread Matt Porter
From: Subhasish Ghosh This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh [rebased onto consolidated SRAM patches] Signed-off-by: Ben Gardiner [rebased to mainline as consolidated SRAM patches were dropped] Signed-off-by: Matt

[PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-03 Thread Matt Porter
is removal completely removes all uses of SRAM_VIRT, also remove the SRAM_VIRT definition. Signed-off-by: Ben Gardiner Tested-by: Matt Porter --- arch/arm/mach-davinci/da850.c |6 -- arch/arm/mach-davinci/dm355.c |6 -- arch/arm/mach-davin

[PATCH v3 6/6] uio: uio_pruss: replace private SRAM API with genalloc

2012-10-03 Thread Matt Porter
Remove the use of the private DaVinci SRAM API in favor of genalloc. The pool to be used is provided by platform data. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +--- include/linux

[PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-03 Thread Matt Porter
Adds PRUSS clock, registers the L3RAM pool, and registers the platform device for uio_pruss on DA850. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c| 12 + arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 66

[PATCH v3 4/6] ARM: davinci: add platform hook to fetch the SRAM pool

2012-10-03 Thread Matt Porter
Adds sram_get_gen_pool() which allows platform code to get the SRAM gen_pool for purposes of providing it in platform data for driver genalloc use. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/include/mach/sram.h |3 +++ arch/arm/mach-davinci/sram.c |5 + 2

[PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-03 Thread Matt Porter
: Ben Gardiner [rebased to mainline as the consolidated SRAM support was dropped] Signed-off-by: Matt Porter --- arch/arm/mach-davinci/sram.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-davinci/sram.c b/arch/arm/mach-davinci/sram.c index db

Re: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-03 Thread Matt Porter
On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > Changes since v1: > - Replaced uio_pruss private SRAM API use with genalloc > - Added DA850 platform device and clock support > - Added DA850 L3 RAM gen_pool support > - Split out DT binding &

[PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-04 Thread Matt Porter
n the driver were completely unused. I've only enabled ping-pong buffering on the platform I can test as it's best to allow those with DM644x and similar platforms to set the playback/capture sram size to something that's known to work for them. [1] http://www.spinics.net/lists/arm-kernel/

[PATCH 2/2] ARM: davinci: enable SRAM ping ping buffering on DA850

2012-10-04 Thread Matt Porter
Passes the DA850 shared SRAM gen_pool to the McASP driver and enables the ping-pong buffer DMA support. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH 1/2] ASoC: davinci: replace private sram api with genalloc

2012-10-04 Thread Matt Porter
Removes the DaVinci private SRAM API and replaces it with the genalloc API. The SRAM gen_pool is passed in pdata since DaVinci is in the early stages of DT conversion. Signed-off-by: Matt Porter --- include/linux/platform_data/davinci_asp.h |3 +++ sound/soc/davinci/davinci-mcasp.c

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: > Hi Matt, > > On 10/3/12, Matt Porter wrote: > > This series enables uio_pruss on DA850 and removes use of the > > private SRAM API by the driver. The driver previously was not > > enabled by any platfo

Re: [PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:18:41PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Ben Gardiner > > > > The current davinci init sets up SRAM in iotables. There has been an > > observed > > failure to boot a da850 with 128K specif

Re: [PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:23:34PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Ben Gardiner > > > > The sram regions defined for da850-dm646x in their iotable entries are also > > defined in their davinci_soc_info's. > >

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:27:23PM +0530, Sekhar Nori wrote: > Matt, > > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Subhasish Ghosh > > > > This patch modifies the sram allocator to allocate memory > > from the DA8XX shared RAM. > > > > Sign

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > Adds PRUSS clock, registers the L3RAM pool, and registers the > > platform device for uio_pruss on DA850. > > > > Signed-off-by: Matt Porter > > I am int

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 06:24:56PM +0530, Sekhar Nori wrote: > On 10/4/2012 6:12 PM, Matt Porter wrote: > > On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: > >> Hi Matt, > >> > >> On 10/3/12, Matt Porter wrote: > >>> This series e

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 03:35:53PM +0200, Philipp Zabel wrote: > On Thu, Oct 04, 2012 at 08:42:53AM -0400, Matt Porter wrote: > > > I think the generic SRAM/genalloc driver > > > (https://lkml.org/lkml/2012/9/7/282) > > > could be useful to map the L3RAM on Davinci.

Re: [PATCH v4 2/6] misc: Generic on-chip SRAM allocation driver

2012-10-04 Thread Matt Porter
a2f86e72e854cf404d8f58fbeba85 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Thu, 4 Oct 2012 11:08:02 -0400 Subject: [PATCH] misc: sram: add support for configurable allocation order Adds support for setting the genalloc pool's minimum allocation order via DT or platform data. The allocatio

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > +static struct clk pruss_clk = { > > + .name = "pruss", > > + .parent = &pll0_sysclk2, > > + .lpsc = DA8XX_LPSC0_PR

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:27:23PM +0530, Sekhar Nori wrote: > Matt, > > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Subhasish Ghosh > > > > This patch modifies the sram allocator to allocate memory > > from the DA8XX shared RAM. > > > > Sign

[PATCH v4 0/7] uio_pruss cleanup and platform support

2012-10-05 Thread Matt Porter
is tested on the same platform using the PRU_memAccessPRUDataRam and PRU_memAccessL3andDDR examples from the PRU userspace tools available from http://www.ti.com/tool/sprc940 Ben Gardiner (1): ARM: davinci: sram: switch from iotable to ioremapped regions Matt Porter (5): uio: uio_pruss: repl

[PATCH v4 1/7] uio: uio_pruss: replace private SRAM API with genalloc

2012-10-05 Thread Matt Porter
Remove the use of the private DaVinci SRAM API in favor of genalloc. The pool to be used is provided by platform data. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +--- include/linux

[PATCH v4 2/7] ARM: davinci: sram: switch from iotable to ioremapped regions

2012-10-05 Thread Matt Porter
gen_pool_add_virt(). Remove all iotable SRAM mappings and SRAM_VIRT. Regression tested suspend/resume on AM180x EVM. Signed-off-by: Ben Gardiner Signed-off-by: Matt Porter --- arch/arm/mach-davinci/da850.c |6 -- arch/arm/mach-davinci/dm355.c |6 -- arch/arm

[PATCH v4 5/7] ARM: davinci: add DA850 PRUSS support

2012-10-05 Thread Matt Porter
Adds PRUSS clock support and registration helper for the pruss_uio device. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 65 arch/arm/mach-davinci/include/mach/da8xx.h |2 + 3

[PATCH v4 4/7] ARM: davinci: add platform hook to fetch the SRAM pool

2012-10-05 Thread Matt Porter
Adds sram_get_gen_pool() which allows platform code to get the machine's SRAM gen_pool. The gen_pool may be passed in platform data for driver genalloc use. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/include/mach/sram.h |3 +++ arch/arm/mach-davinci/sram.c |

[PATCH v4 6/7] ARM: davinci: clean up DA850 EVM include ordering

2012-10-05 Thread Matt Porter
Reorder includes so they are grouped by linux/mach/asm Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci

[PATCH v4 7/7] ARM: davinci: register pruss_uio device on DA850 EVM

2012-10-05 Thread Matt Porter
Configures the required pdata and registers the pruss_uio platform device on the DA850 EVM. Tested on AM180x-EVM using the PRU_memAccessPRUDataRam and PRU_memAccessL3andDDR examples from the PRU userspace tools available from http://www.ti.com/tool/sprc940 Signed-off-by: Matt Porter --- arch

  1   2   3   4   5   6   7   8   >