]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: intc - shared IPR and INTC2 controller
authorMagnus Damm <damm@igel.co.jp>
Wed, 18 Jul 2007 08:25:09 +0000 (17:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 03:18:20 +0000 (12:18 +0900)
This is the second version of the shared interrupt controller patch
for the sh architecture, fixing up handling of intc_reg_fns[].

The three main advantages with this controller over the existing
ones are:

- Both priority (ipr) and bitmap (intc2) registers are
  supported
- External pin sense configuration is supported, ie edge
  vs level triggered
- CPU/Board specific code maps 1:1 with datasheet for
  easy verification

This controller can easily coexist with the current IPR and INTC2
controllers, but the idea is that CPUs/Boards should be moved over
to this controller over time so we have a single code base to
maintain.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found