Thread (7 messages) 7 messages, 2 authors, 2013-10-22

Re: Elbc device driver

From: Scott Wood <hidden>
Date: 2013-10-08 22:34:23

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 write operations on the
bus.Where is mapped my device?
You'll need to use ioremap() or of_iomap() to map it.
Should I code .read and .write driver functions?How can I start?

How integrates my device in the device tree?
See Documentation/devicetree/bindings/powerpc/fsl/lbc.txt and examples
such as "board-control" in various device trees.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help