Re: Elbc device driver

2013-10-22 Thread Mercier Ivan
Ok Scott, now it works! We had severals hardware problem. Thanks for your help 2013/10/11 Scott Wood scottw...@freescale.com: On Fri, 2013-10-11 at 17:03 +0200, Mercier Ivan wrote: Hi, this should be correct (I'm using chip select 3 for this device) lbc: localbus@ffe124000

Re: Elbc device driver

2013-10-11 Thread Mercier Ivan
) { printk(KERN_CRIT Could not remap BCSR\n); return; } } Thanks for your help Scott 2013/10/10 Scott Wood scottw...@freescale.com: On Thu, 2013-10-10 at 16:54 +0200, Mercier Ivan wrote: Hi, I've got a KERN_INFO msg: fsl-lbc a3p400.11: failed to get memory region

Re: Elbc device driver

2013-10-10 Thread Mercier Ivan
on ELBC is 0xe000 -0xf000. I want to map my device on 0xe000 -0xe800 as it has 16 adress bits. Now the controler registers are properly set,but how do I map the device? Thanks a lot 2013/10/9 Scott Wood scottw...@freescale.com: On Tue, 2013-10-08 at 16:06 +0200, Mercier Ivan

Elbc device driver

2013-10-08 Thread Mercier Ivan
Hi, I'm working on a powerpc qoriq p3041 and trying to communicate with a device by elbc bus in gpmc mode. I 've integrated CONFIG_FSL_LBC in Linux which provide the basic functions. Now I'm wondering how can I do read and write operations on the bus.Where is mapped my device? Should I code