From: Bill Davidsen <davidsen@tmr.com>
To: Chris Boot <bootc@bootc.net>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] Proposal: common kernel-wide GPIO interface
Date: Sat, 29 Jul 2006 15:41:44 -0400 [thread overview]
Message-ID: <44CBB9F8.3050300@tmr.com> (raw)
In-Reply-To: <44CA7738.4050102@bootc.net>
Chris Boot wrote:
> Hello all,
>
> More and more devices these days come with some sort of GPIO interface,
> and more and more drivers within the kernel could make use of a common
> way of accessing pins on such an interface, not to mention userspace
> apps. For example, we have the I2C, LED, and SPI subsystems that each
> could drive a device that's actually connected to some GPIO pins somewhere.
>
> I propose to develop a common way of registering and accessing GPIO pins
> on various devices. Now I'm no hardware expert, but I do like to dabble
> a bit and would love to see such a system be developed. Most people tend
> to attach stuff like LCD displays to their parallel ports, but GPIOs are
> much better suited to such a purpose than a parallel port. Some (out of
> tree) drivers even emulate a parallel interface in order that userspace
> software can be fooled to use the GPIO pins as a parallel port. In my
> view, this is ugly.
>
...
> So, if anyone likes this idea and/or has some comments, please voice
> your opinions! With a little guidance from the masters, I'm willing to
> put the effort in to code such a system, but I'd really like to hear
> what people involved both in the hardware side and software side of
> GPIOs and the kernel have to say about such an interface.
I think it's interesting enough so that it's worth figuring how this
would work with or replace the various interfaces you mentioned. I'm
sure another discussion would take place at that point, before writing code.
--
Bill Davidsen <davidsen@tmr.com>
Obscure bug of 2004: BASH BUFFER OVERFLOW - if bash is being run by a
normal user and is setuid root, with the "vi" line edit mode selected,
and the character set is "big5," an off-by-one errors occurs during
wildcard (glob) expansion.
next prev parent reply other threads:[~2006-07-29 19:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 20:44 [RFC] Proposal: common kernel-wide GPIO interface Chris Boot
2006-07-29 19:41 ` Bill Davidsen [this message]
2006-07-30 13:08 ` Robert Schwebel
2006-07-30 22:02 ` Ben Dooks
2006-07-31 16:10 ` Chris Boot
2006-07-31 20:17 ` Robert Schwebel
2006-07-31 21:23 ` Chris Boot
2006-08-01 7:40 ` Juergen Beisert
2006-08-01 15:53 ` Jim Cromie
2006-08-01 21:25 ` Jim Cromie
2006-08-02 7:28 ` Robert Schwebel
2006-08-02 17:58 ` Lennart Sorensen
2006-08-02 20:48 ` Jim Cromie
2006-08-03 13:55 ` Lennart Sorensen
2006-08-03 15:42 ` Robert Schwebel
2006-08-08 23:01 ` [RFC - patch] add a gpio-sysfs interface - was: " Jim Cromie
2006-08-09 17:12 ` Jim Cromie
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=44CBB9F8.3050300@tmr.com \
--to=davidsen@tmr.com \
--cc=bootc@bootc.net \
--cc=linux-kernel@vger.kernel.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.