2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/arch/sh
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
..
boards sh: intc - convert voyagergx code 2007-09-21 11:57:48 +09:00
boot sh: arch/sh/boot - fix shell usage 2007-07-26 17:43:41 +09:00
cchips sh: intc - convert voyagergx code 2007-09-21 11:57:48 +09:00
configs sh: fix defconfigs for sh7751r boards 2007-08-03 10:17:47 +09:00
drivers sh: Fix Dreamcast DMA issues. 2007-07-24 13:30:55 +09:00
kernel sh: intc - add single bitmap register support 2007-09-21 11:57:47 +09:00
lib sh: Revert __xdiv64_32 size change. 2007-07-13 12:27:13 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Initial multiple-node support for SH-X3. 2007-09-21 11:57:47 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
Kconfig.debug sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
Makefile sh: Fix DSP opcode regression for SH3-DSP parts. 2007-08-21 16:56:56 +09:00