This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP35xx : Preferred way to do GPMC access under Linux

I just want to access the GPMC ports under Linux. Nothing fancy, just write data to the appropriate address range and that's it. Question is how best to do it?

Currently I have tested this by using mmap() to setup the registers and map a physical region of memory to something I can access in user space. This is fine and it works though it is a bit slow and clunky.

Is there a "generic" GPMC driver available? (I poked around in the Linux kernel config, "make menuconfig", but I couldn't find anything that seemed to fit).

It seems to me this would be a very "obvious" and common thing that people would want to do on the GPMC interface. I can't imagine everyone writes their own driver every time, do they?

On a side note, I tested the speed of access from user space app and I think the best I can do is twiddle the pins at ~ 10kHz. Does this sound about right given all that over-head going back and forth between user/kernel space?