* [Buildroot] GPIO
@ 2010-10-21 8:29 Johnny Beardsmore
2010-10-21 8:38 ` Baruch Siach
2010-10-21 8:43 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Johnny Beardsmore @ 2010-10-21 8:29 UTC (permalink / raw)
To: buildroot
Hi,
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?
Regards,
JNY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101021/6e5da853/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] GPIO
2010-10-21 8:29 [Buildroot] GPIO Johnny Beardsmore
@ 2010-10-21 8:38 ` Baruch Siach
2010-10-21 8:43 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2010-10-21 8:38 UTC (permalink / raw)
To: buildroot
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 -
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] GPIO
2010-10-21 8:29 [Buildroot] GPIO Johnny Beardsmore
2010-10-21 8:38 ` Baruch Siach
@ 2010-10-21 8:43 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-10-21 8:43 UTC (permalink / raw)
To: buildroot
>>>>> "Johnny" == Johnny Beardsmore <jny0@hotmail.com> writes:
Johnny> Hi,
Johnny> I product I worked on a while ago has returned to haunt me.
Johnny> Essentially, I need support for a GPIO port on a pc-104. I've
Johnny> perused the configuration settings in Buioldroot, but wasn't
Johnny> able to spot anything that looked suitable. Is it, and has
Johnny> anyone any experience with doing so?
That's a kernel question rather than an issue about userspace rootfs
configuration.
Have a look at the gpio options in the kernel and Documentation/gpio.txt
in the kernel sources for information of how to access them through
sysfs.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-21 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 8:29 [Buildroot] GPIO Johnny Beardsmore
2010-10-21 8:38 ` Baruch Siach
2010-10-21 8:43 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox