Re: [PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-27 Thread Linus Walleij
On Fri, Jan 24, 2014 at 9:28 AM, Lee Jones wrote: >> > +/* >> > + * As edge triggers are not supported at hardware level, it is supported >> > by >> > + * software by exploiting the level trigger support in hardware. >> >> (...) >> >> All this is quite hard to understand. Maybe it's just because

Re: [PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-27 Thread Linus Walleij
On Fri, Jan 24, 2014 at 9:28 AM, Lee Jones lee.jo...@linaro.org wrote: +/* + * As edge triggers are not supported at hardware level, it is supported by + * software by exploiting the level trigger support in hardware. (...) All this is quite hard to understand. Maybe it's just because

Re: [PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-24 Thread Lee Jones
> > +/* > > + * As edge triggers are not supported at hardware level, it is supported by > > + * software by exploiting the level trigger support in hardware. > > (...) > > All this is quite hard to understand. Maybe it's just because > it's hard overall. Edge triggers are not supported by

Re: [PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-24 Thread Lee Jones
+/* + * As edge triggers are not supported at hardware level, it is supported by + * software by exploiting the level trigger support in hardware. (...) All this is quite hard to understand. Maybe it's just because it's hard overall. Edge triggers are not supported by hardware so we

Re: [PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-22 Thread Linus Walleij
On Thu, Jan 16, 2014 at 4:37 PM, wrote: > ST pin controller does not have hardware support for detecting edge > triggered interrupts, It only has level triggering support. > This patch attempts to fake up edge triggers from hw level trigger > support in software. (...) > +/* > + * Edge

Re: [PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-22 Thread Linus Walleij
On Thu, Jan 16, 2014 at 4:37 PM, srinivas.kandaga...@st.com wrote: ST pin controller does not have hardware support for detecting edge triggered interrupts, It only has level triggering support. This patch attempts to fake up edge triggers from hw level trigger support in software. (...)

[PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla ST pin controller does not have hardware support for detecting edge triggered interrupts, It only has level triggering support. This patch attempts to fake up edge triggers from hw level trigger support in software. With this facility now the gpios can be easily used

[PATCH v2 2/4] pinctrl: st: Add software edge trigger interrupt support.

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com ST pin controller does not have hardware support for detecting edge triggered interrupts, It only has level triggering support. This patch attempts to fake up edge triggers from hw level trigger support in software. With this facility now the