RE: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-03-20 Thread Manjunathappa, Prakash
devices that are handled by distinct subsystems in Linux, I would make it an mfd multifunction device and make the common... You're missing that part of the quote: ...code a driver that scans the connected memories in order to register its child devices for each of the subsystems. emif

Re: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-03-16 Thread Samuel Ortiz
Hi Prakash, On Tue, Mar 06, 2012 at 01:12:25PM +, Manjunathappa, Prakash wrote: Hi Samuel, May be I did not do a good job giving complete information on this earlier. So I have replied on top of my mail with below information (seems you missed it) I did get it, sorry for not being

RE: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-03-06 Thread Manjunathappa, Prakash
Hi Samuel, May be I did not do a good job giving complete information on this earlier. So I have replied on top of my mail with below information (seems you missed it) More information on AEMIF: DaVinci AEMIF is an async memory interface, driver for which was implemented in

Re: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-03-01 Thread Samuel Ortiz
Hi Prakash, On Tue, Feb 28, 2012 at 05:44:39AM +, Manjunathappa, Prakash wrote: Hi Samuel, On Mon, Feb 27, 2012 at 19:56:38, Samuel Ortiz wrote: [snip] So it seems you're passing a platform devices array through your mfd aemif platform data pointer. And from what I can see, it's

RE: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-02-28 Thread Manjunathappa, Prakash
Hi Samuel, On Tue, Feb 28, 2012 at 11:14:39, Manjunathappa, Prakash wrote: Hi Samuel, On Mon, Feb 27, 2012 at 19:56:38, Samuel Ortiz wrote: [snip] So it seems you're passing a platform devices array through your mfd aemif platform data pointer. And from what I can see, it's mostly a 1

