Hi I've attached the patch that adds support RS485 communication in ColdFire serial driver. As defined in Documentation/serial/serial-rs485.txt, switching between read or write mode can be done by toggling RTS signal that is supported by ColdFire chips. I actually wrote it more than a year ago (on Linux 3.2) but haven't seen any similar patch for ColdFire microcontrollers so that I think it would be useful for someone using this serial driver for RS485 communication. It is tested on my MCF5271 board. Your comments are appreciated. Cheers -- Quoc-Viet (Kevin) Nguyen
Attachment:
0001-mcf-Add-support-RS485-in-ColdFire-serial-driver.patch
Description: Binary data