[RFC PATCH v2 00/16] DMA Engine support for AM33xx

2012-10-11 Thread Matt Porter
io supported by the ASoC Davinci driver. After this series, the plan is to convert the last in-tree user of the private EDMA API (davinci-pcm/mcasp) and then eliminate the private EDMA API by folding its functionality into drivers/dma/edma.c. Matt Porter (16): dmaengine: edma: fix slave confi

Re: [PATCH] ARM: OMAP2+: gpmc: Fix kernel BUG for DT boot mode

2012-10-10 Thread Matt Porter
On Wed, Oct 10, 2012 at 10:35:01AM -0400, Matt Porter wrote: > On Wed, Oct 10, 2012 at 02:19:40PM +, Vaibhav Hiremath wrote: > > On Wed, Oct 10, 2012 at 19:30:27, Porter, Matt wrote: > > > On Tue, Oct 09, 2012 at 02:27:20PM +0530, Vaibhav Hiremath wrote: > > > &g

Re: [PATCH] ARM: OMAP2+: AM33XX: clock data: fix mcasp entries

2012-10-10 Thread Matt Porter
On Wed, Oct 10, 2012 at 02:33:54PM +, Vaibhav Hiremath wrote: > On Wed, Oct 10, 2012 at 20:00:49, Porter, Matt wrote: > > 6ea74cb ARM: OMAP2+: hwmod: get rid of all omap_clk_get_by_name usage > > exposes a bug in the AM33XX clock data for mcasp. After moving to > > clk_get() usage, the _init()

Re: [PATCH] ARM: OMAP2+: gpmc: Fix kernel BUG for DT boot mode

2012-10-10 Thread Matt Porter
efore creating > > > device, so that for DT boot mode, gpmc probe will not be called > > > which is expected behavior, as gpmc is not supported yet from DT. > > > > > > Signed-off-by: Vaibhav Hiremath > > > Cc: Afzal Mohammed > > &g

[PATCH] ARM: OMAP2+: AM33XX: clock data: fix mcasp entries

2012-10-10 Thread Matt Porter
fail to _init() leaving them in a bad state. This patch updates the mcasp clock entries so clk_get() will succeed. It is tested on BeagleBone and is needed for 3.7-rc1 to fix AM33xx boot. Signed-off-by: Matt Porter --- arch/arm/mach-omap2/clock33xx_data.c |4 ++-- 1 file changed, 2

Re: [PATCH] ARM: OMAP2+: gpmc: Fix kernel BUG for DT boot mode

2012-10-10 Thread Matt Porter
dgren > Cc Paul Walmsley > --- > This should go in for rc1, as this breaks AM33xx boot. Fixes BeagleBone on mainline. Tested-by: Matt Porter -Matt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [RFC PATCH 03/13] ARM: edma: add DT and runtime PM support for AM335x

2012-10-09 Thread Matt Porter
case in order to unidle the > > associated hwmods on AM335x. > > > > Signed-off-by: Matt Porter > > --- > > arch/arm/common/edma.c | 252 > > -- > > arch/arm/include/asm/mach/edma.h |8 +- >

[PATCH v5 7/7] ARM: davinci: da850 evm: register uio_pruss device

2012-10-08 Thread Matt Porter
Registers the uio_pruss 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/arm/mach-davinci/board-da850-evm.c

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

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

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

2012-10-08 Thread Matt Porter
On Mon, Oct 08, 2012 at 04:27:20PM +0530, Sekhar Nori wrote: > On 10/5/2012 10:34 PM, 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 platform and

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

2012-10-08 Thread Matt Porter
On Mon, Oct 08, 2012 at 04:23:05PM +0530, Sekhar Nori wrote: > On 10/5/2012 10:34 PM, Matt Porter wrote: > > Configures the required pdata and registers the pruss_uio > > platform device on the DA850 EVM. > > > > Tested on AM180x-EVM using the PRU_memAccessPRUDataRam an

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

2012-10-05 Thread Matt Porter
On Thu, Oct 04, 2012 at 06:15:43AM -0400, Matt Porter wrote: > This series converts davinci ASoC to use genalloc and enables > that support on DA850. It applies on top of the uio_pruss/genalloc > series [1] which allows DaVinci to provide a gen_pool via pdata > for driver use. >

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

