RE: About GPIO interrupt function with sysfs

From: Lai, Mee Sim
Date: Thu Mar 10 2011 - 10:13:15 EST


Hi Grant,
Is there any update on this? thanks!

Thanks & Regards,
Michelle Lai Mee Sim
Software Platform Application Engineer
inet:82532218

-----Original Message-----
From: Tomoya MORINAGA [mailto:tomoya-linux@xxxxxxxxxxxxxxx]
Sent: Friday, March 04, 2011 8:06 AM
To: 'Grant Likely'
Cc: linux-kernel@xxxxxxxxxxxxxxx; Ewe, Kok Howg; Lai, Mee Sim; 'Toshiharu Okada'
Subject: RE: About GPIO interrupt function with sysfs

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/