kernel-fxtec-pro1x/include/linux/amba
Shreshtha Kumar Sahu c16d51a32b amba pl011: workaround for uart registers lockup
This workaround aims to break the deadlock situation
which raises during continuous transfer of data for long
duration over uart with hardware flow control. It is
observed that CTS interrupt cannot be cleared in uart
interrupt register (ICR). Hence further transfer over
uart gets blocked.

It is seen that during such deadlock condition ICR
don't get cleared even on multiple write. This leads
pass_counter to decrease and finally reach zero. This
can be taken as trigger point to run this UART_BT_WA.

Workaround backups the register configuration, does soft
reset of UART using BIT-0 of PRCC_K_SOFTRST_SET/CLEAR
registers and restores the registers.

This patch also provides support for uart init and exit
function calls if present.

Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-16 12:01:57 -07:00
..
bus.h ARM: 6758/1: amba: support pm ops 2011-02-23 16:26:46 +00:00
clcd.h Fix common misspellings 2011-03-31 11:26:23 -03:00
kmi.h
mmci.h Fix common misspellings 2011-03-31 11:26:23 -03:00
pl08x.h ARM: PL08x: cleanup comments 2011-01-16 16:55:43 -08:00
pl022.h
pl061.h
pl093.h
pl330.h
serial.h amba pl011: workaround for uart registers lockup 2011-06-16 12:01:57 -07:00