Re: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-02-27 Thread Samuel Ortiz
Hi Prakash, On Thu, Feb 23, 2012 at 07:28:23PM +0530, Manjunathappa, Prakash wrote: +static int __init davinci_aemif_probe(struct platform_device *pdev) +{ + struct davinci_aemif_devices *davinci_aemif_devices = + pdev-dev.platform_data; + struct platform_device *devices;

RE: [PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-02-27 Thread Manjunathappa, Prakash
Hi Samuel, On Mon, Feb 27, 2012 at 19:56:38, Samuel Ortiz wrote: [snip] So it seems you're passing a platform devices array through your mfd aemif platform data pointer. And from what I can see, it's mostly a 1 entry array (for the NAND case) or a 2 entries array (for the NAND and NOR case).

[PATCH v5 0/3]Move davinci emif driver to MFD from platform code

2012-02-23 Thread Manjunathappa, Prakash
, Prakash (3): arm:davinci: prepare to move aemif driver to drivers/mfd arm:davinci: move emif driver to mfd framework arm:davinci: move NAND and NOR devices as emif MFD slaves arch/arm/Kconfig |1 + arch/arm/mach-davinci/Makefile |2

[PATCH v5 2/3] arm:davinci: move emif driver to mfd framework

2012-02-23 Thread Manjunathappa, Prakash
Move emif handling code from platform folder to multi functional devices frame work. emif MFD driver adds davinci_nand and physmap-flash as slave devices. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- Since v4: Fix updating NAND/NOR platfrom data. Since v3: No change. Resending as 3

[PATCH v5 3/3] arm:davinci: move NAND and NOR devices as emif MFD slaves

2012-02-23 Thread Manjunathappa, Prakash
NAND and NOR device are made as aemif device slaves, hence all DaVinci board NAND/NOR device registration is achieved via emif MFD driver. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- Since v4: No change. Since v3: Changed NAND device id to 1 for board-mityomapl138. Since v2: Make

RE: [PATCH v4 2/3] arm:davinci: move emif driver to drivers/mfd from mach-davinci folder

2012-02-22 Thread Manjunathappa, Prakash
...@ti.com --- Since v3: No change. Resending as 3/3 in patch changed. Since v2: Modified emif MFD driver to load multiple instance of NAND/NOR devices. Since v1: Patch generated using -M option. arch/arm/Kconfig |1 + arch/arm/mach-davinci/Makefile

RE: [PATCH v4 0/3] Moving EMIF driver to MFD framework

2012-02-21 Thread Nori, Sekhar
Hi Prakash, On Tue, Feb 21, 2012 at 11:54:56, Manjunathappa, Prakash wrote: Hi, I do not see any comments on this series. Can it be applied? I have not yet gotten to reviewing the davinci parts of this series. I have a backlog and am clearing it oldest first. Hope to get to this by this week

RE: [PATCH v4 0/3] Moving EMIF driver to MFD framework

2012-02-20 Thread Manjunathappa, Prakash
://davinci-linux-open-source.1494791.n2.nabble.com/PATCH-arm-davinci-configure-davinci-aemif-chipselects-through-OF-tt7059739.html#none Manjunathappa, Prakash (3): arm:davinci: prepare to move aemif driver to drivers/mfd arm:davinci: move emif driver to drivers/mfd from mach-davinci folder

[PATCH v4 0/3] Moving EMIF driver to MFD framework

2012-02-09 Thread Manjunathappa, Prakash
(3): arm:davinci: prepare to move aemif driver to drivers/mfd arm:davinci: move emif driver to drivers/mfd from mach-davinci folder arm:davinci: move NAND and NOR devices as aemif MFD slaves arch/arm/Kconfig |1 + arch/arm/mach-davinci/Makefile

[PATCH v4 2/3] arm:davinci: move emif driver to drivers/mfd from mach-davinci folder

2012-02-09 Thread Manjunathappa, Prakash
: Modified emif MFD driver to load multiple instance of NAND/NOR devices. Since v1: Patch generated using -M option. arch/arm/Kconfig |1 + arch/arm/mach-davinci/Makefile |2 +- drivers/mfd/Makefile |1

[PATCH v3 0/3] Moving EMIF driver to MFD framework

2012-02-07 Thread Manjunathappa, Prakash
(3): arm:davinci: prepare to move aemif driver to drivers/mfd arm:davinci: Move emif driver to drivers/mfd from mach-davinci folder arm:davinci: move NAND and NOR devices as aemif MFD slaves arch/arm/Kconfig |1 + arch/arm/mach-davinci/Makefile

[PATCH v3 2/3] arm:davinci: Move emif driver to drivers/mfd from mach-davinci folder

2012-02-07 Thread Manjunathappa, Prakash
Move aemif kernel module from arch/arm/mach-davinci/ to multi functional devices frame work. davinci_aemif MFD driver adds davinci_nand and physmap-flash slave devices. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- Since v2: Modified emif MFD driver to load multiple instance of NAND

[PATCH v2 2/3] arm:davinci: Move emif driver to drivers/mfd from mach-davinci folder

2012-01-25 Thread Manjunathappa, Prakash
davinci_aemif_devices-num_devices) { + dev_err(pdev-dev, No NAND device found by DaVinci EMIF + MFD\n); + cells[DAVINCI_NAND_DEVICE_CELL].name = NULL; + } else { + cells[DAVINCI_NAND_DEVICE_CELL].platform_data

[PATCH 2/3] arm:davinci: Move emif driver to drivers/mfd from mach-davinci folder

2012-01-23 Thread Manjunathappa, Prakash
(pdev-dev, No NAND device found by DaVinci EMIF + MFD\n); + cells[DAVINCI_NAND_DEVICE_CELL].name = NULL; + } else { + cells[DAVINCI_NAND_DEVICE_CELL].platform_data = + devices[i].dev.platform_data

[PATCH v1 2/5] davinci: da850: remove unused emif pinmux array

2011-01-18 Thread Michael Williamson
The da850_emif25_pins pinmux array is not used. Remove it. Signed-off-by: Michael Williamson michael.william...@criticallink.com --- arch/arm/mach-davinci/da850.c | 16 arch/arm/mach-davinci/include/mach/da8xx.h |1 - 2 files changed, 0 insertions(+), 17

[PATCH 2/5] davinci: da850: remove unused emif pinmux array

2011-01-07 Thread Michael Williamson
The da850_emif25_pins pinmux array is not used. Remove it. Signed-off-by: Michael Williamson michael.william...@criticallink.com --- arch/arm/mach-davinci/da850.c | 16 arch/arm/mach-davinci/include/mach/da8xx.h |1 - 2 files changed, 0 insertions(+), 17

Re: help for linux emif driver 2nd

2010-04-26 Thread Steve Chen
On Mon, Apr 26, 2010 at 5:05 AM, Steve Chen sc...@mvista.com wrote: 2010/4/25 liuyue18301 liuyue18...@163.com: hello Guys: this is second time to turn to help on the same problem. i want to know is there EMIF driver in the linux? and if i want to There is no EMIF driver. send

Re: help for linux emif driver 2nd

2010-04-26 Thread Steve Chen
On Mon, Apr 26, 2010 at 5:19 AM, Nori, Sekhar nsek...@ti.com wrote: Hi Steve, On Mon, Apr 26, 2010 at 15:35:37, Steve Chen wrote: 2010/4/25 liuyue18301 liuyue18...@163.com: hello Guys:      this is second time to turn to help on the same problem.      i want to know is there EMIF

Re: help for linux emif driver 2nd

2010-04-26 Thread Steve Poulsen
I would recommend that you look at the 8250 driver and modify it (duplicate) to change the memory addresses that it uses. The memory addresses should be changed to correspond to your EMIF. If your EMIF, which maps to an FPGA, has the standard UART register set, then it may be a matter of simply

help for linux emif driver 2nd

2010-04-25 Thread liuyue18301
hello Guys: this is second time to turn to help on the same problem. i want to know is there EMIF driver in the linux? and if i want to send/recv data to the uarts which are expanded by FPGA ,how can i do it? which driver should i create or modify EMIF driver or UART driver?i want

Re: linux emif driver

2010-04-24 Thread Ottavio Campana
Il 24/04/10 04.10, liuyue18301 ha scritto: hello everyone in dm6446 we want to expand the seven uart devices by the emif bus.but i can not find the emif bus driver in the Linux,if i want to write/read data to the uart which expanded by the emif bus how can do it? now i have

Re: linux emif driver

2010-04-24 Thread Raffaele Recalcati
Campana ottavio.camp...@dei.unipd.it Il 24/04/10 04.10, liuyue18301 ha scritto: hello everyone in dm6446 we want to expand the seven uart devices by the emif bus.but i can not find the emif bus driver in the Linux,if i want to write/read data to the uart which expanded

linux emif driver

2010-04-23 Thread liuyue18301
hello everyone in dm6446 we want to expand the seven uart devices by the emif bus.but i can not find the emif bus driver in the Linux,if i want to write/read data to the uart which expanded by the emif bus how can do it? now i have no idea.who can give me a guideline

EMIF / CS3 interfacing

2008-12-30 Thread Nicholas Fearnley
When interfacing FPGA to the DM6446 EVM EMIF do I need a bus switch on CS3 for my device or is this handled already by the CPLD (Altera MaxII)? Am I right in thinking simply accessing an address in the CS3 space will automatically assert the CS3 signal? I plan on only having 8 bits exposed

[patch-v2.6.28 1/8] arch: davinci: pass emif control base via resource

2008-12-12 Thread Felipe Balbi
From: Felipe Balbi felipe.ba...@nokia.com Later patch will come to use it in davinci_nand.c and get rid of a define there. In DM355, the base is different, so better to apply this patch before adding support for DM355 nand chip. Signed-off-by: Felipe Balbi felipe.ba...@nokia.com ---

DMA for device connected on DM355's EMIF ?

2008-12-10 Thread umangsu lee
Hi All, I am new to the DM355 Davinci-linux development. We have a custom DM355 based board which is similar to DM355EVM board. The board have DM9000 ethernet chip on EMIF . I want to implment DMA for DM9000's transmit/receive oparation, DM355 has EDMA provisions for various peripherals

How to use EDMA for device connected on EMIF (DM355)

2008-12-10 Thread umangsu lee
Hi All, I am new to the DM355 Davinci-linux development. We have a custom DM355 based board which is similar to DM355EVM board. The board have DM9000 ethernet chip on EMIF . I want to implment DMA for DM9000's transmit/receive oparation, DM355 has EDMA provisions for various peripherals

RE: DMA for device connected on DM355's EMIF ?

2008-12-10 Thread Griffis, Brad
There are two pieces to this issue: 1) The transfer between memory and the DM9000. This should be no problem as the DM9000 will show up in the EMIF address space. 2) The initiation of the transfer. You either need to manually invoke the transfer (through the ESR) or an event can

