lkml.org 
[lkml]   [2011]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: About GPIO interrupt function with sysfs
Date
Hi Grant, 

On Friday, March 04, 2011 3:57 AM, Grant Likely wrote:
> I don't know. I'll need to dig into that code before I can
> answer. I suggest digging into it yourself to figure out the
> answer as I cannot promise that I'll get to it anytime soon.

Seeing "gpio_to_irq" of another architecture (e.g. ARM), there is significant code in it.
In addition, you can see "Not implemented, yet" description in "arch/x86/include/asm/gpio.h"
Thus, I suspect that x86 GPIO sysfs can't support interrupt function at present.

Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.


\
 
 \ /
  Last update: 2011-03-04 01:09    [from the cache]
©2003-2011 Jasper Spaans