[meta-ti] User space drivers

Denys Dmytriyenko denys at ti.com
Fri Oct 4 11:46:45 PDT 2013


Also, you may find this project interesting:

https://github.com/jackmitch/libsoc

-- 
Denys


On Fri, Oct 04, 2013 at 06:42:22PM +0000, Pow, Christopher (SWCOE) wrote:
> 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).
> 
> 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 ..



More information about the meta-ti mailing list