RE: About GPIO interrupt function with sysfs

From: Tomoya MORINAGA
Date: Thu Mar 03 2011 - 19:06:35 EST


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.

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