[meta-ti] User space drivers

Pow, Christopher (SWCOE) Christopher.Pow at honeywell.com
Fri Oct 4 11:42:22 PDT 2013


Linux documentation is very clear on how to interact with GPIO from user space application and even use them as interrupts.  Refer to Documentation/gpio.txt, section “Sysfs Interface for Userspace (OPTIONAL)” – also make sure you enable the sysfs portion of gpiolib in menuconfig (CONFIG_GPIO_SYSFS).

Christopher S. Pow
Senior Engineer, Systems
Honeywell SWCOE - RTOS
o:612-951-5852 c:612-910-1271

"The number you have dialed is imaginary.  Please rotate your phone 90 degrees and try again."

From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-bounces at yoctoproject.org] On Behalf Of bmentink
Sent: Friday, October 04, 2013 1:28 PM
To: meta-ti at yoctoproject.org
Subject: [meta-ti] User space drivers


Hi all,

I am wanting to implement a user space driver complete with interrupt in yocto.
I see that there is a sample generic platform driver in the kernel, but not sure how to use it.

Say i want to talk to GPIO Is it simply a matter of pointing the .dts entry for the driver to the uio driver?

Any pointers would be very helpful ..

Cheers,
Bernie



Sent from Samsung tablet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20131004/c1ef9c27/attachment.html>


More information about the meta-ti mailing list