This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set UART baud rate using TIOCSSERIAL IOCTL on Davinci platform?

Dear all,

          I read in LSP document that UART driver support TIOCSSERIAL IOCTL to set UART device parameters, for example baud rate, however, I couldn't find any other information on how to use this IOCTL. So can you give me any suggestion on how to use to it?  Thanks a lot!