Thread (1 message) 1 message, 1 author, 2015-06-08

Re: [PATCH v0] gpio_keys: fix gpio key driver to proper support GIC interrupt

From: Uwe Kleine-König <hidden>
Date: 2015-06-08 06:30:52
Also in: linux-arm-kernel, linux-devicetree, linux-gpio

Hello,

On Thu, Jun 04, 2015 at 02:25:12PM +0700, Y Vo wrote:
GIC is designed to support two of trigger mechanisms - active level
high or edge rising. But in the gpio_keys driver, it tries to use both
edge rising and edge falling trigger. This patch fixes the gpio_keys
driver to request only the edge rising event when failed to configure the
interrupt.
Is it possible to fix that in the GIC driver? I.e. let it switch the
trigger direction to falling when it fired for raising?

This would require to read out the current level, not sure this is
possible?!

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help