2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/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 [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
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 spi/pl022: get rid of chipinfo dev pointer 2010-10-12 21:37:37 -06:00
pl061.h ARM: 6003/1: removing compilation warning from pl061.h 2010-03-29 17:33:33 +01:00
pl093.h ARM: PL093: Header file for PL093 SSMC PrimeCell 2009-07-30 23:22:54 +01:00
pl330.h DMA: PL330: Add dma api driver 2010-05-23 20:28:19 -07:00
serial.h amba pl011: workaround for uart registers lockup 2011-06-16 12:01:57 -07:00