Subject: interrupts on GPIOs
To: None <tech-kern@NetBSD.org>
From: Garrett D'Amore <email@example.com>
Date: 06/11/2006 18:25:07
I have a question, regarding gpios (gpiobus) and interrupts.
On AR5312, the GPIO pins can be tied to an interrupt, so that you get an
external interrupt (don't recall off hand whether edge or level
triggered). This is useful because, for example, one of the devices
that these GPIOs are used with is an external factory reset button.
The question I have is how do folks feel about the notion of adding some
kind of interrupt support/facility to the GPIO framework, as an extra
capability. Then I could have a device like "resetbutton@gpio7" or
What do folks think? Does it make sense, or should I just use a
non-GPIO framework based software approach to this problem?
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
Phone: 951 325-2134 Fax: 951 325-2191