amba pl011: platform data for reg lockup and glitch v2
authorShreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Mon, 13 Jun 2011 08:11:44 +0000 (10:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Jun 2011 19:01:58 +0000 (12:01 -0700)
commit1a7d4369b3fe1f8e5efe7f11a1c482055693852f
treea0365dc6548078275869ac1efdc982aa0471769c
parentc16d51a32bbb61ac8fd96f78b5ce2fccfe0fb4c3
amba pl011: platform data for reg lockup and glitch v2

This patch provides platform data for following
 - uart reset function to assist uart register lockup workaround

 - init/exit function to fix glitch in the tx pin in tty_open
when tty port0 is opened a glitch is seen in the tx line
of uart0. This happens in pl011_startup() when tx fifo
interrupt is provoked into asserting.
Now uart0 pins are enabled (alt function) only when init
is complete and turned back to gpio when closed.

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>
arch/arm/mach-ux500/board-mop500-pins.c
arch/arm/mach-ux500/board-mop500.c