RE: DMA for device connected on DM355's EMIF ?

2008-12-10 Thread Narnakaje, Snehaprabha
Hi, You do not have a dedicated EDMA channel for DM9000-EMIF. But you can always use an unallocated DMA channel for Transmit and Receive. EDMA will be used to transfer the data to/from DDR from/to DM9000 FIFO. We had tried to change the current DM9000 driver to use EDMA on the transmit path

Re: [RFT PATCH 1/3] arch: davinci: pass emif control base via resource

2008-12-09 Thread David Brownell
On Monday 08 December 2008, Felipe Balbi wrote: From: Felipe Balbi [EMAIL PROTECTED] Later patch will come to use it in davinci_nand.c and get rid of a define there. In DM355, the base is different, so better to apply this patch before adding support for DM355 nand chip. Signed-off-by:

Re: [RFT PATCH 1/3] arch: davinci: pass emif control base via resource

2008-12-09 Thread Felipe Balbi
On Tue, Dec 09, 2008 at 01:23:23PM -0800, David Brownell wrote: Looks plausible and safe ... though I'd be tempted to combine this with the part of the NAND driver patch which uses this, and removes the FIXME comment. That would make your patch #2 much less busy, and make it more apparent

[PATCH 1/6] arch: davinci: pass emif control base via resource

