From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] GPIO
Date: Thu, 21 Oct 2010 10:38:28 +0200 [thread overview]
Message-ID: <20101021083828.GC13930@jasper.tkos.co.il> (raw)
In-Reply-To: <SNT119-W45EBAC8F8EBBF3D046BA77825D0@phx.gbl>
Hi Johnny,
On Thu, Oct 21, 2010 at 08:29:13AM +0000, Johnny Beardsmore wrote:
> I product I worked on a while ago has returned to haunt me.
>
> Essentially, I need support for a GPIO port on a pc-104. I've perused the
> configuration settings in Buioldroot, but wasn't able to spot anything that
> looked suitable. Is it, and has anyone any experience with doing so?
If you have a recent enough Linux kernel, and a driver supporting gpiolib for
your GPIO port, then you can use the sysfs based interface for controlling
GPIO lines. See Documentation/gpio.txt in the Linux kernel sources.
For a list of GPIO drivers in your kernel see drivers/gpio/Kconfig.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2010-10-21 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 8:29 [Buildroot] GPIO Johnny Beardsmore
2010-10-21 8:38 ` Baruch Siach [this message]
2010-10-21 8:43 ` Peter Korsgaard
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=20101021083828.GC13930@jasper.tkos.co.il \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/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.