android_kernel_xiaomi_sm8350/include/asm-arm/arch-ixp2000
Lennert Buytenhek e4fe19819e [PATCH] ARM: 2701/1: free up ixp2000 timer 4 for the watchdog
Patch from Lennert Buytenhek

The IXP2000 has four timers, but if we're on an A-step IXP2800, timer
2 and 3 don't work.  We need two timers for timekeeping (one for the
timer interrupt and one for tracking missed jiffies), so on early
IXP2800s we have no other choice but to use timer 1 and 4 for that,
but on all other IXP2000s we'd rather leave timer 4 free since that's
the only timer we can use for the watchdog.
So, on buggy IXP2000s (i.e. the A-step IXP2800) we use timer 4 for
tracking missed jiffies, and on all all non-buggy IXP2000s (i.e.
everything but the A-step IXP2800) we use timer 2.
On a pre-production IXP2800, this patch should print these messages
on boot:
	Enabling IXP2800 erratum #25 workaround
	Unable to use IXP2000 watchdog due to IXP2800 erratum #25
On any non-buggy IXP2800 (as well as on IXP2400s) you shouldn't see
anything at all, and the watchdog should be usable again.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-06-20 18:51:07 +01:00
..
debug-macro.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
enp2611.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry-macro.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gpio.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hardware.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.h [PATCH] ARM: 2692/1: Fix compile warnings in include/asm-arm/arch-ixp2000/io.h 2005-06-03 20:52:25 +01:00
irq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irqs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixdp2x00.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixdp2x01.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixp2000-regs.h [PATCH] ARM: 2701/1: free up ixp2000 timer 4 for the watchdog 2005-06-20 18:51:07 +01:00
memory.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
param.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platform.h [PATCH] ARM: 2657/1: export ixp2000_pci_config_addr 2005-04-29 21:58:15 +01:00
system.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uncompress.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00