Blackfin SPORT UART: fix data misses while using transmit frame sync
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 11 Jun 2009 12:23:42 +0000 (13:23 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:03 +0000 (08:51 -0700)
commite992baaa43e49d2197a94e7803c0519e5c59d0ff
tree06080aac3d9da5fea5a784cd64c4245cd23972ff
parent7fe0d50fe20b5ac447aee9b9521ef4a67ec2687a
Blackfin SPORT UART: fix data misses while using transmit frame sync

SPORT transmit frame sync (TFS) isn't used as an electrical signal during
normal SPORT UART emulation.  However, it is useful in EIA RS-485
emulation as RS-485 Transceiver Driver Enable DE strobe.

This patch configures:
TFS to be active high in order to drive an DE strobe of
an eventually connected RS-485 Transceiver.

Late frame sync mode (LATFS) gating the entire TX shift cycle.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/bfin_sport_uart.c