2012-10-05 Thread Matt Porter
On Fri, Oct 05, 2012 at 04:43:56AM +, Hebbar, Gururaja wrote: > Matt, > > On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > > Changes since v1: > > > - Replaced uio_pruss p

[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

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

2012-10-05 Thread Matt Porter
SRAM patches were dropped] Signed-off-by: Matt Porter --- arch/arm/mach-davinci/da850.c |4 ++-- arch/arm/mach-davinci/include/mach/da8xx.h |1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index

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

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: > > +static struct clk pruss_clk = { > > + .name = "pruss", > > + .parent = &pll0_sysclk2, > > + .lpsc = DA8XX_LPSC0_PR

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

[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

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

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

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

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

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 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: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-10-01 Thread Matt Porter
On Thu, Sep 27, 2012 at 03:11:08PM +0530, Vinod Koul wrote: > On Fri, 2012-09-21 at 19:47 +0100, Russell King - ARM Linux wrote: > > On Fri, Sep 21, 2012 at 10:45:29PM +0530, S, Venkatraman wrote: > > > On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter wrote: > > > >

Re: [RFC PATCH 10/13] spi: omap2-mcspi: dma_request_slave_channel() support for DT platforms

2012-10-01 Thread Matt Porter
On Thu, Sep 27, 2012 at 03:06:34PM +0530, Vinod Koul wrote: > On Fri, 2012-09-21 at 14:37 -0400, Matt Porter wrote: > > On Fri, Sep 21, 2012 at 08:42:47AM -0700, Tony Lindgren wrote: > > > > > > Can't we come up with a version of dma_request_slave_channel th

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

2012-10-01 Thread Matt Porter
On Mon, Oct 01, 2012 at 08:32:42AM -0400, 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 (shared SRAM) is needed for use by several drivers. > > >

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

2012-10-01 Thread Matt Porter
On Sat, Sep 29, 2012 at 06:34:54PM +, Paul Walmsley wrote: > > cc Omar > > Hi Matt > > On Fri, 28 Sep 2012, Matt Porter wrote: > > > The AM33xx support requires some help in hwmod due to the following > > comment in arch/arm/mach-omap2/omap_hwmod.c: >

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

2012-10-01 Thread Matt Porter
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 (shared SRAM) is needed for use by several drivers. > > This creates a genalloc pool and a hook for the platform code > > to provide the st

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

2012-09-28 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 v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-09-28 Thread Matt Porter
L3RAM (shared SRAM) is needed for use by several drivers. This creates a genalloc pool and a hook for the platform code to provide the struct gen_pool * in platform data. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/include/mach/common.h |2 ++ arch/arm/mach-davinci/include/mach

[PATCH v2 5/7] ARM: davinci: Add support for PRUSS on DA850

2012-09-28 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 |9 arch/arm/mach-davinci/devices-da8xx.c | 66

[PATCH v2 6/7] ARM: omap: add DT support for deasserting hardware reset lines

2012-09-28 Thread Matt Porter
-by: Matt Porter --- .../devicetree/bindings/arm/omap/omap.txt |2 ++ arch/arm/plat-omap/omap_device.c | 25 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation

[PATCH v2 2/7] uio: uio_pruss: add support for am33xx

2012-09-28 Thread Matt Porter
Adds DT, pinctrl, and runtime PM support to enable AM33xx. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |4 +-- drivers/uio/uio_pruss.c | 90 +-- 2 files changed, 73 insertions(+), 21 deletions(-) diff --git a/drivers/uio/Kconfig b

[PATCH v2 7/7] ARM: dts: AM33xx PRUSS support

2012-09-28 Thread Matt Porter
Adds a pruss node and an example of use on Beaglebone. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am335x-bone.dts |4 arch/arm/boot/dts/am33xx.dtsi | 11 +++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts

[PATCH v2 3/7] uio: dt: add TI PRUSS binding

2012-09-28 Thread Matt Porter
Adds a DT binding definition for the TI PRUSS. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/uio/pruss.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/uio/pruss.txt diff --git a/Documentation/devicetree

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

2012-09-28 Thread Matt Porter
anner. Ideally, we would want the implementation to observe the ti,deassert-hard-reset property and use that in omap_hwmod.c:_enable() *after* the module is unidled and the clocks active. However, this is actually functional for purposes of getting the uio_pruss driver up and running. Matt Porter (7):

Re: [RFC PATCH 1/3] uio: uio_pruss: port to AM33xx

2012-09-28 Thread Matt Porter
On Wed, Sep 26, 2012 at 02:10:19PM -0700, Greg Kroah-Hartman wrote: > On Wed, Sep 26, 2012 at 09:44:29AM -0400, Matt Porter wrote: > > Add ifdefery hacks to only use SRAM on Davinci. This > > needs to be cleaned up with a sane generic SRAM allocator > > (like the DT based

Re: [RFC PATCH 1/3] uio: uio_pruss: port to AM33xx

2012-09-28 Thread Matt Porter
On Thu, Sep 27, 2012 at 01:51:18AM +0200, Hans J. Koch wrote: > On Wed, Sep 26, 2012 at 09:44:29AM -0400, Matt Porter wrote: > > Add ifdefery hacks to only use SRAM on Davinci. This > > needs to be cleaned up with a sane generic SRAM allocator > > (like the DT based driver av

[PATCH] pinctrl: pinctrl-single: add debugfs pin h/w state info

2012-09-26 Thread Matt Porter
Adds support for displaying the individual pin h/w config state. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- drivers/pinctrl/pinctrl-single.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl

Re: replacement for /sys/kernel/debug/omap_mux in DT/pinctrl land ?

2012-09-26 Thread Matt Porter
On Wed, Sep 26, 2012 at 03:03:27PM +0200, Linus Walleij wrote: > On Wed, Sep 26, 2012 at 2:56 PM, Matt Porter wrote: > > Adding Linus W. and lkml. > > On Wed, Sep 26, 2012 at 01:46:45PM +0200, Koen Kooi wrote: > >> Hi, > >> > >> With a patched 3.6rc7 on m

[RFC PATCH 1/3] uio: uio_pruss: port to AM33xx

2012-09-26 Thread Matt Porter
se on AM33xx. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/uio/pruss.txt| 17 ++ .../devicetree/bindings/uio/uio_pruss.txt | 17 ++ drivers/uio/Kconfig|4 +- drivers/uio/uio_pruss.c|

[RFC PATCH 3/3] ARM: dts: AM33xx PRUSS support

2012-09-26 Thread Matt Porter
Adds a pruss node and an example of use on Beaglebone. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am335x-bone.dts |4 arch/arm/boot/dts/am33xx.dtsi | 11 +++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts

[RFC PATCH 0/3] uio_pruss support for AM33xx

2012-09-26 Thread Matt Porter
reset property and use that in omap_hwmod.c:_enable() *after* the module is unidled and the clocks active. However, this is actually functional for purposes of getting the uio_pruss driver up and running. Matt Porter (3): uio: uio_pruss: port to AM33xx ARM: omap: add DT support for deasserting har

[RFC PATCH 2/3] ARM: omap: add DT support for deasserting hardware reset lines

2012-09-26 Thread Matt Porter
-by: Matt Porter --- .../devicetree/bindings/arm/omap/omap.txt |2 ++ arch/arm/plat-omap/omap_device.c | 25 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation

Re: [RFC PATCH 00/13] DMA Engine support for AM33xx

2012-09-26 Thread Matt Porter
On Wed, Sep 26, 2012 at 08:26:19AM +, Hebbar, Gururaja wrote: > On Fri, Sep 21, 2012 at 23:52:11, Porter, Matt wrote: > > On Fri, Sep 21, 2012 at 08:27:07AM +, Hebbar, Gururaja wrote: > > > On Thu, Sep 20, 2012 at 20:13:33, Porter, Matt wrote: > > > > This series adds DMA Engine support for

Re: replacement for /sys/kernel/debug/omap_mux in DT/pinctrl land ?

2012-09-26 Thread Matt Porter
Adding Linus W. and lkml. On Wed, Sep 26, 2012 at 01:46:45PM +0200, Koen Kooi wrote: > Hi, > > With a patched 3.6rc7 on my beaglebone I can set the pinmux for pins using > pinctrl and that seems to work. On the 3.2 vendor tree there was the omap_mux > driver with an awesome debugfs interface: >

Re: [RFC PATCH 00/13] DMA Engine support for AM33xx

2012-09-24 Thread Matt Porter
> > Thanks for the link. However, I was looking for the mainline kernel > repo/branch > That you first used as baseline. Linus 3.6-rc6 is the baseline. This inital version was created before any of the am33xx base support patches got pulled to linux-next. v2 is being reb

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 07:47:21PM +0100, Russell King wrote: > On Fri, Sep 21, 2012 at 10:45:29PM +0530, S, Venkatraman wrote: > > On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter wrote: > > > The EDMA DMAC has a hardware limitation that prevents supporting > > > scatter g

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 08:18:41PM +0300, Felipe Balbi wrote: > On Fri, Sep 21, 2012 at 10:47:30PM +0530, S, Venkatraman wrote: > > On Fri, Sep 21, 2012 at 10:45 PM, S, Venkatraman wrote: > > > On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter wrote: > > >> The EDMA

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 10:47:30PM +0530, S, Venkatraman wrote: > On Fri, Sep 21, 2012 at 10:45 PM, S, Venkatraman wrote: > > On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter wrote: > >> The EDMA DMAC has a hardware limitation that prevents supporting > >> scatter gath

Re: [RFC PATCH 10/13] spi: omap2-mcspi: dma_request_slave_channel() support for DT platforms

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 08:42:47AM -0700, Tony Lindgren wrote: > * Arnd Bergmann [120921 02:19]: > > On Thursday 20 September 2012, Tony Lindgren wrote: > > > > /* use PIO for small transfers, avoiding DMA setup/teardown overhead > > > > and > > > > @@ -798,14 +801,26 @@ static int omap2_mcspi_r

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

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 10:42:05AM +0100, Russell King wrote: > On Fri, Sep 21, 2012 at 09:33:42AM +, Hebbar, Gururaja wrote: > > On Fri, Sep 21, 2012 at 14:59:23, Russell King - ARM Linux wrote: > > > On Thu, Sep 20, 2012 at 10:43:34AM -0400, Matt Porter wrote: > > >

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

2012-09-21 Thread Matt Porter
does not support OMAP. > > > > Signed-off-by: Matt Porter > > --- > > arch/arm/Kconfig |1 + > > arch/arm/common/Kconfig|3 + > > arch/arm/common/Makefile |1

Re: [RFC PATCH 05/13] dma: Add TI EDMA device tree binding

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 08:45:53AM +, Hebbar, Gururaja wrote: > On Thu, Sep 20, 2012 at 20:13:38, Porter, Matt wrote: > > The binding definition is based on the generic DMA controller > > binding. > > > > Signed-off-by: Matt Porter > > --- > > D

Re: [RFC PATCH 00/13] DMA Engine support for AM33xx

2012-09-21 Thread Matt Porter
3.6-rc6 and you can see the complete set of patches at https://github.com/ohporter/linux/tree/edma-dmaengine-am33xx-rfc-v1 after commit 5698bd757d55b1bb87edd1a9744ab09c142abfc2 > This will help us to test the code. > > This is because I looked at the patch 12/13 and I see that mmc > device

Re: [RFC PATCH 13/13] Documentation: add schedule for removing private EDMA API

2012-09-20 Thread Matt Porter
On Thu, Sep 20, 2012 at 04:58:58PM +0100, Mark Brown wrote: > On Thu, Sep 20, 2012 at 10:43:46AM -0400, Matt Porter wrote: > > > Documentation/feature-removal-schedule.txt | 10 ++ > > 1 file changed, 10 insertions(+) > > We decided at kernel summit that we&#x

[RFC PATCH 04/13] dmaengine: edma: enable build for AM335x

2012-09-20 Thread Matt Porter
Enable config option on OMAP and adjust the private EDMA API header to match the move of the private EDMA API out of mach-davinci/ Signed-off-by: Matt Porter --- drivers/dma/Kconfig |2 +- drivers/dma/edma.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[RFC PATCH 02/13] ARM: edma: remove unused transfer controller handlers

2012-09-20 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 --- arch/arm/common/edma.c | 37 - 1 file changed, 37 deletions

[RFC PATCH 05/13] dma: Add TI EDMA device tree binding

2012-09-20 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

[RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-20 Thread Matt Porter
gment limitations. Signed-off-by: Matt Porter --- drivers/mmc/host/omap_hsmmc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index c82d0ab..61b54ee 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hs

[RFC PATCH 09/13] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2012-09-20 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 25 +++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/ti-omap

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

2012-09-20 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

[RFC PATCH 12/13] ARM: dts: add am33xx EDMA support

2012-09-20 Thread Matt Porter
Adds support for the defined EDMA, generic DMA controller, and DMA request bindings for mmc and spi. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 46 + 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch

[RFC PATCH 13/13] Documentation: add schedule for removing private EDMA API

2012-09-20 Thread Matt Porter
The davinci-pcm driver is the last in-kernel user of the private EDMA API. Once it has been converted to DMA Engine API the private EDMA API functionality can be folded into the EDMA DMA Engine driver and removed. Signed-off-by: Matt Porter --- Documentation/feature-removal-schedule.txt | 10

[RFC PATCH 10/13] spi: omap2-mcspi: dma_request_slave_channel() support for DT platforms

2012-09-20 Thread Matt Porter
For platforms with DT populated, use dma_request_slave_channel() to acquire the DMA channel. For !DT platforms, we fall back to explicitly passing the omap_dma_filter_fn() to dma_request_channel(). Once all platforms boot from DT, the dma_request_channel() path can be dropped. Signed-off-by: Matt

[RFC PATCH 06/13] ARM: omap: add hsmmc am33xx specific init

2012-09-20 Thread Matt Porter
AM33xx requires special handling in hsmmc initialization platform glue. Signed-off-by: Matt Porter --- arch/arm/mach-omap2/hsmmc.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index a9675d8..679fb43

[RFC PATCH 07/13] mmc: omap_hsmmc: dma_request_slave_channel() support for DT platforms

2012-09-20 Thread Matt Porter
For platforms with DT populated, use dma_request_slave_channel() to acquire the DMA channel. For !DT platforms, we fall back to explicitly passing the omap_dma_filter_fn() to dma_request_channel(). Once all platforms boot from DT, the dma_request_channel() path can be dropped. Signed-off-by: Matt

[RFC PATCH 03/13] ARM: edma: add DT and runtime PM support for AM335x

2012-09-20 Thread Matt Porter
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 on AM335x. Signed-off-by: Matt Porter --- arch/arm/common/edma.c | 252

[RFC PATCH 00/13] DMA Engine support for AM33xx

2012-09-20 Thread Matt Porter
-pcm/mcasp) and then eliminate the private EDMA API by folding its functionality into drivers/dma/edma.c. TODO: add AM33xx crossbar support to the private EDMA API (any EDMA events on the crossbar are not supported) Matt Porter (13): ARM: davinci: move private EDMA API to arm/co

[PATCH] dma: edma: fix slave config dependency on direction

2012-09-18 Thread Matt Porter
. spi-omap2-mcspi and omap_hsmmc both expose this bug as they configure the slave channel config from a common path with an unconfigured direction field. Signed-off-by: Matt Porter --- drivers/dma/edma.c | 55 ++-- 1 file changed, 27 insertions(+), 28

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

2012-09-18 Thread Matt Porter
On Tue, Sep 18, 2012 at 10:57:26AM +0530, Shubhrajyoti wrote: > 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 Port

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

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

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 s

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

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

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

2012-09-17 Thread Matt Porter
pinctrl to set pinmuxes appropriately require this for omap2-mcspi operation. It has been tested on AM335x BeagleBone with an Adafruit SPI LCD attached and regression tested on Beagleboard xM booting in the !DT case, using board-omap3evm.c. The series applies on top of Tony's dt-devel branch.

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

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

<    2   3   4   5   6   7   8   >