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 : > 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 { >> reg = <

Re: Elbc device driver

2013-10-11 Thread Scott Wood
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 { > reg = <0xf 0xfe124000 0 0x1000>; > ranges = <3 0 0xf 0xe000 0x0800>; > > a3p

Re: Elbc device driver

2013-10-11 Thread Mercier Ivan
Hi, this should be correct (I'm using chip select 3 for this device) lbc: localbus@ffe124000 { reg = <0xf 0xfe124000 0 0x1000>; ranges = <3 0 0xf 0xe000 0x0800>; a3p400{ #address-cells = <1>;

Re: Elbc device driver

2013-10-10 Thread Scott Wood
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" corresponding to my elbc device that I try to map. > a3p400@3,0 { > compatible = "fsl,elbc"; >

Re: Elbc device driver

2013-10-10 Thread Mercier Ivan
Hi, I've got a KERN_INFO msg: "fsl-lbc a3p400.11: failed to get memory region" corresponding to my elbc device that I try to map. a3p400@3,0 { compatible = "fsl,elbc"; reg = <0 0xe000 0x100>; }; The correspondin

Re: Elbc device driver

2013-10-08 Thread Scott Wood
On Tue, 2013-10-08 at 16:06 +0200, Mercier Ivan wrote: > 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 wr