aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2013-05-13 04:53:52 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-06-05 04:18:22 -0400
commitd93906b869dd9444823f04ea64a585143f18a26e (patch)
tree2e4942f70ff9b816d1ec2cf7ecdecdf2d56f7984
parentb9ffcc2b12301eaf726ac24c93de01017ffea178 (diff)
ARM: shmobile: r8a7790: Configure R-Car GPIO for IRQ_TYPE_EDGE_BOTH
"gpio-rcar: Support IRQ_TYPE_EDGE_BOTH" adds support to the R-Car GPIO driver 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. As the r8a7790 SoC hardware supports this feature enable it. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7790.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index eeef5f61832e..b461d93431ed 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -45,6 +45,7 @@ static struct gpio_rcar_config r8a7790_gpio##idx##_platform_data = { \
45 .irq_base = 0, \ 45 .irq_base = 0, \
46 .number_of_pins = 32, \ 46 .number_of_pins = 32, \
47 .pctl_name = "pfc-r8a7790", \ 47 .pctl_name = "pfc-r8a7790", \
48 .has_both_edge_trigger = 1, \
48}; \ 49}; \
49 50
50R8A7790_GPIO(0); 51R8A7790_GPIO(0);