[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEk6gTAxO_6z+KmBgc3ZnqoHwuKYawP1xz7B_zd3LdOL3tkLsQ@mail.gmail.com>
Date: Fri, 5 Oct 2012 13:09:13 +0200
From: Drasko DRASKOVIC <drasko.draskovic@...il.com>
To: linux-kernel@...r.kernel.org, grant.likely@...retlab.ca,
linus.walleij@...aro.org
Subject: Re: [PATCH][GPIO] Add IRQ edge setter to gpiolib
Looping GPIO maintainers...
On Fri, Oct 5, 2012 at 12:45 PM, Drasko DRASKOVIC
<drasko.draskovic@...il.com> wrote:
> Hi all,
> please find a patch that adds IRQ edge set-up mechanism to sysfs that
> can be called from the kernel.
>
> This functionality can be very useful for embedded systems, as it
> permits kernel to do GPIO set-up during boot stage. Configuration
> which defines pins behavior is often kept in NVRAM, and during boot
> stage these structures can be parsed and executed by the kernel, so
> that when user processes already find all sysfs environment ready and
> correctly set-up.
>
> While at the present it is possible to export GPIO pins to sysfs (and
> correct direction / value), it is not possible to export IRQ
> configuration as well, so this must be done in user space (most often
> via command line). this patch implements missing functionality, so
> that gpio_sysfs_set_edge() function can be called directly from the
> kernel.
>
> Best regards,
> Drasko
Download attachment "0001-PATCH-GPIO-Add-IRQ-edge-setter-to-gpiolib.patch" of type "application/octet-stream" (3518 bytes)
Powered by blists - more mailing lists