Greeting of the day...
I have seen the linux-imx-4.9.51, in that there is no support of rs485 half duplex on linux-imx4.9.51 kernel version.
Can anyone provide the patch to rs485 half duplex on this kernel version.
Thanks & Regards
I.MX UART for RS485 function is supported by imx.c , which is in path drivers/tty/serial/imx.c , which realize how to control receiving and transmitting data via CTS pin(dce) or RTS(dte).
here is imx.c source code:
imx.c\serial\tty\drivers - linux-imx - i.MX Linux kernel
Here is discussions on RS485:
Strange RS485 latency of disabling driver.
Hope these informatin can help you.
Have a nice day!