linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] OMAP: UART: Enable tx wakeup bit in wer
@ 2012-01-24 13:37 Govindraj.R
  2012-01-25 19:14 ` Paul Walmsley
  2012-01-25 19:18 ` Paul Walmsley
  0 siblings, 2 replies; 7+ messages in thread
From: Govindraj.R @ 2012-01-24 13:37 UTC (permalink / raw)
  To: linux-omap
  Cc: linux-serial, Govindraj.R, Kevin Hilman, Paul Walmsley,
	Partha Basak

From: "Govindraj.R" <govindraj.raja@ti.com>

On omap3630 onwards uart wer reg has bit 7
for tx wakeup enable.

Without this bit set some uart sluggishness might be seen
while printing data on console, response is better when
enabling this bit.
Tested with Beagle XM (OMAP3630)

Cc: Kevin Hilman <khilman@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
---
But on omap3430 the bit is not available.

 arch/arm/plat-omap/include/plat/omap-serial.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h
index 9ff4444..0c22d8d 100644
--- a/arch/arm/plat-omap/include/plat/omap-serial.h
+++ b/arch/arm/plat-omap/include/plat/omap-serial.h
@@ -39,7 +39,7 @@
 /* WER = 0x7F
  * Enable module level wakeup in WER reg
  */
-#define OMAP_UART_WER_MOD_WKUP	0X7F
+#define OMAP_UART_WER_MOD_WKUP	0xFF
 
 /* Enable XON/XOFF flow control on output */
 #define OMAP_UART_SW_TX		0x04
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-09  6:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 13:37 [RFC PATCH] OMAP: UART: Enable tx wakeup bit in wer Govindraj.R
2012-01-25 19:14 ` Paul Walmsley
2012-01-25 19:18 ` Paul Walmsley
2012-03-05 20:23   ` Paul Walmsley
2012-03-06 10:05     ` Raja, Govindraj
2012-03-07  5:57       ` Paul Walmsley
2012-03-09  6:19         ` Raja, Govindraj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).