Re: Another test10 PCI resource conflict

2000-10-25 Thread Matt Porter
before reporting PPC kernel bugs. http://www.fsmlabs.com/linuxppcbk.html -- Matt Porter MontaVista Software, Inc. [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://w

Re: [PATCH] Tokyo Electron SDIO controller (Ellen) support

2007-12-03 Thread Matt Porter
On Sat, Dec 01, 2007 at 09:50:10PM +0100, Pierre Ossman wrote: As for the patch, it's a big NAK at this point. Vendors who can't be bothered to follow the standard will have to wait for Ben's separation patches before they can be supported. Then they can have some voodoo front-end to handle

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

2012-09-24 Thread Matt Porter
(yet). Oops. You'll need e62aae450bcdefbe9d7bc277ae0ef645 and fe97304557d2c6f7d0aaf1ea028ea48ffca366a9 which I forgot to include in this series. I'll have them in for v2. -Matt Matt Porter (13): ARM: davinci: move private EDMA API to arm/common ARM: edma: remove

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

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

2012-09-26 Thread Matt Porter
-by: Matt Porter mpor...@ti.com --- .../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

[RFC PATCH 0/3] uio_pruss support for AM33xx

2012-09-26 Thread Matt Porter
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 hardware

[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 mpor...@ti.com --- 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

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

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

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 mpor...@ti.com 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 my beaglebone I can set the pinmux for pins

[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 mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/pinctrl/pinctrl-single.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl

[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
[rebased to mainline as consolidated SRAM patches were dropped] Signed-off-by: Matt Porter mpor...@ti.com --- 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

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

2012-10-03 Thread Matt Porter
. Since this removal completely removes all uses of SRAM_VIRT, also remove the SRAM_VIRT definition. Signed-off-by: Ben Gardiner bengardi...@nanometrics.ca Tested-by: Matt Porter mpor...@ti.com --- arch/arm/mach-davinci/da850.c |6 -- arch/arm/mach-davinci/dm355.c

[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 mpor...@ti.com --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +--- include

[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 mpor...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c| 12 + arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices

[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 mpor...@ti.com --- arch/arm/mach-davinci/include/mach/sram.h |3 +++ arch/arm/mach-davinci/sram.c |5

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

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

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 This series enables

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

2012-10-04 Thread Matt Porter
in 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/msg198854.html Matt

[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 mpor...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/arm

[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 mpor...@ti.com --- include/linux/platform_data/davinci_asp.h |3 +++ sound/soc/davinci/davinci

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 mpor...@ti.com 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 the private SRAM

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 bengardi...@nanometrics.ca The current davinci init sets up SRAM in iotables. There has been an observed failure to boot a da850 with 128K specified in the iotable

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 bengardi...@nanometrics.ca The sram regions defined for da850-dm646x in their iotable entries are also defined in their davinci_soc_info's. Remove this duplicate

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 subhas...@mistralsolutions.com This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh

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 mpor...@ti.com I am interested in knowing how

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 mpor...@ti.com wrote: This series enables uio_pruss on DA850 and removes use

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. With the gen_pool lookup patch (https

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

2012-10-04 Thread Matt Porter
2001 From: Matt Porter mpor...@ti.com 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 allocation order is optional for both the DT

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_PRUSS, +}; + static struct clk uart0_clk

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 subhas...@mistralsolutions.com This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh

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

[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 mpor...@ti.com --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +--- include

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

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

[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 mpor...@ti.com --- arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 65 arch/arm/mach-davinci/include/mach

[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 mpor...@ti.com --- 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 mpor...@ti.com --- 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

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

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

2012-10-05 Thread Matt Porter
-off-by: Ben Gardiner bengardi...@nanometrics.ca [rebased to mainline as consolidated SRAM patches were dropped] Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/mach-davinci/da850.c |4 ++-- arch/arm/mach-davinci/include/mach/da8xx.h |1 + 2 files changed, 3 insertions

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 private SRAM API use with genalloc - Added DA850

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. I've tested

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 and PRU_memAccessL3andDDR examples

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 the private SRAM API was accessing

[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 mpor...@ti.com --- arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 71 arch/arm/mach-davinci/include/mach

[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 mpor...@ti.com --- arch/arm/mach-davinci

Re: [RFC PATCH v3 00/16] DMA Engine support for AM33XX

2012-10-19 Thread Matt Porter
On Fri, Oct 19, 2012 at 10:26:20AM +, Bedia, Vaibhav wrote: Hi Matt, On Thu, Oct 18, 2012 at 18:56:39, Porter, Matt wrote: Changes since v2: - Rebased on 3.7-rc1 - Fixed bug in DT/pdata parsing first found by Gururaja that turned out to be masked by some toolchains

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

2012-10-19 Thread Matt Porter
) is reused from OMAP4. Signed-off-by: Philip, Avinash avinashphi...@ti.com Tested-by: Matt Porter mpor...@ti.com --- Changes since v1: - Corrected reg offset in reg DT entry. :100644 100644 ff3badb... 065fd54... M arch/arm/boot/dts/am33xx.dtsi arch/arm/boot/dts

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

2012-10-19 Thread Matt Porter
On Fri, Oct 19, 2012 at 02:40:58PM +0200, Benoit Cousson wrote: Hi Matt, On 10/19/2012 01:30 PM, Matt Porter wrote: On Fri, Oct 19, 2012 at 10:24:15AM +0200, Benoit Cousson wrote: Hi Avinash, This look good to me except the: status = disabled. The disabled should be reserved

Re: [RFC PATCH v3 00/16] DMA Engine support for AM33XX

2012-10-19 Thread Matt Porter
On Fri, Oct 19, 2012 at 12:02:42PM +, Bedia, Vaibhav wrote: On Fri, Oct 19, 2012 at 16:45:58, Porter, Matt wrote: On Fri, Oct 19, 2012 at 10:26:20AM +, Bedia, Vaibhav wrote: [...] I didn't see all the patches that you posted on edma-dmaengine-v3 but I do seem them on

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

2012-10-24 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 the private SRAM API was accessing

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

2012-10-09 Thread Matt Porter
the associated hwmods on AM335x. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 252 -- arch/arm/include/asm/mach/edma.h |8 +- 2 files changed, 244 insertions(+), 16 deletions(-) The binding documentation should

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

2012-10-10 Thread Matt Porter
--- This should go in for rc1, as this breaks AM33xx boot. Fixes BeagleBone on mainline. Tested-by: Matt Porter mpor...@ti.com -Matt -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

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

2012-10-10 Thread Matt Porter
to 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 mpor...@ti.com --- arch/arm/mach-omap2/clock33xx_data.c |4 ++-- 1 file

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

2012-10-10 Thread Matt Porter
-by: Vaibhav Hiremath hvaib...@ti.com Cc: Afzal Mohammed af...@ti.com Cc: Tony Lindgren t...@atomide.com Cc Paul Walmsley p...@pwsan.com --- This should go in for rc1, as this breaks AM33xx boot. Fixes BeagleBone on mainline. Tested-by: Matt Porter mpor...@ti.com Thanks

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() of all

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: With recent changes in omap gpmc driver

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

2012-10-11 Thread Matt Porter
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 config dependency

[RFC PATCH v2 01/16] dmaengine: edma: fix slave config dependency on direction

2012-10-11 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 mpor...@ti.com --- drivers/dma/edma.c | 55 ++-- 1 file changed, 27

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

2012-10-11 Thread Matt Porter
Adds AM33XX SPI support to the am33xx.dtsi and the BeagleBone dts. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 17 +++ arch/arm/boot/dts/am33xx.dtsi | 43 + 2 files changed, 60 insertions(+) diff --git

[RFC PATCH v2 05/16] dmaengine: edma: enable build for AM33XX

2012-10-11 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 677cd6e..eaea1c2 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

[RFC PATCH v2 08/16] ARM: omap: add hsmmc am33xx specific init

2012-10-11 Thread Matt Porter
AM33xx requires special handling in hsmmc initialization platform glue. Signed-off-by: Matt Porter mpor...@ti.com --- 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 4d3a632

[RFC PATCH v2 12/16] mmc: omap_hsmmc: add generic DMA request support to the DT binding

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

[RFC PATCH v2 15/16] spi: omap2-mcspi: add generic DMA request support to the DT binding

2012-10-11 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

[RFC PATCH v2 14/16] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2012-10-11 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 3542fdc..793ae8c 100644

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

2012-10-11 Thread Matt Porter
Adds AM33XX MMC support to the am33xx.dtsi and the BeagleBone dts. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |6 ++ arch/arm/boot/dts/am33xx.dtsi | 27 +++ 2 files changed, 33 insertions(+) diff --git a/arch/arm/boot

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

2012-10-11 Thread Matt Porter
limit. Signed-off-by: Matt Porter mpor...@ti.com --- 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 b327cd0..52bab01 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc

[RFC PATCH v2 10/16] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2012-10-11 Thread Matt Porter
to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 54bfd0c..b327cd0 100644 --- a/drivers/mmc/host

[RFC PATCH v2 04/16] ARM: edma: add DT and runtime PM support for AM335x

2012-10-11 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. TODO: add AM33XX crossbar support and DT binding Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm

[RFC PATCH v2 03/16] ARM: edma: remove unused transfer controller handlers

2012-10-11 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

[RFC PATCH v2 09/16] dmaengine: add dma_request_slave_channel_compat()

2012-10-11 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 --- include/linux/dmaengine.h | 10 ++ 1 file changed, 10 insertions(+) diff --git

[RFC PATCH v2 07/16] ARM: dts: add AM33XX EDMA support

2012-10-11 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 | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts

[RFC PATCH v2 06/16] dmaengine: edma: Add TI EDMA device tree binding

2012-10-11 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

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

2012-10-11 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 but does not support OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

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

2012-10-11 Thread Matt Porter
platforms to set the playback/capture sram size to something that's known to work for them. [1] https://lkml.org/lkml/2012/10/5/425 Matt Porter (2): ASoC: davinci: replace private sram api with genalloc ARM: davinci: enable SRAM ping ping buffering on DA850 arch/arm/mach-davinci/board-da850

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

2012-10-11 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 mpor...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/arch/arm

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

2012-10-11 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 mpor...@ti.com --- include/linux/platform_data/davinci_asp.h |3 +++ sound/soc/davinci/davinci

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

2012-10-11 Thread Matt Porter
On Thu, Oct 11, 2012 at 10:31:58PM +0100, Grant Likely wrote: Hey Matt, Do you know now similar are the EDMA engines on the am33xx and am389x? I've been working on am389x upstreaming and I'll try these patches out if it is the same engine. Hi Grant, It's the same one. am389x/ti816x and

Re: [RFC PATCH v2 08/16] ARM: omap: add hsmmc am33xx specific init

2012-10-12 Thread Matt Porter
On Fri, Oct 12, 2012 at 09:17:53AM +, Hebbar, Gururaja wrote: Matt On Fri, Oct 12, 2012 at 00:34:33, Porter, Matt wrote: AM33xx requires special handling in hsmmc initialization platform glue. Since AM335x boots mainly through DT, do we still need this patch. This function will be

Re: [PATCH] davinci: check for presence of channel controller on slot alloc

2012-10-26 Thread Matt Porter
On Fri, Oct 26, 2012 at 05:09:17PM +0530, Sekhar Nori wrote: + Matt, who is doing the DMA engine conversion for EDMA On 9/12/2012 11:44 PM, Cyril Chemparathy wrote: This patch adds a check for the presence of the channel controller when trying to allocate a slot. Without this fix, the

[RFC PATCH v3 01/16] dmaengine: edma: fix slave config dependency on direction

2012-10-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 mpor...@ti.com --- drivers/dma/edma.c | 55 ++-- 1 file changed, 27

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

2012-10-18 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 but does not support OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

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

2012-10-18 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 | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts

[RFC PATCH v3 12/16] mmc: omap_hsmmc: add generic DMA request support to the DT binding

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

[RFC PATCH v3 15/16] spi: omap2-mcspi: add generic DMA request support to the DT binding

2012-10-18 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

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

2012-10-18 Thread Matt Porter
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/am335x-evm.dts |9 arch/arm/boot/dts/am33xx.dtsi | 43 + 3

[RFC PATCH v3 14/16] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2012-10-18 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 3542fdc..793ae8c 100644

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

2012-10-18 Thread Matt Porter
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/am335x-evm.dts |6 ++ arch/arm/boot/dts/am33xx.dtsi | 27 +++ 3 files changed, 39

[RFC PATCH v3 06/16] dmaengine: edma: enable build for AM33XX

2012-10-18 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 677cd6e..eaea1c2 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig

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

2012-10-18 Thread Matt Porter
limit. Signed-off-by: Matt Porter mpor...@ti.com --- 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 b327cd0..52bab01 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc

[RFC PATCH v3 10/16] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2012-10-18 Thread Matt Porter
to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 54bfd0c..b327cd0 100644 --- a/drivers/mmc/host

[RFC PATCH v3 07/16] dmaengine: edma: Add TI EDMA device tree binding

2012-10-18 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 | 51 + 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti

[RFC PATCH v3 09/16] dmaengine: add dma_request_slave_channel_compat()

2012-10-18 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 --- include/linux/dmaengine.h | 10 ++ 1 file changed, 10 insertions(+) diff --git

[RFC PATCH v3 00/16] DMA Engine support for AM33XX

2012-10-18 Thread Matt Porter
) and then eliminate the private EDMA API by folding its functionality into drivers/dma/edma.c. Matt Porter (16): dmaengine: edma: fix slave config dependency on direction ARM: davinci: move private EDMA API to arm/common ARM: edma: remove unused transfer controller handlers ARM: edma: add DT and runtime PM

[RFC PATCH v3 03/16] ARM: edma: remove unused transfer controller handlers

2012-10-18 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

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

2012-10-18 Thread Matt Porter
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/common/edma.c | 63 +++- include/linux/platform_data/edma.h |1 + 2

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

2012-10-18 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 AM33XX. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 255

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

2012-10-18 Thread Matt Porter
On Fri, Oct 05, 2012 at 01:04:40PM -0400, Matt Porter wrote: 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 mpor...@ti.com Hans, Any additional concerns on this patch? Sekhar is holding off

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

2012-10-18 Thread Matt Porter
On Fri, Oct 12, 2012 at 07:11:06PM +0200, Sergei Shtylyov wrote: Hello. On 11-10-2012 23:33, Matt Porter wrote: Passes the DA850 shared SRAM gen_pool to the McASP driver and enables the ping-pong buffer DMA support. Here ping-pong is correct but the subject have a typo. Thanks

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

2012-10-18 Thread Matt Porter
On Fri, Oct 12, 2012 at 07:15:53PM +0200, Daniel Mack wrote: Hi Matt, On 11.10.2012 23:33, Matt Porter wrote: 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

  1   2   3   4   5   6   7   8   9   10   >