Commit 7d377b170ae0d4df7692f50c9609bea385fe87cc

Authored by Magnus Damm
Committed by Paul Mundt
1 parent d6e15eefcb

sh: intc: Allow triggering on both edges for ARM SoCs

Enable IRQ_TYPE_EDGE_BOTH on all R/SH-Mobile ARM SoCs.
This hardware feature is supported by sh7367, sh7377,
sh7372 and sh73a0.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/sh/intc/chip.c
... ... @@ -186,7 +186,7 @@
186 186 !defined(CONFIG_CPU_SUBTYPE_SH7709)
187 187 [IRQ_TYPE_LEVEL_HIGH] = VALID(3),
188 188 #endif
189   -#if defined(CONFIG_ARCH_SH7372)
  189 +#if defined(CONFIG_ARM) /* all recent SH-Mobile / R-Mobile ARM support this */
190 190 [IRQ_TYPE_EDGE_BOTH] = VALID(4),
191 191 #endif
192 192 };