]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio-rcar: Add support for IRQ_TYPE_EDGE_BOTH
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 24 May 2013 09:47:24 +0000 (18:47 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sat, 25 May 2013 00:10:50 +0000 (09:10 +0900)
commit69749ba762ef195c04c37513b7e9a84a4c96c66a
treed8e50d38b2082bfcd2928364d6389d9a04b11ecf
parentfe472504fea790fd293d28678bb2cc7c49a2d602
gpio-rcar: Add support for IRQ_TYPE_EDGE_BOTH

As hardware support for this feature is not universal for all SoCs a flag,
has_both_edge_trigger, has been added to the platform data of the driver to
allow this feature to be enabled.

The motivation for this is to allow use of the gpio-keys driver on the
lager board which is based on the r8a7790 SoC. The V2 of this patch has been
fully exercised using that driver on that board.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/gpio/gpio-rcar.c
include/linux/platform_data/gpio-rcar.h