* [PATCH 02/07] sh: intc: Allow triggering on both edges for ARM SoCs
@ 2011-10-12 7:21 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2011-10-12 7:21 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
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>
---
drivers/sh/intc/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/drivers/sh/intc/chip.c
+++ work/drivers/sh/intc/chip.c 2011-10-12 15:02:51.000000000 +0900
@@ -186,7 +186,7 @@ static unsigned char intc_irq_sense_tabl
!defined(CONFIG_CPU_SUBTYPE_SH7709)
[IRQ_TYPE_LEVEL_HIGH] = VALID(3),
#endif
-#if defined(CONFIG_ARCH_SH7372)
+#if defined(CONFIG_ARM) /* all recent SH-Mobile / R-Mobile ARM support this */
[IRQ_TYPE_EDGE_BOTH] = VALID(4),
#endif
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-12 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 7:21 [PATCH 02/07] sh: intc: Allow triggering on both edges for ARM SoCs Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).