2008-12-09 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Later patch will come to use it in davinci_nand.c and get rid of a define there. In DM355, the base is different, so better to apply this patch before adding support for DM355 nand chip. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] ---

[RFT PATCH 1/3] arch: davinci: pass emif control base via resource

2008-12-08 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Later patch will come to use it in davinci_nand.c and get rid of a define there. In DM355, the base is different, so better to apply this patch before adding support for DM355 nand chip. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] ---

Confusion about CLE and ALE on the emif

2008-09-03 Thread James T Long
Would someone please clear up the following for me? The documentation for the the EMIF (srue20b) and the source code for DVFlasher both say : To talk to NAND-Flashes: Tie A[2] to CLE and A[1] to ALE. Apparently A[0] and BA[1:0] are not connected. to set CLE low and ALE low

Re: Confusion about CLE and ALE on the emif

2008-09-03 Thread Troy Kisky
James T Long wrote: Would someone please clear up the following for me? The documentation for the the EMIF (srue20b) and the source code for DVFlasher both say : To talk to NAND-Flashes: Tie A[2] to CLE and A[1] to ALE. Apparently A[0] and BA[1:0] are not connected

Re: EMIF

2008-07-03 Thread Nicholas Fearnley
for attaching a DVB tuner directly (no glue logic) to the CCD interface. Howard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Nicholas Fearnley Sent: 24 June 2008 12:14 To: davinci-linux-open-source@linux.davincidsp.com Subject: EMIF Hi, I need

RE: EMIF

2008-07-02 Thread Mitchell, Howard
Sent: 24 June 2008 12:14 To: davinci-linux-open-source@linux.davincidsp.com Subject: EMIF Hi, I need to hook up a DVB (8 bit) tuner to the EMIF. Current thinking is to write a module to trigger DMA transfer using a GPIO interrupt on the 'Packet Ready' output of the tuner. Anyone have anything

Re: EMIF

