GPIO switch framework (was: Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-12-16 at 11:35 +0530, ext Trilok Soni wrote:

> OK, I found other guys (android ??) using such home brew frameworks.
> Time to write a switch framework.

To start a discussion on what such a GPIO switch framework should be
like if someone were to write it, here's a list of the kind of things
I'd like to see in it (mostly from gpio-switch.c):

* Based on or integrated in the gpiolib.

* Dynamically changeable notification callbacks in kernel.

* Sysfs notifications to userspace.

* Debouncing for the notifications to filter spurious events.

* Dynamically adjustable debounce timeouts.

* Arbitrary names for the GPIOs in sysfs instead of (or in addition to)
the gpiolib style "gpioN".

Anything else? I didn't see anything in the Android source that couldn't
be covered with this.


Jani.


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux