[PATCH 2/2] DMA: EDMA: Add comments for A-sync case calculations

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes A-sync case in EDMA driver is tricky and not so obvious. Document the reasons for the calculations and the scenarious they are used. Signed-off-by: Joel A Fernandes --- drivers/dma/edma.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH 1/2] ARM: configs: Enable TI_EDMA in omap2plus_defconfig

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes Build EDMA in my default to avoid fewer people stepping on their toes with broken DMA on drivers needing EDMA. Signed-off-by: Joel A Fernandes --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs

[PATCH 0/2] EDMA config and comments

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes Minor patches remaining after EDMA series has been merged: First patch adds the TI_EDMA option which people can forget to add and can result in failure without any informative errors of why DMA is not working. Second patch adds comments to the EDMA code

[PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes HWMOD irq entries for MMC were removed. We provide the same from DT for MMC. This fixes issue where memory resource could not be found during probe. Also, added the reg-offset property to account for the offset from start. Signed-off-by: Joel A Fernandes --- arch/arm

[PATCH 4/5] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-06-25 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter Acked-by: Tony Lindgren Acked-by: Arnd Bergmann --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26 +++- 1 file changed, 25 insertions(+), 1

[PATCH 5/5] mmc: omap_hsmmc: Add reg-offset to bindings documentation

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes A new reg-offset property was added to account for register offsets in some omap-hsmmc's. Document the new property. Signed-off-by: Joel A Fernandes --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt |3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 2/5] ARM: dts: add AM33XX MMC support

2013-06-25 Thread Joel A Fernandes
From: Matt Porter Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- arch/arm/boot/dts/am335x-bone.dts |7 +++ arch/arm/boot/dts/am335x-evm.dts |7 +++ arch/arm/boot/dts/am335x-evmsk.dts |7

[PATCH 1/5] MMC: omap_hsmmc: Add reg_offset to DT bindings

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes Some omap_hsmmc's need to start from a particular offset but otherwise are same and can be reused. Let the DT tell us about the HW difference, check for the reg-offset property and use the same in the driver. Signed-off-by: Joel A Fernandes --- drivers/mmc/host

[PATCH 0/5] AM33xx: MMC resources from DT without HWMOD data

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes This series is fixes to get MMC working on AM33XX without HWMOD data. On removal of HWMOD data, interrupt and register properties need to be provided for the driver to function correctly. Also instead of specifying offset in match->data, I've added bindings for the s

[PATCH 0/2] EDMA config and comments

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes Minor patches remaining after EDMA series has been merged: First patch adds the TI_EDMA option which people can forget to add and can result in failure without any informative errors of why DMA is not working. Second patch adds comments to the EDMA code

[PATCH 0/2] EDMA config and comments

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com Minor patches remaining after EDMA series has been merged: First patch adds the TI_EDMA option which people can forget to add and can result in failure without any informative errors of why DMA is not working. Second patch adds comments to the EDMA

[PATCH 0/5] AM33xx: MMC resources from DT without HWMOD data

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com This series is fixes to get MMC working on AM33XX without HWMOD data. On removal of HWMOD data, interrupt and register properties need to be provided for the driver to function correctly. Also instead of specifying offset in match-data, I've added

[PATCH 1/5] MMC: omap_hsmmc: Add reg_offset to DT bindings

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com Some omap_hsmmc's need to start from a particular offset but otherwise are same and can be reused. Let the DT tell us about the HW difference, check for the reg-offset property and use the same in the driver. Signed-off-by: Joel A Fernandes agnel.j

[PATCH 2/5] ARM: dts: add AM33XX MMC support

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

[PATCH 5/5] mmc: omap_hsmmc: Add reg-offset to bindings documentation

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com A new reg-offset property was added to account for register offsets in some omap-hsmmc's. Document the new property. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt |3 +++ 1 file changed

[PATCH 4/5] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-06-25 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Tony Lindgren t...@atomide.com Acked-by: Arnd Bergmann a...@arndb.de --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26

[PATCH 3/5] ARM: dts: am33xx: Add interrupts and memory resources for MMC

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com HWMOD irq entries for MMC were removed. We provide the same from DT for MMC. This fixes issue where memory resource could not be found during probe. Also, added the reg-offset property to account for the offset from start. Signed-off-by: Joel

[PATCH 0/2] EDMA config and comments

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com Minor patches remaining after EDMA series has been merged: First patch adds the TI_EDMA option which people can forget to add and can result in failure without any informative errors of why DMA is not working. Second patch adds comments to the EDMA

[PATCH 2/2] DMA: EDMA: Add comments for A-sync case calculations

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com A-sync case in EDMA driver is tricky and not so obvious. Document the reasons for the calculations and the scenarious they are used. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- drivers/dma/edma.c | 22 ++ 1 file

[PATCH 1/2] ARM: configs: Enable TI_EDMA in omap2plus_defconfig

2013-06-25 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com Build EDMA in my default to avoid fewer people stepping on their toes with broken DMA on drivers needing EDMA. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-24 Thread Joel A Fernandes
On Mon, Jun 24, 2013 at 3:28 PM, Arnd Bergmann wrote: > On Saturday 22 June 2013, Joel A Fernandes wrote: >> >> >> > config TI_EDMA >> >> > tristate "TI EDMA support" >> >> > default m if 'ARCH_DAVIN

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-24 Thread Joel A Fernandes
On Mon, Jun 24, 2013 at 6:23 AM, Sekhar Nori wrote: > On 6/22/2013 3:23 AM, Joel A Fernandes wrote: >> Hi Arnd, >> >> On Fri, Jun 21, 2013 at 1:44 PM, Arnd Bergmann wrote: >>> On Friday 21 June 2013, Joel A Fernandes wrote: >>>> I think we are talking a

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-24 Thread Joel A Fernandes
On Mon, Jun 24, 2013 at 6:53 AM, Sekhar Nori wrote: > On 6/22/2013 8:23 AM, Joel A Fernandes wrote: >>>>> config TI_EDMA >>>>> tristate "TI EDMA support" >>>>> default m if 'ARCH_DAVINCI || ARCH_OMAP1 || ARCH_

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-24 Thread Joel A Fernandes
On Mon, Jun 24, 2013 at 6:53 AM, Sekhar Nori nsek...@ti.com wrote: On 6/22/2013 8:23 AM, Joel A Fernandes wrote: config TI_EDMA tristate TI EDMA support default m if 'ARCH_DAVINCI || ARCH_OMAP1 || ARCH_OMAP2 select DMA_ENGINE select DMA_VIRTUAL_CHANNELS MMC

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-24 Thread Joel A Fernandes
On Mon, Jun 24, 2013 at 6:23 AM, Sekhar Nori nsek...@ti.com wrote: On 6/22/2013 3:23 AM, Joel A Fernandes wrote: Hi Arnd, On Fri, Jun 21, 2013 at 1:44 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 21 June 2013, Joel A Fernandes wrote: I think we are talking about different things, I agree

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-24 Thread Joel A Fernandes
On Mon, Jun 24, 2013 at 3:28 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 22 June 2013, Joel A Fernandes wrote: config TI_EDMA tristate TI EDMA support default m if 'ARCH_DAVINCI || ARCH_OMAP1 || ARCH_OMAP2 select DMA_ENGINE select

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 7:07 PM, Joel A Fernandes wrote: > Hi Sekhar, > > On Fri, Jun 21, 2013 at 5:27 AM, Sekhar Nori wrote: >> Joel, >> >> On 6/21/2013 2:36 AM, Joel A Fernandes wrote: >>> From: Joel A Fernandes >>> >>> This series is r

[PATCH v2] ARM: common: edma: Fix dangling pointer dereference

2013-06-21 Thread Joel A Fernandes
function. v2: Fixed last issue in davinci branch: ninfo 2D array is used for DT platforms. info is shared between DT and non-DT cases. So point info to ninfo. With this MMC is working (rootfs mount) on AM33XX. Signed-off-by: Sekhar Nori Signed-off-by: Joel A Fernandes --- arch/arm

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
>> > config TI_EDMA >> > tristate "TI EDMA support" >> > default m if 'ARCH_DAVINCI || ARCH_OMAP1 || ARCH_OMAP2 >> > select DMA_ENGINE >> > select DMA_VIRTUAL_CHANNELS >> >> >> MMC depends on EDMA specially on AM33xx there's no PIO mode AFAIK. The >> 'm' option will

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-21 Thread Joel A Fernandes
Hi Sekhar, On Fri, Jun 21, 2013 at 5:27 AM, Sekhar Nori wrote: > Joel, > > On 6/21/2013 2:36 AM, Joel A Fernandes wrote: >> From: Joel A Fernandes >> >> This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA >> support >> with changes

[PATCH] ARM: common: edma: Fix dangling pointer dereference

2013-06-21 Thread Joel A Fernandes
Signed-off-by: Joel A Fernandes --- arch/arm/common/edma.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 2b591b1..f913e82 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c @@ -1514,10 +1514,9

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
Hi Arnd, On Fri, Jun 21, 2013 at 1:44 PM, Arnd Bergmann wrote: > On Friday 21 June 2013, Joel A Fernandes wrote: >> I think we are talking about different things, I agree the 'select >> DMADEVICES' can be dropped but lets please keep the default y option >> (not adding

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 9:32 AM, Arnd Bergmann wrote: > On Friday 21 June 2013, Joel A Fernandes wrote: >> I haven't come across this problem but- are you saying there is a >> shortcoming in Kbuild/Kconfig that selects an option even if its >> dependency is not met? >

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 9:00 AM, Arnd Bergmann wrote: > On Friday 21 June 2013, Joel A Fernandes wrote: >> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >> >> index b1c66a4..7d58cd9 100644 >> >> --- a/arch/arm/Kconfig >> >> +++

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 5:16 AM, Sekhar Nori wrote: > On 6/21/2013 2:36 AM, Joel A Fernandes wrote: >> From: Joel A Fernandes >> >> Build TI_EDMA by default for ARCH_DAVINCI and ARCH_OMAP2PLUS >> >> Signed-off-by: Joel A Fernandes > > You sho

Re: [PATCH v12 02/11] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-21 Thread Joel A Fernandes
tch errors and > compile warnings with this version. Ok, this really sucks. Somehow I missed the new checkpatch error. Thanks for fixing it & Sorry. Joel > On 6/21/2013 2:36 AM, Joel A Fernandes wrote: >> From: Matt Porter >> >> Adds support for parsing the TI EDMA DT

Re: [PATCH v12 02/11] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-21 Thread Joel A Fernandes
and compile warnings with this version. Ok, this really sucks. Somehow I missed the new checkpatch error. Thanks for fixing it Sorry. Joel On 6/21/2013 2:36 AM, Joel A Fernandes wrote: From: Matt Porter mpor...@ti.com Adds support for parsing the TI EDMA DT data into the required EDMA private API

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 5:16 AM, Sekhar Nori nsek...@ti.com wrote: On 6/21/2013 2:36 AM, Joel A Fernandes wrote: From: Joel A Fernandes agnel.j...@gmail.com Build TI_EDMA by default for ARCH_DAVINCI and ARCH_OMAP2PLUS Signed-off-by: Joel A Fernandes joelag...@ti.com You should sign-off

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 9:00 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 21 June 2013, Joel A Fernandes wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b1c66a4..7d58cd9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -841,6 +841,7 @@ config ARCH_DAVINCI

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 9:32 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 21 June 2013, Joel A Fernandes wrote: I haven't come across this problem but- are you saying there is a shortcoming in Kbuild/Kconfig that selects an option even if its dependency is not met? Well, the shortcoming

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
Hi Arnd, On Fri, Jun 21, 2013 at 1:44 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 21 June 2013, Joel A Fernandes wrote: I think we are talking about different things, I agree the 'select DMADEVICES' can be dropped but lets please keep the default y option (not adding new select

[PATCH] ARM: common: edma: Fix dangling pointer dereference

2013-06-21 Thread Joel A Fernandes
...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/common/edma.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 2b591b1..f913e82 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-21 Thread Joel A Fernandes
Hi Sekhar, On Fri, Jun 21, 2013 at 5:27 AM, Sekhar Nori nsek...@ti.com wrote: Joel, On 6/21/2013 2:36 AM, Joel A Fernandes wrote: From: Joel A Fernandes agnel.j...@gmail.com This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA support with changes for few pending review

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
config TI_EDMA tristate TI EDMA support default m if 'ARCH_DAVINCI || ARCH_OMAP1 || ARCH_OMAP2 select DMA_ENGINE select DMA_VIRTUAL_CHANNELS MMC depends on EDMA specially on AM33xx there's no PIO mode AFAIK. The 'm' option will require some initramfs

[PATCH v2] ARM: common: edma: Fix dangling pointer dereference

2013-06-21 Thread Joel A Fernandes
function. v2: Fixed last issue in davinci branch: ninfo 2D array is used for DT platforms. info is shared between DT and non-DT cases. So point info to ninfo. With this MMC is working (rootfs mount) on AM33XX. Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Joel A Fernandes joelag

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 7:07 PM, Joel A Fernandes agnel.j...@gmail.com wrote: Hi Sekhar, On Fri, Jun 21, 2013 at 5:27 AM, Sekhar Nori nsek...@ti.com wrote: Joel, On 6/21/2013 2:36 AM, Joel A Fernandes wrote: From: Joel A Fernandes agnel.j...@gmail.com This series is remaining of Matt

[PATCH v12 07/11] ARM: davinci: Fix compiler warnings in devices-da8xx

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes queue_priority_mapping and queue_tc_mapping are no longer const anymore generating a bunch of warnings in devices-da8xx. Fix them by not doing constant assignments. Signed-off-by: Joel A Fernandes --- arch/arm/mach-davinci/devices-da8xx.c |8 1 file changed

[PATCH v12 06/11] da8xx: config: Enable MMC and FS options

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes Required to get OMAP-L1 EVM access MMC and mount rootfs Signed-off-by: Joel A Fernandes --- arch/arm/configs/da8xx_omapl_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/da8xx_omapl_defconfig b/arch/arm/configs/da8xx_omapl_defconfig

[PATCH v12 03/11] ARM: edma: Add EDMA crossbar event mux support

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Changes by Joel: * Split EDMA xbar support out of original EDMA DT parsing patch to keep it easier for review. * Rewrite shift and offset calculation. Suggested-by: Sekhar Nori Suggested by: Andy Shevchenko Signed-off-by: Joel A Fernandes Reference: [1] https

[PATCH v12 01/11] dmaengine: edma: Add TI EDMA device tree binding

2013-06-20 Thread Joel A Fernandes
* Clarified DMA entries Acked-by: Arnd Bergmann Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/dma/ti-edma.txt | 34 + 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt

[PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes Build TI_EDMA by default for ARCH_DAVINCI and ARCH_OMAP2PLUS Signed-off-by: Joel A Fernandes --- arch/arm/Kconfig|1 + arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v12 09/11] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-20 Thread Joel A Fernandes
can default to the OMAP DMA filter. Signed-off-by: Matt Porter Acked-by: Mark Brown Signed-off-by: Joel A Fernandes --- drivers/spi/spi-omap2-mcspi.c | 64 - 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b

[PATCH v12 11/11] ARM: dts: add AM33XX SPI DMA support

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- 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

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

2013-06-20 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

[PATCH v12 10/11] ARM: dts: add AM33XX EDMA support

2013-06-20 Thread Joel A Fernandes
Signed-off-by: Joel A Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index d9cad72..3d59bb3 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi

[PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA support with changes for few pending review comments on v11 series. Also included are EDMA config and build options for OMAP2PLUS and Davinci by selecting DMADEVICES, and options to enable MMCSD

[PATCH v12 04/11] dmaengine: edma: enable build for AM33XX

2013-06-20 Thread Joel A Fernandes
From: Matt Porter Enable TI EDMA option on OMAP and TI_PRIV_EDMA Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2

[PATCH v12 02/11] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-20 Thread Joel A Fernandes
as discussed in [1]. * Split out xbar stuff to separate patch. [1] * Dropped unused DT helper to convert to array [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter Acked-by: Sekhar Nori Signed-off-by: Joel A Fernandes --- arch/arm/common/edma.c | 180

[PATCH v12 02/11] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-20 Thread Joel A Fernandes
mapping as discussed in [1]. * Split out xbar stuff to separate patch. [1] * Dropped unused DT helper to convert to array [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com

[PATCH v12 04/11] dmaengine: edma: enable build for AM33XX

2013-06-20 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com Enable TI EDMA option on OMAP and TI_PRIV_EDMA Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2 +- 2 files changed, 2 insertions(+), 1

[PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA support with changes for few pending review comments on v11 series. Also included are EDMA config and build options for OMAP2PLUS and Davinci by selecting DMADEVICES, and options

[PATCH v12 10/11] ARM: dts: add AM33XX EDMA support

2013-06-20 Thread Joel A Fernandes
Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index d9cad72..3d59bb3 100644 --- a/arch/arm/boot/dts

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

2013-06-20 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26

[PATCH v12 11/11] ARM: dts: add AM33XX SPI DMA support

2013-06-20 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v12 09/11] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-20 Thread Joel A Fernandes
in the !DT case we can default to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- drivers/spi/spi-omap2-mcspi.c | 64 - 1 file changed

[PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com Build TI_EDMA by default for ARCH_DAVINCI and ARCH_OMAP2PLUS Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/Kconfig|1 + arch/arm/mach-omap2/Kconfig |1 + drivers/dma/Kconfig |2 +- 3 files changed, 3

[PATCH v12 06/11] da8xx: config: Enable MMC and FS options

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com Required to get OMAP-L1 EVM access MMC and mount rootfs Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/configs/da8xx_omapl_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/da8xx_omapl_defconfig b

[PATCH v12 03/11] ARM: edma: Add EDMA crossbar event mux support

2013-06-20 Thread Joel A Fernandes
-by: Joel A Fernandes joelag...@ti.com Reference: [1] https://patchwork.kernel.org/patch/2226991/ --- arch/arm/common/edma.c | 62 +++- include/linux/platform_data/edma.h |1 + 2 files changed, 62 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH v12 01/11] dmaengine: edma: Add TI EDMA device tree binding

2013-06-20 Thread Joel A Fernandes
,hwmod option * Clarified DMA entries Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 34 + 1 file changed, 34 insertions(+) create mode

[PATCH v12 07/11] ARM: davinci: Fix compiler warnings in devices-da8xx

2013-06-20 Thread Joel A Fernandes
From: Joel A Fernandes agnel.j...@gmail.com queue_priority_mapping and queue_tc_mapping are no longer const anymore generating a bunch of warnings in devices-da8xx. Fix them by not doing constant assignments. Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/mach-davinci/devices

Re: [PATCH v11 3/8] ARM: edma: Add EDMA crossbar event mux support

2013-06-19 Thread Joel A Fernandes
Hi Sekhar, Thanks for the feedback. On Tue, Jun 18, 2013 at 5:19 AM, Sekhar Nori wrote: > On 6/18/2013 12:08 PM, Joel A Fernandes wrote: >> From: Matt Porter >> >> Changes by Joel: >> * Split EDMA xbar support out of original EDMA DT parsing patch >> to keep i

Re: [PATCH v11 3/8] ARM: edma: Add EDMA crossbar event mux support

2013-06-19 Thread Joel A Fernandes
Hi Sekhar, Thanks for the feedback. On Tue, Jun 18, 2013 at 5:19 AM, Sekhar Nori nsek...@ti.com wrote: On 6/18/2013 12:08 PM, Joel A Fernandes wrote: From: Matt Porter mpor...@ti.com Changes by Joel: * Split EDMA xbar support out of original EDMA DT parsing patch to keep it easier

[PATCH v11 6/8] dmaengine: edma: enable build for AM33XX

2013-06-18 Thread Joel A Fernandes
From: Matt Porter Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index e992489..3215a3c 100644 --- a/drivers/dma

[PATCH v11 2/8] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-18 Thread Joel A Fernandes
as discussed in [1]. * Split out xbar stuff to separate patch. [1] [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter Acked-by: Sekhar Nori Signed-off-by: Joel A Fernandes --- arch/arm/common/edma.c | 190 +--- arch/arm/mach-omap2

[PATCH v11 1/8] dmaengine: edma: Add TI EDMA device tree binding

2013-06-18 Thread Joel A Fernandes
* Clarified DMA entries Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/dma/ti-edma.txt | 34 + 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt diff --git

[PATCH v11 0/8] ] DMA Engine support for AM33XX

2013-06-18 Thread Joel A Fernandes
This series is a repost of Matt Porter's EDMA patches for AM33XX EDMA support with changes for few pending review comments on v9 series. Currently this is required for AM33XX (Beaglebone or EVM) to access MMC and be able mount to rootfs and boot till command prompt over MMC. Unless there are

[PATCH v11 4/8] ARM: dts: add AM33XX EDMA support

2013-06-18 Thread Joel A Fernandes
Signed-off-by: Joel A Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index d9cad72..3d59bb3 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi

[PATCH v11 5/8] ARM: dts: add AM33XX SPI DMA support

2013-06-18 Thread Joel A Fernandes
From: Matt Porter Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- 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

[PATCH v11 8/8] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-18 Thread Joel A Fernandes
can default to the OMAP DMA filter. Signed-off-by: Matt Porter Acked-by: Mark Brown Signed-off-by: Joel A Fernandes --- drivers/spi/spi-omap2-mcspi.c | 64 - 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b

[PATCH v11 3/8] ARM: edma: Add EDMA crossbar event mux support

2013-06-18 Thread Joel A Fernandes
From: Matt Porter Changes by Joel: * Split EDMA xbar support out of original EDMA DT parsing patch to keep it easier for review. * Rewrite shift and offset calculation. Suggested-by: Sekhar Nori Suggested by: Andy Shevchenko Signed-off-by: Joel A Fernandes Reference: [1] https

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

2013-06-18 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

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

2013-06-18 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26

[PATCH v11 3/8] ARM: edma: Add EDMA crossbar event mux support

2013-06-18 Thread Joel A Fernandes
-by: Joel A Fernandes joelag...@ti.com Reference: [1] https://patchwork.kernel.org/patch/2226991/ --- arch/arm/common/edma.c | 59 include/linux/platform_data/edma.h |1 + 2 files changed, 60 insertions(+) diff --git a/arch/arm/common/edma.c b

[PATCH v11 4/8] ARM: dts: add AM33XX EDMA support

2013-06-18 Thread Joel A Fernandes
Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index d9cad72..3d59bb3 100644 --- a/arch/arm/boot/dts

[PATCH v11 5/8] ARM: dts: add AM33XX SPI DMA support

2013-06-18 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v11 8/8] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-18 Thread Joel A Fernandes
in the !DT case we can default to the OMAP DMA filter. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- drivers/spi/spi-omap2-mcspi.c | 64 - 1 file changed

[PATCH v11 1/8] dmaengine: edma: Add TI EDMA device tree binding

2013-06-18 Thread Joel A Fernandes
,hwmod option * Clarified DMA entries Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 34 + 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v11 0/8] ] DMA Engine support for AM33XX

2013-06-18 Thread Joel A Fernandes
This series is a repost of Matt Porter's EDMA patches for AM33XX EDMA support with changes for few pending review comments on v9 series. Currently this is required for AM33XX (Beaglebone or EVM) to access MMC and be able mount to rootfs and boot till command prompt over MMC. Unless there are

[PATCH v11 2/8] ARM: edma: Add DT and runtime PM support to the private EDMA API

2013-06-18 Thread Joel A Fernandes
mapping as discussed in [1]. * Split out xbar stuff to separate patch. [1] [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- arch/arm/common/edma.c | 190

[PATCH v11 6/8] dmaengine: edma: enable build for AM33XX

2013-06-18 Thread Joel A Fernandes
From: Matt Porter mpor...@ti.com Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter mpor...@ti.com Signed-off-by: Joel A Fernandes joelag...@ti.com --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig

Re: [PATCH 2/2] ARM: dts: add AM33XX MMC support

2013-06-15 Thread Joel A Fernandes
Hi Felipe, On Fri, Jun 14, 2013 at 6:43 PM, Joel A Fernandes wrote: > Felipe, > > > On Friday, June 14, 2013, Felipe Balbi wrote: >> >> Hi, >> >> On Fri, Jun 14, 2013 at 02:54:33PM -0500, Joel A Fernandes wrote: >> > Hi Tony, Vaibhav, >>

Re: [PATCH 2/2] ARM: dts: add AM33XX MMC support

2013-06-15 Thread Joel A Fernandes
Hi Felipe, On Fri, Jun 14, 2013 at 6:43 PM, Joel A Fernandes agnel.j...@gmail.com wrote: Felipe, On Friday, June 14, 2013, Felipe Balbi wrote: Hi, On Fri, Jun 14, 2013 at 02:54:33PM -0500, Joel A Fernandes wrote: Hi Tony, Vaibhav, I just doublechecked MMC rootfs on bone and evmsk

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

2013-06-14 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA request binding Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/spi/omap-spi.txt | 27 +++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

[PATCH v10 1/8] ARM: edma: Add AM33XX support to the private EDMA API

2013-06-14 Thread Joel A Fernandes
as discussed in [1]. * Split out xbar stuff to separate patch. [1] [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter Acked-by: Sekhar Nori Signed-off-by: Joel A Fernandes --- arch/arm/common/edma.c | 190 +--- arch/arm/mach-omap2

[PATCH v10 7/8] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-14 Thread Joel A Fernandes
can default to the OMAP DMA filter. Signed-off-by: Matt Porter Acked-by: Mark Brown Signed-off-by: Joel A Fernandes --- drivers/spi/spi-omap2-mcspi.c | 64 - 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b

[PATCH v10 2/8] ARM: edma: Add AM33XX EDMA crossbar event mux support

2013-06-14 Thread Joel A Fernandes
From: Matt Porter Changes by Joel: * Split EDMA xbar support out of original EDMA DT parsing patch to keep it easier for review. * rewrite shift and offset calculation as per Suggested-by: Sekhar Nori Suggested by: Andy Shevchenko Signed-off-by: Joel A Fernandes Reference: [1] https

[PATCH v10 8/8] ARM: dts: add AM33XX SPI DMA support

2013-06-14 Thread Joel A Fernandes
From: Matt Porter Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- 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

[PATCH v10 4/8] dmaengine: edma: enable build for AM33XX

2013-06-14 Thread Joel A Fernandes
From: Matt Porter Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index e992489..3215a3c 100644 --- a/drivers/dma

[PATCH v10 3/8] ARM: dts: add AM33XX EDMA support

2013-06-14 Thread Joel A Fernandes
Signed-off-by: Joel A Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 70c86a0..f8a8f19 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi

[PATCH v10 5/8] dmaengine: edma: Add TI EDMA device tree binding

2013-06-14 Thread Joel A Fernandes
From: Matt Porter The binding definition is based on the generic DMA controller binding. Joel: Droped reserved and queue DT entries from Documentation for now from the original patch series. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- Documentation/devicetree/bindings/dma

  1   2   >