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

Arnd Bergmann arnd at arndb.de
Fri Jun 5 05:50:18 PDT 2015

On Thursday 04 June 2015 14:25:12 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.
> Signed-off-by: Y Vo <yvo at apm.com>

I think you want to use an 'interrupts' property instead of a 'gpios'
property (or possibly both), so you can pass the right polarity.


More information about the linux-arm-kernel mailing list