Thanks for the help, really appreciate it.
Here is the test program I'm using http://efn.org/~rick/pub/sertest.c
It is used like this:
1. Tie TX to RX pin (or use TEST register (UART-5_UTS) to force loopback.
2. Run this in one term:
#session 1 - transmit
baud=115200
./sertest -d /dev/ttymxc4 -w -b $baud -m 50 -x 50
3. Run this in another term:
#session 2 - receive
baud=115200
./sertest -d /dev/ttymxc4 -b $baud -v
Kernel version is 3.16.0, we had been using 2.6.35 (with Freescale's changes).
Fabio, your changes above are pretty much what I did to enable it for iMX53 although I removed the dependency of CRTSCTS.
Not sure why that was in there in the first place. I'll post on linux-arm-kernel if this effort reaches a dead end. My gut feeling is that
this is a SDMA problem and not a lot of people on linux-arm-kernel are knowledgeable about SDMA.
Thanks again for the help.