From: Denys Dmytriyenko <denys@ti.com>
To: "Pow, Christopher (SWCOE)" <Christopher.Pow@honeywell.com>
Cc: "meta-ti@yoctoproject.org" <meta-ti@yoctoproject.org>
Subject: Re: User space drivers
Date: Fri, 4 Oct 2013 14:46:45 -0400 [thread overview]
Message-ID: <20131004184645.GB3672@edge> (raw)
In-Reply-To: <7B8A37CE7777314D9B931CDD3BA8C83B1BA4C507@de08ex3002.global.ds.honeywell.com>
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 ..
next prev parent reply other threads:[~2013-10-04 18:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-04 18:27 User space drivers bmentink
2013-10-04 18:42 ` Pow, Christopher (SWCOE)
2013-10-04 18:46 ` Denys Dmytriyenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-02 21:39 Wallace, Brooke
2007-08-02 23:25 ` Rene Herman
2007-08-03 0:04 ` James Courtier-Dutton
2007-08-03 2:55 ` Eliot Blennerhassett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131004184645.GB3672@edge \
--to=denys@ti.com \
--cc=Christopher.Pow@honeywell.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.