Re: [PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-21 Thread Franklin S Cooper Jr.
On 07/21/2015 06:40 AM, Ulf Hansson wrote: On 14 July 2015 at 21:29, Franklin S Cooper Jr fcoo...@ti.com wrote: From: Roger Quadros rog...@ti.com Update driver to support without regulators. Without this patch boards that do not enable regulator config options will fail to boot

Re: [PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-21 Thread Franklin S Cooper Jr.
On 07/21/2015 02:57 PM, Felipe Balbi wrote: On Tue, Jul 14, 2015 at 02:29:46PM -0500, Franklin S Cooper Jr wrote: From: Roger Quadros rog...@ti.com Update driver to support without regulators. Without this patch boards that do not enable regulator config options will fail to boot

Re: [PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-22 Thread Franklin S Cooper Jr.
On 07/21/2015 02:39 PM, Franklin S Cooper Jr. wrote: On 07/21/2015 06:40 AM, Ulf Hansson wrote: On 14 July 2015 at 21:29, Franklin S Cooper Jr fcoo...@ti.com wrote: From: Roger Quadros rog...@ti.com Update driver to support without regulators. Without this patch boards that do not enable

[PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-14 Thread Franklin S Cooper Jr
-by: Murali Karicheri m-kariche...@ti.com Signed-off-by: Franklin S Cooper Jr fcoo...@ti.com --- Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | 2 ++ drivers/mmc/host/omap_hsmmc.c | 14 ++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git

[PATCH 0/2] Remove elm address space from omap4 hwmod

2015-10-28 Thread Franklin S Cooper Jr
This patchset removes elm address entry from omap4 hwmod and adds an elm DT node to omap4.dtsi. Since no omap4 supports nand in mainline this patchset was boot tested on a pandaboard. Franklin S Cooper Jr (2): ARM: dts: omap4: Add elm node ARM: omap4: hwmod: Remove elm address space from

[PATCH 1/2] ARM: dts: omap4: Add elm node

2015-10-28 Thread Franklin S Cooper Jr
Add device tree entry for the error location module. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- arch/arm/boot/dts/omap4.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 5a206c1..a40eb23

[PATCH 2/2] ARM: omap4: hwmod: Remove elm address space from hwmod data

2015-10-28 Thread Franklin S Cooper Jr
ELM address information is provided by device tree. No longer need to include this information within hwmod. This patch has only been boot tested. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 10 -- 1 file changed, 10 del

Re: [PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data

2015-10-26 Thread Franklin S Cooper Jr.
On 10/23/2015 02:00 PM, Paul Walmsley wrote: > On Thu, 15 Oct 2015, Franklin S Cooper Jr wrote: > >> ELM address information is provided by device tree. No longer need >> to include this information within hwmod. >> >> Signed-off-by: Franklin S Cooper Jr <fcoo

Re: [PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 09:11 AM, Roger Quadros wrote: > On 14/10/15 16:26, Franklin S Cooper Jr. wrote: >> >> On 10/14/2015 06:52 AM, Roger Quadros wrote: >>> Franklin, >>> >>> On 14/10/15 14:36, Roger Quadros wrote: >>>> On 13/10/1

Re: [PATCH v3 20/27] ARM: dts: dra7: Fix NAND device nodes.

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 09:17 AM, Roger Quadros wrote: > On 14/10/15 16:34, Franklin S Cooper Jr. wrote: >> >> On 09/18/2015 09:53 AM, Roger Quadros wrote: >>> Add compatible id, GPMC register resource and interrupt >>> resource to NAND controller nodes. >>> &

Re: [PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 11:18 AM, Tony Lindgren wrote: > * Franklin S Cooper Jr. <fcoo...@ti.com> [151014 07:37]: >> >> On 10/14/2015 09:11 AM, Roger Quadros wrote: >>> On 14/10/15 16:26, Franklin S Cooper Jr. wrote: >>>> On 10/14/2015 06:52 AM, Roger Quadros wrot

Re: [PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 01:13 PM, Tony Lindgren wrote: > * Franklin S Cooper Jr. <fcoo...@ti.com> [151014 09:27]: >> >> On 10/14/2015 11:18 AM, Tony Lindgren wrote: >>> * Franklin S Cooper Jr. <fcoo...@ti.com> [151014 07:37]: >>>> On 10/14/2015 09:11

Re: [PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-15 Thread Franklin S Cooper Jr.
On 10/15/2015 02:35 AM, Roger Quadros wrote: > On 14/10/15 23:03, Franklin S Cooper Jr. wrote: >> >> On 10/14/2015 01:13 PM, Tony Lindgren wrote: >>> * Franklin S Cooper Jr. <fcoo...@ti.com> [151014 09:27]: >>>> On 10/14/2015 11:18 AM, Tony Lindgren

[PATCH 2/2 v2] ARM: DRA7/335x/437x: hwmod: Remove gpmc address space from hwmod data

2015-10-15 Thread Franklin S Cooper Jr
GPMC address information is provided by device tree. No longer need to include this information within hwmod. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- Version 2 changes: None arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c | 10 -- arch/arm/mach

[PATCH v2 0/5] mtd: nand: Fix support for NAND DMA prefetch

2015-10-15 Thread Franklin S Cooper Jr
://github.com/rogerq/linux.git branch: for-v4.4/gpmc-v4 Franklin S Cooper Jr (5): mtd: nand: omap2: Support parsing dma channel information from DT mtd: nand: omap2: Start dma request before enabling prefetch mtd: nand: omap2: Fix high memory dma prefetch transfer ARM: dts: am437x/am33xx/omap

[PATCH v2 3/5] mtd: nand: omap2: Fix high memory dma prefetch transfer

2015-10-15 Thread Franklin S Cooper Jr
-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- V2 Changes: None drivers/mtd/nand/omap2.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 1f58420..0d2cbb0 100644 --- a/drivers/mtd/nand/omap2.c

[PATCH v2 2/5] mtd: nand: omap2: Start dma request before enabling prefetch

2015-10-15 Thread Franklin S Cooper Jr
the prefetch engine this race condition is avoided and no dma request are missed/cleared. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- V2 Changes: Moved comment drivers/mtd/nand/omap2.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/o

[PATCH v2 4/5] ARM: dts: am437x/am33xx/omap/dm816x: Add gpmc dma channel

2015-10-15 Thread Franklin S Cooper Jr
Add dma channel information to the gpmc. Although not enabled by default this will allow prefetch-dma to be used. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- V2 Changes: Added DMA entry for OMAP4 and OMAP5 arch/arm/boot/dts/am33xx.dtsi | 2 ++ arch/arm/boot/dts/am4372.dt

[PATCH 1/2 v2] ARM: DRA7/335x/437x/OMAP4: hwmod: Remove elm address space from hwmod data

2015-10-15 Thread Franklin S Cooper Jr
ELM address information is provided by device tree. No longer need to include this information within hwmod. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- Version 2 changes: Removing elm addr entries also for 335x,437x and omap4 hwmod arch/arm/mach

[PATCH v2 5/5] ARM: OMAP2+: Update GPMC and NAND DT binding documentation

2015-10-15 Thread Franklin S Cooper Jr
Add additional details to the GPMC NAND documentation to clarify what is needed to enable NAND DMA prefetch. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- V2 Changes: Replace nand and Nand with NAND Specify the value dma-names should be set to Documentation/devicetree/bindings/

Re: [PATCH 5/5] ARM: OMAP2+: Update gpmc and nand DT binding documentation

2015-10-15 Thread Franklin S Cooper Jr.
On 10/14/2015 06:50 AM, Roger Quadros wrote: > On 13/10/15 04:38, Franklin S Cooper Jr wrote: >> Add additional details to the gpmc and nand documentation to clarify >> what is needed to enable nand dma prefetch. >> >> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti

Re: [PATCH v3 20/27] ARM: dts: dra7: Fix NAND device nodes.

2015-10-14 Thread Franklin S Cooper Jr.
On 09/18/2015 09:53 AM, Roger Quadros wrote: > Add compatible id, GPMC register resource and interrupt > resource to NAND controller nodes. > > The GPMC driver now implements gpiochip and irqchip so > enable gpio-controller and interrupt-controller properties. > > With this the interrupt parent

Re: [PATCH 2/5] mtd: nand: omap2: Start dma request before enabling prefetch

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 06:41 AM, Roger Quadros wrote: > On 13/10/15 04:38, Franklin S Cooper Jr wrote: >> The prefetch engine sends a dma request once a FIFO threshold has >> been met. No other requests are received until the previous request >> is handled. >> &

Re: [PATCH] ARM: DRA7: hwmod: Remove elm address space from hwmod data

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 01:58 AM, Roger Quadros wrote: > On 13/10/15 16:44, Franklin S Cooper Jr wrote: >> ELM address information is provided by device tree. No longer need >> to include this information within hwmod. >> >> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.

Re: [PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 06:52 AM, Roger Quadros wrote: > Franklin, > > On 14/10/15 14:36, Roger Quadros wrote: >> On 13/10/15 04:38, Franklin S Cooper Jr wrote: >>> Switch from dma_request_channel to allow passing dma channel >>> information from DT rather than hardc

Re: [PATCH 4/5] ARM: dts: am437x/am33xx/omap3/dm816x: Add gpmc dma channel

2015-10-14 Thread Franklin S Cooper Jr.
On 10/14/2015 06:44 AM, Roger Quadros wrote: > On 13/10/15 04:38, Franklin S Cooper Jr wrote: >> Add dma channel information to the gpmc. Although not enabled by >> default this will allow prefetch-dma to be used. >> >> Signed-off-by: Franklin S Cooper Jr <fcoo.

[PATCH v2 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-15 Thread Franklin S Cooper Jr
Switch from dma_request_channel to allow passing dma channel information from DT rather than hardcoding a value. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- V2 Changes: None drivers/mtd/nand/omap2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH 4/5] ARM: dts: am437x/am33xx/omap3/dm816x: Add gpmc dma channel

2015-10-12 Thread Franklin S Cooper Jr
Add dma channel information to the gpmc. Although not enabled by default this will allow prefetch-dma to be used. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- arch/arm/boot/dts/am33xx.dtsi | 2 ++ arch/arm/boot/dts/am4372.dtsi | 2 ++ arch/arm/boot/dts/dm816x.dtsi | 2 ++ ar

[PATCH 5/5] ARM: OMAP2+: Update gpmc and nand DT binding documentation

2015-10-12 Thread Franklin S Cooper Jr
Add additional details to the gpmc and nand documentation to clarify what is needed to enable nand dma prefetch. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt | 7 ++- Documentation/devicetree/bindings/mt

[PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-12 Thread Franklin S Cooper Jr
Switch from dma_request_channel to allow passing dma channel information from DT rather than hardcoding a value. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- drivers/mtd/nand/omap2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/oma

[PATCH 2/5] mtd: nand: omap2: Start dma request before enabling prefetch

2015-10-12 Thread Franklin S Cooper Jr
the prefetch engine this race condition is avoided and no dma request are missed/cleared. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- drivers/mtd/nand/omap2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/o

[PATCH 3/5] mtd: nand: omap2: Fix high memory dma prefetch transfer

2015-10-12 Thread Franklin S Cooper Jr
-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- drivers/mtd/nand/omap2.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 94d11de..537be2f 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand

[PATCH 0/5] mtd: nand: Fix support for NAND DMA Prefetch

2015-10-12 Thread Franklin S Cooper Jr
Quadros recent v4 GPMC/NAND patchset https://github.com/rogerq/linux.git branch: for-v4.4/gpmc-v4 Franklin S Cooper Jr (5): mtd: nand: omap2: Support parsing dma channel information from DT mtd: nand: omap2: Start dma request before enabling prefetch mtd: nand: omap2: Fix high memory dma

[PATCH] ARM: DRA7: hwmod: Remove elm address space from hwmod data

2015-10-13 Thread Franklin S Cooper Jr
ELM address information is provided by device tree. No longer need to include this information within hwmod. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/mach

Re: [PATCH v2 0/5] mtd: nand: Fix support for NAND DMA prefetch

2015-12-30 Thread Franklin S Cooper Jr.
On 12/18/2015 12:04 PM, Brian Norris wrote: > On Thu, Oct 15, 2015 at 12:37:23PM -0500, Franklin S Cooper Jr wrote: >> NAND DMA prefetch has been broken for awhile and seems to have only >> worked for SDMA based devices >> >> This patchset fixes DMA prefetch to work on