android_kernel_xiaomi_sm8350/arch/arm/mach-iop32x
Aaro Koskinen cc761beda2 ARM: 5943/1: iop: n2100: enable serial interrupt
Thecus N2100 has a jumper (J3/J4) to select whether the XINT1 interrupt
line is connected to the second UHCI controller (position J3) or to
the serial port UART (position J4). Currently, the kernel is hardcoded
to assume the J3 position, and the serial port is always being used in
polling mode.

The patch adds the IRQ autodetection flag for the serial port interrupt,
and also marks it as shared (as the driver for the second UHCI controller
will request the interrupt in any case). Now, when the jumper is set to
the J4 position, the serial port will have an interrupt line, resulting
in less CPU overhead and faster throughput.

Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-04-29 18:03:49 +01:00
..
include/mach Merge branch 'misc2' into devel 2010-02-25 22:09:41 +00:00
em7210.c iop: enable generic time 2009-10-29 11:46:55 -07:00
glantank.c iop: enable generic time 2009-10-29 11:46:55 -07:00
iq31244.c iop: enable generic time 2009-10-29 11:46:55 -07:00
iq80321.c iop: enable generic time 2009-10-29 11:46:55 -07:00
irq.c
Kconfig
Makefile
Makefile.boot
n2100.c ARM: 5943/1: iop: n2100: enable serial interrupt 2010-04-29 18:03:49 +01:00