android_kernel_samsung_msm8976/arch/sh/boards
Magnus Damm 48180cab3a sh: intc - convert voyagergx code
This patch converts the sh-specific voyagergx interrupt code to make use
of intc. A lot of "interesting" old cruft gets replaced with intc tables
and some simple demux code.

- All interrupt sources in the sm501 data sheet are now in the header.
- The number and order of IRQ values are disconnected from register bits.
- Interrupt sources now start from IRQ 200.
- set_irq_chained_handler() is now used to hook up the demux function.

In the future it would probably make sense to move the interrupt demuxer
into into the mfd driver, but this is probably a nice step in the right
direction until that happens.

Tested on a R2D-1 board using the serial port hooked up to the sm501.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-09-21 11:57:48 +09:00
..
dreamcast sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
hp6xx sh: Kill off dead mach.c for hp6xx. 2007-07-12 10:47:08 +09:00
landisk sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
lboxre2 sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
mpc1211 sh: Fix up PCI section mismatch warnings. 2007-07-20 13:22:47 +09:00
renesas sh: intc - convert voyagergx code 2007-09-21 11:57:48 +09:00
se sh: simplify se7780 IRQ code 2007-09-21 11:57:47 +09:00
sh03 sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
shmin sh: intc - remove redundant irq code for shmin 2007-09-21 11:57:47 +09:00
snapgear sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
superh/microdev sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
titan sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00