2008-06-24 Thread Andrea Gasparini
Hi, nicholas, I need to hook up a DVB (8 bit) tuner to the EMIF. Current thinking is to write a module to trigger DMA transfer using a GPIO interrupt on the 'Packet Ready' output of the tuner. Anyone have anything they can point me at that might be similar to save some time? Take a look

Question about accessing emif

2008-06-03 Thread bott
to handle kernel paging request at virtual address 0100. Do you have any hint about accessing emif? I suspect this is not the way I should use emif... Thanks. This message was sent using IMP, the Internet Messaging Program

Question about Nor Flash Memory Size based on EMIF

2007-08-26 Thread 이재훈
Title: Samsung Enterprise Portal mySingle Question about Nor Flash Memory Size based on EMIF Hi all. I am using DM6446 DVEVM, I have a question about the NOR flash memory size of DVEVM and the source code of uboot and git kernel tree. In Uboot Code, AM29LV256 NOR Flash Memory is just

Re: Using both ATA and EMIF

2006-11-17 Thread chendh
hi,all I have tried to use lock_kernel and unlock_kernel rather than spinlocks. Unfortunately, when copy some data to hard disk while changing PINMUX0 to enabe EMIF, this will cause write error. Both in DMA and PIO mode will fail. The error information is as follows: hdb: status timeout

RE: Using both ATA and EMIF

2006-11-17 Thread Steve Spano
: chendh [mailto:[EMAIL PROTECTED] Sent: Friday, November 17, 2006 4:01 AM To: Steve Spano Cc: [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Subject: Re: Using both ATA and EMIF hi,all I have tried to use lock_kernel and unlock_kernel rather than spinlocks. Unfortunately

Re: Using ATA and EMIF at the same time

2006-11-17 Thread Lloyd Sargent
Steve, Here are a few thoughts (as I don't have your hardware I won't ever be able to try it out): 1) To access ATA and EMIF at the same time you need drivers that sync with each other. IN THEORY it is possible to run with DMA IF and ONLY IF while that DMA is occuring the EMIF drivers block

### USING ATA AND EMIF - CODE REFERENCE

2006-11-16 Thread Steve Spano
Hi Found a few minor issues when stressing the ATA + EMIF together So here is what I did to work around the problems 1. Using the hdparm utility (hdparm -d 0 -r 0 -p 0 /dev/had) -- to put the hdd into a non-dma, slow mode 2. use this sequence shown below to swap between HDD

RE: Using ATA and EMIF at the same time

2006-11-16 Thread Steve Spano
Hi Well, what I found is this You can access the ATA and EMIF by switching the PINMIX0 register. I do this within a new IOCTL in the VPFE driver that I added to access my FPGA which lets me configure a progressive scan imager. Normally, the IDE starts in a DMA based mode. I had to do

Using both ATA and EMIF

2006-11-15 Thread chendh
hi,everyone I have tried to use both ata and emif, they can be used at the same time.I try to send some control commands via EMIF, while copy some data to ATA hard disk. you can just to use they as follows: 1)change PINMUX0 to enable ATA after kernel boot time 2)when you want to use emif bus

RE: Using both ATA and EMIF

2006-11-15 Thread Steve Spano
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chendh Sent: Wednesday, November 15, 2006 3:32 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: Using both ATA and EMIF hi,everyone I have tried to use both ata and emif, they can be used at the same time.I try to send

Configuration of EMIF

2006-10-30 Thread Johannes Schell
Title: Configuration of EMIF Hello All, I need an access to external hardware such as FPGA over EMIF. Has anybody an idea how and where should be EMIF configured? Thanks ___ Davinci-linux-open-source mailing list Davinci-linux-open-source

Re: Using both ATA and EMIF

2006-10-30 Thread Kevin Hilman
Johannes Schell wrote: Hello All, It is possible to use both ATA and EMIF at the same time? IIUC, they are pin-multiplexed on the DVEVM, so cannot be used together. Kevin ___ Davinci-linux-open-source mailing list Davinci-linux-open-source